Explorar o código

fix(采购订单): 修复删除行后未重新排序和更新总价格

liujt hai 6 meses
pai
achega
1f32de0c8f

+ 2 - 1
src/views/purchasingManage/purchaseOrder/components/inventoryTable.vue

@@ -1398,7 +1398,8 @@
         // let index = this.form.datasource.findIndex((n) => n.key == row.key);
         // if (index !== -1) {
         //   this.form.datasource.splice(index, 1);
-        //   this.setSort();
+        this.setSort();
+        this.changeAll();
         // }
       },
       // 清空表格