lxf 1 year ago
parent
commit
803ff9d932
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/process/purchase.vue

+ 2 - 2
src/components/process/purchase.vue

@@ -98,7 +98,7 @@
             </el-table-column>
             <el-table-column label="可采购数量" width="100">
               <template #default="{ row }">
-                <span v-if="!route.query.processType">
+                <span v-if="route.query.processType && route.query.processType != 30">
                   {{ Number(Math.round(row.quantity - row.purchasedQuantity - row.frozenQuantity)) }}
                 </span>
                 <span v-else>
@@ -496,7 +496,7 @@ const handleSubmit = async (flag) => {
               return false;
             }
           }
-        } else {
+        } else if (route.query.processType == 30) {
           for (let i = 0; i < formData.data.purchaseBomList.length; i++) {
             if (
               Number(