Browse Source

plm BMM

master
ruanqi 11 months ago
parent
commit
67a3da2552
  1. 18
      src/views/modules/tooling/toolingInfo.vue

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

@ -127,15 +127,15 @@
<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(103,1)"><a herf="#">报价员</a></span>
<span slot="label" style="" @click="getBaseList(2001,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">
<span slot="label" style="" @click="getBaseList(103,2)"><a herf="#">TP</a></span>
<span slot="label" style="" @click="getBaseList(2042,2)"><a herf="#">TP</a></span>
<el-input v-model="dataForm.tpName" ref="tpName" placeholder="请选择人员" readonly style="width: 130px" ></el-input>
</el-form-item>
<el-form-item required="required">
<span slot="label" style="" @click="getBaseList(103,3)"><a herf="#">采购员</a></span>
<span slot="label" style="" @click="getBaseList(2000,3)"><a herf="#">采购</a></span>
<el-input v-model="dataForm.purchaserName" ref="purchaserName" placeholder="请选择人员" readonly style="width: 130px" ></el-input>
</el-form-item>
<el-form-item label=" " >
@ -603,17 +603,17 @@
this.tagNo1 = type
this.$nextTick(() => {
let strVal = ''
if (val === 103) {
if(type==1) {
if(val==2001) {
strVal = this.dataForm.quoter
}
if(type==2) {
if(val==2042) {
strVal = this.dataForm.tp
}
if(type==3) {
if(val==2000) {
strVal = this.dataForm.purchaser
}
}
this.$refs.baseList.init(val, strVal)
})
},
@ -772,7 +772,7 @@
return false;
}
if(this.dataForm.purchaser===''||this.dataForm.purchaser==null){
this.$alert('未选择采购员!', '错误', {
this.$alert('未选择采购员!', '错误', {
confirmButtonText: '确定'
})
return false;

Loading…
Cancel
Save