|
|
|
@ -78,7 +78,7 @@
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-form-item label="所属生产企业:" label-width="150px" prop="manufacturerIdFk">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="inputQuery.manufacturerIdFk"
|
|
|
|
|
v-model="inputQuery.companyName"
|
|
|
|
|
filterable
|
|
|
|
|
remote
|
|
|
|
|
clearable="true"
|
|
|
|
@ -143,7 +143,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="10" class="el-col">
|
|
|
|
|
<el-form-item label="器械类别:" label-width="150px" prop="productType">
|
|
|
|
|
<el-form-item label="器械类别:" label-width="150px" prop="qxlb">
|
|
|
|
|
<el-select
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="inputQuery.productType"
|
|
|
|
@ -532,15 +532,16 @@ export default {
|
|
|
|
|
if (this.editType == 0) {
|
|
|
|
|
this.inputQuery.productId = getUUID("");
|
|
|
|
|
this.inputQuery.customerId = this.currentManufacturer.customerId;
|
|
|
|
|
this.inputQuery.manufacturerIdFk = this.currentManufacturer.manufacturerId;
|
|
|
|
|
this.inputQuery.companyName = this.currentManufacturer.companyName;
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
this.getCompanyCertList();
|
|
|
|
|
this.pmQuery.customerId = this.inputQuery.customerId;
|
|
|
|
|
this.inputQuery.companyName = this.currentManufacturer.companyName;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.cuStatus=this.inputQuery.cuStatus;
|
|
|
|
|
this.manufacturerId = this.inputQuery.manufacturerIdFk
|
|
|
|
|
this.manufacturerId = this.inputQuery.manufacturerId
|
|
|
|
|
this.productId = this.inputQuery.productId
|
|
|
|
|
this.findMethod();
|
|
|
|
|
this.findPMMethod();
|
|
|
|
@ -644,10 +645,12 @@ export default {
|
|
|
|
|
auditStatus: this.inputQuery.auditStatus
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
localStorage.setItem('key',this.inputQuery.companyName)
|
|
|
|
|
bindProduct(query).then(response => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.inputQuery = response.data;
|
|
|
|
|
let cname= localStorage.getItem('key')
|
|
|
|
|
this.inputQuery.companyName=cname;
|
|
|
|
|
this.selectSingleProductVisible = false;
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|