|
@@ -200,12 +200,16 @@ export default {
|
|
|
// prop.push(initParams(arr, "key", "value"));
|
|
|
},
|
|
|
// 删行
|
|
|
- delTableRow(prop, index) {
|
|
|
+ async delTableRow(prop, index) {
|
|
|
+
|
|
|
for (const key in this.params) {
|
|
|
- if (Array.isArray(this.params[key])) {
|
|
|
+ // if (Array.isArray(this.params[key])) {
|
|
|
+ if (key === 'puOrderItemList' || key === 'puOrderExecuteList') {
|
|
|
this.params[key].splice(index, 1);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ await this.handleGetPrice();
|
|
|
// prop.splice(index, 1);
|
|
|
},
|
|
|
// 同步子表物料
|