From 8390603242ee0fd82946e5f7fb29ae7d94a7c3d4 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 29 五月 2026 15:14:50 +0800
Subject: [PATCH] 采购订单产品展示是否已质检。
---
src/views/procurementManagement/procurementLedger/index.vue | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 525c41c..86fb433 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -120,6 +120,16 @@
</el-tag>
</template>
</el-table-column>
+ <el-table-column label="鏄惁璐ㄦ"
+ width="100px"
+ align="center">
+ <template #default="scope">
+ <el-tag :type="getCheckedType(scope.row.isChecked)"
+ size="small">
+ {{ scope.row.isChecked ? '鏄�' : '鍚�' }}
+ </el-tag>
+ </template>
+ </el-table-column>
<el-table-column label="绋庣巼(%)"
prop="taxRate" />
<el-table-column label="鍚◣鍗曚环(鍏�)"
@@ -865,6 +875,14 @@
0: "info",
1: "warning",
2: "success",
+ };
+ return typeMap[status] || "info";
+ };
+ // 鑾峰彇鏄惁璐ㄦ鏍囩绫诲瀷
+ const getCheckedType = status => {
+ const typeMap = {
+ 0: "info",
+ 1: "success",
};
return typeMap[status] || "info";
};
@@ -2015,7 +2033,8 @@
canvas.width - horizontalPad * 2
);
const textBlockHeight = lines.length * lineHeight;
- canvas.height = padTop + QR_SIZE + gapAfterQr + textBlockHeight + bottomPad;
+ canvas.height =
+ padTop + QR_SIZE + gapAfterQr + textBlockHeight + bottomPad;
ctx.fillStyle = "#ffffff";
ctx.fillRect(0, 0, canvas.width, canvas.height);
--
Gitblit v1.9.3