|
@@ -258,6 +258,7 @@
|
|
|
prop="unitContractPrice"
|
|
|
>
|
|
|
<ws-input
|
|
|
+ @input="pricechange"
|
|
|
v-model="deptBudgetList.unitContractPrice"
|
|
|
placeholder="请输入合同单价"
|
|
|
maxlength="100"
|
|
@@ -621,6 +622,7 @@ export default {
|
|
|
deptBudgetList: {
|
|
|
deliverType: '1',
|
|
|
finalTradingVolume: 0,
|
|
|
+ totalContractPrice:0,
|
|
|
contractGoodsInfo: {
|
|
|
goodsName: '',
|
|
|
},
|
|
@@ -1319,6 +1321,7 @@ export default {
|
|
|
this.deptBudgetList = {
|
|
|
deliverType: '1',
|
|
|
finalTradingVolume: 0,
|
|
|
+ totalContractPrice:0,
|
|
|
contractGoodsInfo: {
|
|
|
goodsName: '',
|
|
|
},
|
|
@@ -1425,6 +1428,9 @@ export default {
|
|
|
weightchange(e) {
|
|
|
this.deptBudgetList.finalTradingVolume = e
|
|
|
},
|
|
|
+ pricechange(e) {
|
|
|
+ this.deptBudgetList.totalContractPrice = e*this.deptBudgetList.weight
|
|
|
+ },
|
|
|
// 编辑
|
|
|
editClick(item, index) {
|
|
|
const map = JSON.parse(JSON.stringify(item))
|