|
@@ -1,8 +1,10 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view>
|
|
|
|
|
- <button @click="handleSelct('kh')">选择客户</button>
|
|
|
|
|
- <button @click="handleSelct('jz')">选择家政</button>
|
|
|
|
|
|
|
+ <view class="phone-navBar-box">
|
|
|
|
|
+ <view @click="goUpPage" class="nav-bar-icon"></view>
|
|
|
|
|
+ <text class="nav-bar-title">新增三方合同</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <button @click="handleSelct('kh')">选择客户</button>
|
|
|
|
|
+ <button @click="handleSelct('jz')">选择家政</button>
|
|
|
<!-- 客户 -->
|
|
<!-- 客户 -->
|
|
|
<selectKh ref="khRef"></selectKh>
|
|
<selectKh ref="khRef"></selectKh>
|
|
|
<!-- 家政 -->
|
|
<!-- 家政 -->
|
|
@@ -21,10 +23,10 @@
|
|
|
import * as httpApi from "@/api/sanfang.js"
|
|
import * as httpApi from "@/api/sanfang.js"
|
|
|
import selectKh from "./components/selectKh.vue"
|
|
import selectKh from "./components/selectKh.vue"
|
|
|
import selectJz from "./components/selectJz.vue"
|
|
import selectJz from "./components/selectJz.vue"
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
const khRef = ref(null)
|
|
const khRef = ref(null)
|
|
|
const jzRef = ref(null)
|
|
const jzRef = ref(null)
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
function handleSelct(code) {
|
|
function handleSelct(code) {
|
|
|
if (code == 'kh') {
|
|
if (code == 'kh') {
|
|
|
khRef.value.handleShow();
|
|
khRef.value.handleShow();
|
|
@@ -33,9 +35,11 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+ function goUpPage() {
|
|
|
|
|
+ uni.navigateBack()
|
|
|
|
|
+ }
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
<style>
|
|
|
|
|
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|