|
|
|
@ -127,7 +127,7 @@ |
|
|
|
<dict-data-select :site="$store.state.user.site" v-model="dataForm.department" dict-type="tool_application_department" style="width: 130px"></dict-data-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item required="required"> |
|
|
|
<span slot="label" style="" @click="getBaseList(2001,1)"><a herf="#">报价专员</a></span> |
|
|
|
<span slot="label" style="" @click="getBaseList(2002,1)"><a herf="#">报价专员</a></span> |
|
|
|
<el-input v-model="dataForm.quoterName" ref="quoterName" placeholder="请选择人员" readonly style="width: 130px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item required="required"> |
|
|
|
@ -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,29 +581,28 @@ |
|
|
|
}, |
|
|
|
/* 列表方法的回调 */ |
|
|
|
getBaseData (val) { |
|
|
|
if (this.tagNo === 103) { |
|
|
|
if(this.tagNo1==1) { |
|
|
|
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.tagNo1==2) { |
|
|
|
if(this.tagNo == 2042) { |
|
|
|
this.dataForm.tp = val.username |
|
|
|
this.dataForm.tpName = val.user_display |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$triggerInputEvent(this.$refs.tpName); |
|
|
|
}); |
|
|
|
} |
|
|
|
if(this.tagNo1==3) { |
|
|
|
if(this.tagNo ==2000) { |
|
|
|
this.dataForm.purchaser = val.username |
|
|
|
this.dataForm.purchaserName = val.user_display |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$triggerInputEvent(this.$refs.purchaserName); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
selectionChangeHandle (val) { |
|
|
|
this.dataListSelections = val |
|
|
|
|