linwenxin il y a 1 an
Parent
commit
1fc1ab14cf

+ 6 - 5
src/views/workOrder/workOrderPool/detailModule/SettleAccounts/index.vue

@@ -375,7 +375,7 @@ export default {
                   value={row[column.columnAttributes.prop]}
                   onInput={(val) => { row[column.columnAttributes.prop] = val }}
                   onChange={(val) => {
-                    settleNum = ""
+                    row.settleNum = ""
                     if (val) {
                       var data = this.gongqt.filter(item => item.type === row.type).find(item => item.label == val)
                       row.normAmount = data.normAmount
@@ -567,10 +567,11 @@ export default {
       return list.filter(item => (
         item.type == row.type &&
         item.parentCategoryId == row.parentCategoryId &&
-        item.categoryId == row.categoryId &&
-        !~this.formData.normList.map(v => `${v.type}_${v.parentCategoryId}_${v.categoryId}_${v.label}`).filter(v => (
-          v != `${row.type}_${row.parentCategoryId}_${row.categoryId}_${row.label}`
-        )).indexOf(`${item.type}_${item.parentCategoryId}_${item.categoryId}_${item.label}`)
+        item.categoryId == row.categoryId 
+        // &&
+        // !~this.formData.normList.map(v => `${v.type}_${v.parentCategoryId}_${v.categoryId}_${v.label}`).filter(v => (
+        //   v != `${row.type}_${row.parentCategoryId}_${row.categoryId}_${row.label}`
+        // )).indexOf(`${item.type}_${item.parentCategoryId}_${item.categoryId}_${item.label}`)
       ))
     },
     queding() {