|
|
|
@ -193,7 +193,8 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item prop="trackerName"> |
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(103,1)"><a herf="#">跟单员</a></span> |
|
|
|
<!-- <span style="cursor: pointer" slot="label" @click="getBaseList(103,1)"><a herf="#">跟单员</a></span>--> |
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(2000)"><a herf="#">跟单员</a></span> |
|
|
|
<el-input v-model="modalData.trackerName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -232,7 +233,8 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item prop="engineerName"> |
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(103,2)"><a herf="#">工程师</a></span> |
|
|
|
<!-- <span style="cursor: pointer" slot="label" @click="getBaseList(103,2)"><a herf="#">工程师</a></span>--> |
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(2001)"><a herf="#">工程师</a></span> |
|
|
|
<el-input v-model="modalData.engineerName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -2852,25 +2854,34 @@ |
|
|
|
this.tagNo1 = type |
|
|
|
this.$nextTick(() => { |
|
|
|
let strVal = '' |
|
|
|
let conSql = '' |
|
|
|
if (val === 102) { |
|
|
|
if(type === 1) { |
|
|
|
strVal = this.modalData.customerNo |
|
|
|
} |
|
|
|
} |
|
|
|
if (val === 103) { |
|
|
|
if(type === 1) { |
|
|
|
strVal = this.modalData.tracker |
|
|
|
} |
|
|
|
if(type === 2) { |
|
|
|
strVal = this.modalData.engineer |
|
|
|
} |
|
|
|
} |
|
|
|
// if (val === 103) { |
|
|
|
// if(type === 1) { |
|
|
|
// strVal = this.modalData.tracker |
|
|
|
// } |
|
|
|
// if(type === 2) { |
|
|
|
// strVal = this.modalData.engineer |
|
|
|
// } |
|
|
|
// } |
|
|
|
if (val === 104) { |
|
|
|
if(type === 1) { |
|
|
|
strVal = this.modalData.projectId |
|
|
|
} |
|
|
|
} |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
if (val === 2000) { |
|
|
|
strVal = this.modalData.trackerName |
|
|
|
conSql = " and b.site = '" + this.$store.state.user.site + "'" |
|
|
|
} |
|
|
|
if (val === 2001) { |
|
|
|
strVal = this.modalData.engineerName |
|
|
|
conSql = " and b.site = '" + this.$store.state.user.site + "'" |
|
|
|
} |
|
|
|
this.$refs.baseList.init(val, strVal, conSql) |
|
|
|
}) |
|
|
|
}, |
|
|
|
/** |
|
|
|
@ -2890,16 +2901,16 @@ |
|
|
|
this.projectPartList = [] |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.tagNo === 103) { |
|
|
|
if(this.tagNo1 === 1) { |
|
|
|
this.modalData.tracker = val.username |
|
|
|
this.modalData.trackerName = val.user_display |
|
|
|
} |
|
|
|
if(this.tagNo1 === 2) { |
|
|
|
this.modalData.engineer = val.username |
|
|
|
this.modalData.engineerName = val.user_display |
|
|
|
} |
|
|
|
} |
|
|
|
// if (this.tagNo === 103) { |
|
|
|
// if(this.tagNo1 === 1) { |
|
|
|
// this.modalData.tracker = val.username |
|
|
|
// this.modalData.trackerName = val.user_display |
|
|
|
// } |
|
|
|
// if(this.tagNo1 === 2) { |
|
|
|
// this.modalData.engineer = val.username |
|
|
|
// this.modalData.engineerName = val.user_display |
|
|
|
// } |
|
|
|
// } |
|
|
|
if (this.tagNo === 104) { |
|
|
|
if(this.tagNo1 === 1) { |
|
|
|
this.modalData.projectId = val.project_id |
|
|
|
@ -2907,6 +2918,14 @@ |
|
|
|
this.getProjectPartList(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.tagNo === 2000) { |
|
|
|
this.modalData.tracker = val.username |
|
|
|
this.modalData.trackerName = val.user_display |
|
|
|
} |
|
|
|
if (this.tagNo === 2001) { |
|
|
|
this.modalData.engineer = val.username |
|
|
|
this.modalData.engineerName = val.user_display |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// ======== 导出相关方法 ======== |
|
|
|
|