From b61205adfb447bb868a454b971aa90c3d82034de Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 21 十一月 2023 14:52:13 +0800
Subject: [PATCH] #
---
pages/business/cstmr/modiCsmter.vue | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/pages/business/cstmr/modiCsmter.vue b/pages/business/cstmr/modiCsmter.vue
index e32513b..a426875 100644
--- a/pages/business/cstmr/modiCsmter.vue
+++ b/pages/business/cstmr/modiCsmter.vue
@@ -45,17 +45,18 @@
</uni-forms-item>
- <!-- <uni-forms-item label="璐熻矗浜�" required name="director">
- <view @click="autoLoad('user','')">
- <uni-combox :candidates="directors" placeholder="璇烽�夋嫨璐熻矗浜�"
- v-model="baseFormData.director" @input="autoLoad('user',baseFormData.director)"></uni-combox>
- </view>
- </uni-forms-item> -->
+
<uni-forms-item label="瀹㈡埛鑱旂郴浜�" required name="contacts">
<uni-easyinput v-model="baseFormData.contacts" placeholder="璇疯緭鍏ュ鎴疯仈绯讳汉" />
</uni-forms-item>
<uni-forms-item label="鐢佃瘽" required name="tel">
<uni-easyinput v-model="baseFormData.tel" placeholder="璇疯緭鍏ュ鎴风數璇�" />
+ </uni-forms-item>
+ <uni-forms-item label="璐熻矗浜�" name="director">
+ <view @click="autoLoad('user','')">
+ <uni-combox :candidates="directors" placeholder="璇烽�夋嫨璐熻矗浜�"
+ v-model="baseFormData.director" @input="autoLoad('user',baseFormData.director)"></uni-combox>
+ </view>
</uni-forms-item>
<uni-forms-item label="澶囨敞" name="remarks">
<uni-easyinput type="textarea" v-model="baseFormData.remarks" placeholder="璇疯緭鍏ュ娉�" />
@@ -149,7 +150,7 @@
},
director: {
rules: [{
- required: true,
+ required: false,
errorMessage: '璇疯緭鍏ヨ礋璐d汉',
}]
},
@@ -325,7 +326,7 @@
success(result) {
var res = result.data
if (res.code === 200) {
- uni.navigateBack()
+ uni.navigateBack({delta:2})
} else if (res.code === 403) {
uni.showToast({title: res.msg, icon: "none", position: 'top'})
setTimeout(() => {
--
Gitblit v1.9.1