|
@@ -112,7 +112,7 @@
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
style="margin-bottom: 20px"
|
|
style="margin-bottom: 20px"
|
|
|
:prop="'datasource.' + scope.$index + '.singlePrice'"
|
|
:prop="'datasource.' + scope.$index + '.singlePrice'"
|
|
|
- :rules="[{ required: true, message: '请输入单价', trigger: 'blur' }]"
|
|
|
|
|
|
|
+
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="scope.row.singlePrice"
|
|
v-model="scope.row.singlePrice"
|
|
@@ -450,7 +450,6 @@
|
|
|
width: 150,
|
|
width: 150,
|
|
|
prop: 'singlePrice',
|
|
prop: 'singlePrice',
|
|
|
label: '单价',
|
|
label: '单价',
|
|
|
- headerSlot: 'headerTotalCount',
|
|
|
|
|
slot: 'singlePrice',
|
|
slot: 'singlePrice',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
@@ -647,7 +646,7 @@
|
|
|
'totalPrice',
|
|
'totalPrice',
|
|
|
this.getTotalPrice(row).toFixed(2)
|
|
this.getTotalPrice(row).toFixed(2)
|
|
|
);
|
|
);
|
|
|
- this.$set(this.form.datasource[index], 'discountSinglePrice', val);
|
|
|
|
|
|
|
+ this.$set(this.form.datasource[index], 'discountSinglePrice', row.singlePrice);
|
|
|
this.$set(
|
|
this.$set(
|
|
|
this.form.datasource[index],
|
|
this.form.datasource[index],
|
|
|
'discountTotalPrice',
|
|
'discountTotalPrice',
|