소스 검색

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

liujt 6 달 전
부모
커밋
1f32de0c8f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/purchasingManage/purchaseOrder/components/inventoryTable.vue

+ 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();
         // }
       },
       // 清空表格