소스 검색

Merge branch 'master' into 测试

lxf 1 년 전
부모
커밋
a1ee6d3ded
2개의 변경된 파일10개의 추가작업 그리고 39개의 파일을 삭제
  1. 0 37
      src/views/group/finance/purchase-warehousing/index.vue
  2. 10 2
      src/views/production/operation/batching/quick.vue

+ 0 - 37
src/views/group/finance/purchase-warehousing/index.vue

@@ -178,43 +178,6 @@ const config = computed(() => {
         width: 120,
       },
     },
-    // {
-    //   attrs: {
-    //     label: "未税金额",
-    //     prop: "dimensionality",
-    //     width: 160,
-    //   },
-    //   render(val) {
-    //     return proxy.moneyFormat(val);
-    //   },
-    // },
-    // {
-    //   attrs: {
-    //     label: "税额",
-    //     prop: "dimensionality",
-    //     width: 160,
-    //   },
-    //   render(val) {
-    //     return proxy.moneyFormat(val);
-    //   },
-    // },
-    // {
-    //   attrs: {
-    //     label: "价税合计金额",
-    //     prop: "dimensionality",
-    //     width: 160,
-    //   },
-    //   render(val) {
-    //     return proxy.moneyFormat(val);
-    //   },
-    // },
-    // {
-    //   attrs: {
-    //     label: "税率",
-    //     prop: "dimensionality",
-    //     width: 160,
-    //   },
-    // },
   ];
 });
 const getList = async (req, status) => {

+ 10 - 2
src/views/production/operation/batching/quick.vue

@@ -148,12 +148,20 @@ const clickCancel = () => {
 };
 onMounted(() => {
   proxy.post("/stockPreparation/outBomList", formData.data).then((res) => {
-    inOutStorageBomList.value = Object.freeze(res);
+    if (res && res.length > 0) {
+      inOutStorageBomList.value = Object.freeze(res.filter((item) => !["吊牌", "不干胶"].includes(item.classifyName)));
+    } else {
+      inOutStorageBomList.value = [];
+    }
   });
 });
 const changeDepartment = () => {
   proxy.post("/stockPreparation/outBomList", formData.data).then((res) => {
-    inOutStorageBomList.value = Object.freeze(res);
+    if (res && res.length > 0) {
+      inOutStorageBomList.value = Object.freeze(res.filter((item) => !["吊牌", "不干胶"].includes(item.classifyName)));
+    } else {
+      inOutStorageBomList.value = [];
+    }
   });
 };
 const statisticalQuantity = () => {