|
@@ -200,7 +200,7 @@
|
|
|
<div class="accounts-list" v-if="type=='配送'">
|
|
<div class="accounts-list" v-if="type=='配送'">
|
|
|
运费
|
|
运费
|
|
|
<div class="accounts-center">
|
|
<div class="accounts-center">
|
|
|
- <el-input placeholder="请填写运费,留空免运费" v-model="freight"></el-input>
|
|
|
|
|
|
|
+ <el-input @input="freightInput" placeholder="请填写运费,留空免运费" v-model="freight"></el-input>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="accounts-list">
|
|
<div class="accounts-list">
|
|
@@ -319,13 +319,13 @@ export default {
|
|
|
remark:'',//备注
|
|
remark:'',//备注
|
|
|
printSelectList:'',
|
|
printSelectList:'',
|
|
|
orderMsg:'',
|
|
orderMsg:'',
|
|
|
|
|
+ number: 0,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
|
this.$refs['commodityInput'].focus();
|
|
this.$refs['commodityInput'].focus();
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.getAllList()
|
|
this.getAllList()
|
|
@@ -570,6 +570,7 @@ export default {
|
|
|
totalMoney= totalMoney + ele.money
|
|
totalMoney= totalMoney + ele.money
|
|
|
})
|
|
})
|
|
|
this.totalMoney = totalMoney;
|
|
this.totalMoney = totalMoney;
|
|
|
|
|
+ this.number = this.totalMoney
|
|
|
},
|
|
},
|
|
|
/**关闭选择扎支弹窗-初始化**/
|
|
/**关闭选择扎支弹窗-初始化**/
|
|
|
escFun(){
|
|
escFun(){
|
|
@@ -691,6 +692,9 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
+ freightInput(){
|
|
|
|
|
+ this.totalMoney = Number(this.freight) + this.number
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|