Browse Source

plm BM

master
ruanqi 2 years ago
parent
commit
4280f1beaf
  1. 41
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue

41
src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue

@ -42,6 +42,11 @@
<el-input @focus="jumpPage('C')" ref="jumpC" class="blue-input" v-model="quotationNo" readonly style="" ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'状态/Status'">
<el-input v-model="dataForm.status" :disabled="ifDisableFlag" style="" ></el-input>
</el-form-item>
</div></el-col>
<!-- <el-col :span="12"><div class="grid-content bg-purple">-->
<!-- <el-form-item >-->
<!-- <span slot="label" style="" @click="quotationOfficerChooseModal()"><a herf="#">Select Quote Specialist</a></span>-->
@ -84,13 +89,20 @@
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'状态/Status'">
<el-input v-model="dataForm.status" :disabled="ifDisableFlag" style="" ></el-input>
<el-form-item :label="'Sample Application No'">
<el-input @focus="jumpPage('B')" ref="jumpB" class="blue-input" v-model="dataForm.proofingNo" readonly style="" ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'Sample Application No'">
<el-input @focus="jumpPage('B')" ref="jumpB" class="blue-input" v-model="dataForm.proofingNo" readonly style="" ></el-input>
<el-form-item >
<span slot="label" style="" @click="getBaseList(103,1)"><a herf="#">CQC人员</a></span>
<el-input v-model="dataForm.cqcOperatorName" placeholder="请选择人员" readonly style="" ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item >
<span slot="label" style="" @click="getBaseList(103,2)"><a herf="#">FAI人员</a></span>
<el-input v-model="dataForm.faiOperatorName" placeholder="请选择人员" readonly style="" ></el-input>
</el-form-item>
</div></el-col>
</el-row>
@ -240,6 +252,10 @@
technicianList:[],
stage:'',
remarkPage:'',
cqcOperator:'',
faiOperator:'',
cqcOperatorName:'',
faiOperatorName:'',
},
dataRole: {
partTypeDesc: [
@ -266,9 +282,12 @@
this.tagNo1 = type
this.$nextTick(() => {
let strVal = ''
if (val === 1013) {
if (val === 103) {
if(type==1) {
strVal = this.dataForm.partType
strVal = this.dataForm.cqcOperator
}
if(type==2) {
strVal = this.dataForm.faiOperator
}
}
this.$refs.baseList.init(val, strVal)
@ -276,10 +295,14 @@
},
/* 列表方法的回调 */
getBaseData (val) {
if (this.tagNo === 1013) {
if (this.tagNo === 103) {
if(this.tagNo1==1) {
this.dataForm.partType = val.Base_id
this.dataForm.partTypeDesc = val.Base_desc
this.dataForm.cqcOperator = val.username
this.dataForm.cqcOperatorName = val.user_display
}
if(this.tagNo1==2) {
this.dataForm.faiOperator = val.username
this.dataForm.faiOperatorName = val.user_display
}
}
},

Loading…
Cancel
Save