Przeglądaj źródła

修改出库添加弹框

huang_an 2 lat temu
rodzic
commit
44aabd3526

+ 3 - 3
src/views/bpm/outgoingManagement/components/AssetsDialog.vue

@@ -234,13 +234,13 @@
             width="90"
           ></el-table-column>
           <el-table-column
-            v-if="dimension == 4"
+            v-if="dimension == 4 || dimension == 3"
             prop="weight"
             label="重量"
             min-width="120"
           ></el-table-column>
           <el-table-column
-            v-if="dimension == 4"
+            v-if="dimension == 4 || dimension == 3"
             prop="weightUnit"
             label="重量单位"
             min-width="120"
@@ -406,6 +406,7 @@
               assetCode: item.code
             };
           });
+          this.total = res.count;
           return this.tableData;
         } else if (e == 4) {
           res = await outin.getMaterielDetails(params);
@@ -425,7 +426,6 @@
             return { ...item, oid: item.id, assetCode: item.code };
           });
         }
-
         if (res) {
           this.total = res.count;
           // this.selectionList = deepClone(this.warehousingMaterialList);