Browse Source

工具申请BUG的分页 BUG 修尬

master
Rui_Li 11 months ago
parent
commit
c86765cfc4
  1. 51
      src/views/modules/tooling/toolingInfo.vue

51
src/views/modules/tooling/toolingInfo.vue

@ -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> <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>
<el-form-item required="required"> <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-input v-model="dataForm.quoterName" ref="quoterName" placeholder="请选择人员" readonly style="width: 130px" ></el-input>
</el-form-item> </el-form-item>
<el-form-item required="required"> <el-form-item required="required">
@ -317,42 +317,6 @@
fixed: '', fixed: '',
columnWidth: 100 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, userId: this.$store.state.user.name,
functionId: 106001001, functionId: 106001001,
@ -574,7 +538,6 @@
}, },
/* 列表方法的回调 */ /* 列表方法的回调 */
getUserData (val) { getUserData (val) {
if(this.tagNo1==1) { if(this.tagNo1==1) {
this.dataForm.quoter = val.username this.dataForm.quoter = val.username
this.dataForm.quoterName = val.userDisplay this.dataForm.quoterName = val.userDisplay
@ -603,8 +566,7 @@
this.tagNo1 = type this.tagNo1 = type
this.$nextTick(() => { this.$nextTick(() => {
let strVal = '' let strVal = ''
if(val==2001) {
if(val==2002) {
strVal = this.dataForm.quoter strVal = this.dataForm.quoter
} }
if(val==2042) { if(val==2042) {
@ -619,29 +581,28 @@
}, },
/* 列表方法的回调 */ /* 列表方法的回调 */
getBaseData (val) { getBaseData (val) {
if (this.tagNo === 103) {
if(this.tagNo1==1) {
debugger;
if(this.tagNo == 2002) {
this.dataForm.quoter = val.username this.dataForm.quoter = val.username
this.dataForm.quoterName = val.user_display this.dataForm.quoterName = val.user_display
this.$nextTick(() => { this.$nextTick(() => {
this.$triggerInputEvent(this.$refs.quoterName); this.$triggerInputEvent(this.$refs.quoterName);
}); });
} }
if(this.tagNo1==2) {
if(this.tagNo == 2042) {
this.dataForm.tp = val.username this.dataForm.tp = val.username
this.dataForm.tpName = val.user_display this.dataForm.tpName = val.user_display
this.$nextTick(() => { this.$nextTick(() => {
this.$triggerInputEvent(this.$refs.tpName); this.$triggerInputEvent(this.$refs.tpName);
}); });
} }
if(this.tagNo1==3) {
if(this.tagNo ==2000) {
this.dataForm.purchaser = val.username this.dataForm.purchaser = val.username
this.dataForm.purchaserName = val.user_display this.dataForm.purchaserName = val.user_display
this.$nextTick(() => { this.$nextTick(() => {
this.$triggerInputEvent(this.$refs.purchaserName); this.$triggerInputEvent(this.$refs.purchaserName);
}); });
} }
}
}, },
selectionChangeHandle (val) { selectionChangeHandle (val) {
this.dataListSelections = val this.dataListSelections = val

Loading…
Cancel
Save