diff --git a/src/views/modules/tooling/toolingInfo.vue b/src/views/modules/tooling/toolingInfo.vue index d0895c2..df4c8c7 100644 --- a/src/views/modules/tooling/toolingInfo.vue +++ b/src/views/modules/tooling/toolingInfo.vue @@ -127,7 +127,7 @@ - 报价专员 + 报价专员 @@ -317,42 +317,6 @@ fixed: '', columnWidth: 100 }, - // { - // userId: this.$store.state.user.name, - // functionId: 106001001, - // serialNumber: '106001001Table1BuNo', - // tableId: "106001001Table1", - // tableName: "项目信息主表", - // columnProp: "buNo", - // headerAlign: "center", - // align: "left", - // columnLabel: "BU编码", - // columnHidden: false, - // columnImage: false, - // columnSortable: false, - // sortLv: 0, - // status: true, - // fixed: '', - // columnWidth: 100 - // }, - // { - // userId: this.$store.state.user.name, - // functionId: 106001001, - // serialNumber: '106001001Table1BuDesc', - // tableId: "106001001Table1", - // tableName: "项目信息主表", - // columnProp: "buDesc", - // headerAlign: "center", - // align: "left", - // columnLabel: "BU名称", - // columnHidden: false, - // columnImage: false, - // columnSortable: false, - // sortLv: 0, - // status: true, - // fixed: '', - // columnWidth: 100 - // }, { userId: this.$store.state.user.name, functionId: 106001001, @@ -574,7 +538,6 @@ }, /* 列表方法的回调 */ getUserData (val) { - if(this.tagNo1==1) { this.dataForm.quoter = val.username this.dataForm.quoterName = val.userDisplay @@ -603,8 +566,7 @@ this.tagNo1 = type this.$nextTick(() => { let strVal = '' - - if(val==2001) { + if(val==2002) { strVal = this.dataForm.quoter } if(val==2042) { @@ -619,28 +581,27 @@ }, /* 列表方法的回调 */ getBaseData (val) { - if (this.tagNo === 103) { - if(this.tagNo1==1) { - this.dataForm.quoter = val.username - this.dataForm.quoterName = val.user_display - this.$nextTick(() => { - this.$triggerInputEvent(this.$refs.quoterName); - }); - } - if(this.tagNo1==2) { - this.dataForm.tp = val.username - this.dataForm.tpName = val.user_display - this.$nextTick(() => { - this.$triggerInputEvent(this.$refs.tpName); - }); - } - if(this.tagNo1==3) { - this.dataForm.purchaser = val.username - this.dataForm.purchaserName = val.user_display - this.$nextTick(() => { - this.$triggerInputEvent(this.$refs.purchaserName); - }); - } + debugger; + if(this.tagNo == 2002) { + this.dataForm.quoter = val.username + this.dataForm.quoterName = val.user_display + this.$nextTick(() => { + this.$triggerInputEvent(this.$refs.quoterName); + }); + } + if(this.tagNo == 2042) { + this.dataForm.tp = val.username + this.dataForm.tpName = val.user_display + this.$nextTick(() => { + this.$triggerInputEvent(this.$refs.tpName); + }); + } + if(this.tagNo ==2000) { + this.dataForm.purchaser = val.username + this.dataForm.purchaserName = val.user_display + this.$nextTick(() => { + this.$triggerInputEvent(this.$refs.purchaserName); + }); } }, selectionChangeHandle (val) {