|
|
|
@ -112,15 +112,15 @@ |
|
|
|
<el-input v-model="modalData.partDesc" disabled style="width: 240px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item prop="supplierNo" :rules="rules.supplierNoType"> |
|
|
|
<span slot="label" style="" @click="getBaseList(1043)"><a herf="#">供应商编码:</a></span> |
|
|
|
<el-input v-model="modalData.supplierNo" style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="供应商名称:" prop="supplierDesc" :rules="rules.supplierDescType"> |
|
|
|
<el-input v-model="modalData.supplierDesc" disabled style="width: 240px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<!-- <el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;">--> |
|
|
|
<!-- <el-form-item prop="supplierNo" :rules="rules.supplierNoType">--> |
|
|
|
<!-- <span slot="label" style="" @click="getBaseList(1056)"><a herf="#">供应商编码:</a></span>--> |
|
|
|
<!-- <el-input v-model="modalData.supplierNo" style="width: 120px"></el-input>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- <el-form-item label="供应商名称:" prop="supplierDesc" :rules="rules.supplierDescType">--> |
|
|
|
<!-- <el-input v-model="modalData.supplierDesc" disabled style="width: 240px"></el-input>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-form>--> |
|
|
|
<!-- <el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;">--> |
|
|
|
<!-- <el-form-item prop="operation" :rules="rules.operationType">--> |
|
|
|
<!-- <span slot="label" style="" @click="getBaseList(1055)"><a herf="#">工序:</a></span>--> |
|
|
|
@ -799,20 +799,20 @@ |
|
|
|
trigger: 'change' |
|
|
|
} |
|
|
|
], |
|
|
|
supplierNoType:[ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: ' ', |
|
|
|
trigger: 'change' |
|
|
|
} |
|
|
|
], |
|
|
|
supplierDescType:[ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: ' ', |
|
|
|
trigger: 'change' |
|
|
|
} |
|
|
|
], |
|
|
|
// supplierNoType:[ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: ' ', |
|
|
|
// trigger: 'change' |
|
|
|
// } |
|
|
|
// ], |
|
|
|
// supplierDescType:[ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: ' ', |
|
|
|
// trigger: 'change' |
|
|
|
// } |
|
|
|
// ], |
|
|
|
// operationType:[ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
@ -953,12 +953,8 @@ |
|
|
|
strVal = this.tempProgrammeRow.samplingProgrammeNo |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
} |
|
|
|
if (val === 1054) { |
|
|
|
strVal = this.modalData.resourceId |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
} |
|
|
|
if (val === 1055) { |
|
|
|
strVal = this.modalData.operation |
|
|
|
if (val === 1056) { |
|
|
|
strVal = this.modalData.supplierNo |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
} |
|
|
|
}) |
|
|
|
@ -977,12 +973,9 @@ |
|
|
|
this.tempProgrammeRow.samplingProgrammeNo = val.sampling_programme_no |
|
|
|
this.tempProgrammeRow.samplingProgrammeDesc = val.sampling_programme_desc |
|
|
|
} |
|
|
|
if (this.tagNo === 1054) { |
|
|
|
this.modalData.resourceId = val.resource_id |
|
|
|
this.modalData.resourceDesc = val.resource_desc |
|
|
|
} |
|
|
|
if (this.tagNo === 1055) { |
|
|
|
this.modalData.operation = val.operation_desc |
|
|
|
if (this.tagNo === 1056) { |
|
|
|
this.modalData.supplierNo = val.supplier_id |
|
|
|
this.modalData.supplierDesc = val.supplier_name |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取数据列表 |
|
|
|
|