Commit c9899dc2 authored by dcy's avatar dcy

佣金表单验证bug修复

parent 61f093e7
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item :label="$t('客户名称')" prop="customerId"> <el-form-item :label="$t('客户名称')" prop="customerId">
<div style="display: flex"> <div style="display: flex">
<el-input readonly="readonly" :placeholder="$t('请输入选择客户')" v-model="customerName"></el-input> <el-input :disabled="true" :placeholder="$t('请输入选择客户')" v-model="customerName"></el-input>
<img v-if="$route.params.dictId == 0" style="width: 40px;height: 40px;margin-left: 40px;" src="@/assets/images/phonebook.png" class="phonebook" @click="customerNameShow= true" /> <img v-if="$route.params.dictId == 0" style="width: 40px;height: 40px;margin-left: 40px;" src="@/assets/images/phonebook.png" class="phonebook" @click="customerNameShow= true" />
</div> </div>
<!-- <el-select--> <!-- <el-select-->
...@@ -623,7 +623,7 @@ export default { ...@@ -623,7 +623,7 @@ export default {
if((val == 1 || val == 2)){ if((val == 1 || val == 2)){
let index = this.weightList.findIndex(item => item.id == 7); let index = this.weightList.findIndex(item => item.id == 7);
this.mingServantFrom.forEach(item =>{ this.mingServantFrom.forEach(item =>{
item.refundUnit = parseInt(this.weightList[index].id); item.refundUnit = parseInt(this.weightList[index]. id);
}) })
this.mingServantAnddarkServant.forEach(item =>{ this.mingServantAnddarkServant.forEach(item =>{
item.refundUnit =parseInt(this.weightList[index].id); item.refundUnit =parseInt(this.weightList[index].id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment