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) }) }, /* 列表方法的回调 */