From a7dd838394ad36cadb74d6bdd379d4d098ab8d8c Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期五, 28 三月 2025 09:13:57 +0800 Subject: [PATCH] 外购件检验提交 --- src/views/business/rawMaterialInspection/index.vue | 34 +++++++++++++++++++++++----------- 1 files changed, 23 insertions(+), 11 deletions(-) diff --git a/src/views/business/rawMaterialInspection/index.vue b/src/views/business/rawMaterialInspection/index.vue index 1025c82..05311d4 100644 --- a/src/views/business/rawMaterialInspection/index.vue +++ b/src/views/business/rawMaterialInspection/index.vue @@ -262,7 +262,16 @@ } } }, - { label: '鎶ユ绫诲瀷', prop: 'inspectionType' }, + { + label: '鎶ユ绫诲瀷', prop: 'inspectionType', dataType: 'tag', + formatType: (params) => { + if (params == '鍘熻緟鏂�') { + return 'success' + } else { + return 'warning' + } + } + }, { label: '璁㈠崟鍙�', prop: 'orderNo' }, { label: '鎶佃揪鐨勯噰璐暟閲�', prop: 'qtyArrived', width: '140px', }, { label: '鎵瑰彿', prop: 'updateBatchNo' }, @@ -316,16 +325,16 @@ return this.tabIndex === 0 }, }, - { - name: '鎾ら攢鎶ユ', - type: 'text', - clickFun: (row) => { - this.cancelDeclare(row); - }, - showHide: (row) => { - return this.tabIndex === 1 - }, - }, + // { + // name: '鎾ら攢鎶ユ', + // type: 'text', + // clickFun: (row) => { + // this.cancelDeclare(row); + // }, + // showHide: (row) => { + // return this.tabIndex === 1 + // }, + // }, ] } ], @@ -535,6 +544,9 @@ buyUnitMeas: [ { required: false, message: '璇峰~鍐欏崟浣�', trigger: 'blur' } ], + inspectionType: [ + { required: true, message: '璇峰~鍐欐姤妫�绫诲瀷', trigger: 'change' } + ], }, tabList: [ { -- Gitblit v1.9.3