From 557c2b3c50027c2eb6fb9f7e562fc2c7b2b38203 Mon Sep 17 00:00:00 2001
From: quxin <592870522@qq.com>
Date: 星期五, 04 九月 2026 11:37:17 +0800
Subject: [PATCH] 修复: 生产领料后的退料应该是选择领料的记录,不是选择库存的记录(同时库存数据需要根据领料退料变动,比如库存100,领用80,然后领用80中退料30,库存应由原来的20变成50)
---
src/views/wls/arrivalnotice/modules/line-list.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/views/wls/arrivalnotice/modules/line-list.vue b/src/views/wls/arrivalnotice/modules/line-list.vue
index 29a152a..be40c57 100644
--- a/src/views/wls/arrivalnotice/modules/line-list.vue
+++ b/src/views/wls/arrivalnotice/modules/line-list.vue
@@ -10,7 +10,7 @@
import { useVbenModal } from '@vben/common-ui';
-import { Button, message } from 'ant-design-vue';
+import { Button, message, Tag } from 'ant-design-vue';
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
import {
@@ -72,7 +72,7 @@
/** 璺宠浆 IQC 妫�楠屽崟璇︽儏 */
function handleOpenIqc(row: MesWmArrivalNoticeLineApi.ArrivalNoticeLine) {
if (row.iqcId) {
- router.push({ path: '/mes/qc/iqc', query: { id: row.iqcId } });
+ router.push({ name: 'MesQcIqc', query: { id: row.iqcId } });
}
}
@@ -133,6 +133,13 @@
</Button>
<span v-else>-</span>
</template>
+ <template #iqcCheckResult="{ row }">
+ <Tag v-if="row.iqcCheckResult === 1" color="success">鍚堟牸</Tag>
+ <Tag v-else-if="row.iqcCheckResult === 2" color="warning">鐗归噰</Tag>
+ <Tag v-else-if="row.iqcCheckResult === 3" color="error">涓嶅悎鏍奸��璐�</Tag>
+ <Tag v-else-if="row.iqcCheckResult === 4" color="error">涓嶅悎鏍兼姤搴�</Tag>
+ <span v-else>-</span>
+ </template>
<template #actions="{ row }">
<TableAction
:actions="[
--
Gitblit v1.9.3