Commit 17c15480 by zhangxw

驻店负责人下拉框添加删除功能

1 parent d1f55f8c
......@@ -17,7 +17,7 @@
</el-select>
</div>
<div slot="staffUuid">
<el-select v-model="editForm['staffUuid']" @change="handleResidentManageChange">
<el-select v-model="editForm['staffUuid']" clearable @change="handleResidentManageChange">
<el-option v-for="(item, index) in baseData.residentManagerList" :key="index" :label="item.staffName" :value="item.staffUuid"></el-option>
</el-select>
</div>
......@@ -331,7 +331,7 @@ export default {
}
})
// 驻店负责人参数
if (params?.staffUuid) {
// if (params?.staffUuid) {
let obj = this.baseData?.residentManagerList?.find(val => val.staffUuid == params.staffUuid)
params.residentManager = {
userId: params.staffUuid,
......@@ -340,7 +340,7 @@ export default {
userNum: obj?.staffPhone
}
delete params.staffUuid
}
// }
this.$confirm('<strong>是否确认提交?</strong> <div>提交客户开通申请,进入开店审核,审核通过后将为您自动' + (this.routeInfo.editType == 'add' ? '创建' : '编辑') + '客户</div> ', '提示', {
dangerouslyUseHTMLString: true,
confirmButtonText: '确定',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!