From 8d8ed22ad728f26d63f209f58055bf6c099eca37 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Wed, 16 Apr 2025 09:18:58 +0800 Subject: [PATCH] 2025-04-15 --- src/views/modules/test/testSoBom/testTable.vue | 2 +- src/views/modules/tooling/toolingInfo.vue | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/modules/test/testSoBom/testTable.vue b/src/views/modules/test/testSoBom/testTable.vue index 474babd..643074b 100644 --- a/src/views/modules/test/testSoBom/testTable.vue +++ b/src/views/modules/test/testSoBom/testTable.vue @@ -422,7 +422,7 @@ export default { this.testSoBom.componentPartNo = row.partNo; this.testSoBom.partDesc = row.partDesc; this.testSoBom.umId = row.umId; - this.testSoBom.unitCost = data.rows && data.rows.length === 1?data.rows[0].inventoryValue:0; + this.testSoBom.unitCost = (data.rows && data.rows.length === 1)?data.rows[0].inventoryValue:0; this.testSoBom.status = row.status; this.partDialogFlag = false; }else { diff --git a/src/views/modules/tooling/toolingInfo.vue b/src/views/modules/tooling/toolingInfo.vue index df4c8c7..b055197 100644 --- a/src/views/modules/tooling/toolingInfo.vue +++ b/src/views/modules/tooling/toolingInfo.vue @@ -522,7 +522,7 @@ this.tagNo1 = type this.$nextTick(() => { let strVal = '' - + let conSql = " and b.site = '" + this.$store.state.user.site + "'"; if(type==1) { strVal = this.dataForm.quoter } @@ -532,8 +532,7 @@ if(type==3) { strVal = this.dataForm.purchaser } - - this.$refs.userList.init(this.searchData.site,'%%', strVal) + this.$refs.userList.init(this.searchData.site,'%%', strVal,conSql) }) }, /* 列表方法的回调 */