采购台账的对应产品选择质检时,该质检产品手动入库按钮需要置灰,不质检的产品则可以点击手动入库
已修改1个文件
4 ■■■■ 文件已修改
src/views/procurementManagement/procurementLedger/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/procurementManagement/procurementLedger/index.vue
@@ -232,7 +232,7 @@
            </el-button>
            <el-button link
                       type="primary"
                       :disabled="scope.row.approvalStatus !== 3 || scope.row.stockInStatus === '完全入库'"
                       :disabled="scope.row.approvalStatus !== 3 || scope.row.stockInStatus === '完全入库' || scope.row.allNeedQualityCheck"
                       @click="handleStockIn(scope.row)">入库
            </el-button>
            <el-button link
@@ -1415,7 +1415,7 @@
    try {
      proxy.$modal.loading("正在加载产品信息...");
      const res = await productList({ salesLedgerId: row.id, type: 2 });
      const res = await productList({ salesLedgerId: row.id, type: 2, isChecked: true});
      if (res.code === 200) {
        const productDetails = (res.data || []).map(item => {
          const pendingInboundQuantity = Number(item.pendingInboundQuantity || 0);