|
|
|
@ -227,27 +227,27 @@
|
|
|
|
|
>{{item.dictValue}} |
|
|
|
|
<span v-if="index===0||index===6||index===2||index===4"> 件数: |
|
|
|
|
<el-input type="number" v-model="item.f" :disabled = "this.form?.freightMark?.indexOf(item.dictKey) == -1" |
|
|
|
|
@change="textbox($event,index)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
@change="textbox($event,index,1)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="index===1">公里: |
|
|
|
|
<el-input type="text" v-model="item.a" :disabled = "this.form?.freightMark?.indexOf(item.dictKey) == -1" |
|
|
|
|
@change="textbox($event,index)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
@change="textbox($event,index,2)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="index===3">距离: |
|
|
|
|
<el-input type="number" v-model="item.b" :disabled = "this.form?.freightMark?.indexOf(item.dictKey) == -1" |
|
|
|
|
@change="textbox($event,index)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
@change="textbox($event,index,3)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="index===5">人数: |
|
|
|
|
<el-input type="number" v-model="item.c" :disabled = "this.form?.freightMark?.indexOf(item.dictKey) == -1" |
|
|
|
|
@change="textbox($event,index)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
@change="textbox($event,index,4)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="index===0">楼层: |
|
|
|
|
<el-input type="number" v-model="item.d" :disabled = "this.form?.freightMark?.indexOf(item.dictKey) == -1" |
|
|
|
|
@change="textbox($event,index)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
@change="textbox($event,index,5)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="item">预计费用: |
|
|
|
|
<el-input type="number" v-model="item.e" :disabled = "this.form?.freightMark?.indexOf(item.dictKey) == -1" |
|
|
|
|
@change="textbox($event,index)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
@change="textbox($event,index,6)" style="width: 10%;border:none; border-bottom:2px solid #eee;"/> |
|
|
|
|
</span> |
|
|
|
|
<!-- <el-input type="number" v-model="item.remark" placeholder="请输入费用" :disabled = "this.form?.freightMark?.indexOf(item.dictKey) == -1"--> |
|
|
|
|
<!-- @change="textbox($event,index)" style="width: 50%;border:none; border-bottom:2px solid #eee;"/>--> |
|
|
|
@ -347,6 +347,8 @@ export default {
|
|
|
|
|
//增值表单输入框对象 |
|
|
|
|
addvalue:{}, |
|
|
|
|
costList:[], //字典 |
|
|
|
|
//增值服务对象 |
|
|
|
|
addvalueObj:{}, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted () { |
|
|
|
@ -402,13 +404,10 @@ export default {
|
|
|
|
|
// this.checkAll = checkedCount === this.cities.length; |
|
|
|
|
// this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length; |
|
|
|
|
}, |
|
|
|
|
textbox(e,index) { |
|
|
|
|
console.log("e,index",e,index); |
|
|
|
|
textbox(e,index,a) { |
|
|
|
|
console.log("e,index",e,index,a); |
|
|
|
|
this.costList[index+1] = e; |
|
|
|
|
|
|
|
|
|
if (index===1){ |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
console.log(">>>>>>>",this.costList); |
|
|
|
|
}, |
|
|
|
|
//数据字典数据获取 |
|
|
|
|
getDictionary(){ |
|
|
|
|