|
|
|
@ -67,14 +67,38 @@
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="生产企业:">
|
|
|
|
|
<el-input
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
size="small"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
<!--<el-col :span="12">-->
|
|
|
|
|
<!-- <el-form-item label="生产企业:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- style="width: 80%"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- splaceholder="请输入内容"-->
|
|
|
|
|
<!-- v-model="editQuery.manufactory"-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!--</el-col>-->
|
|
|
|
|
<el-col :span="12" >
|
|
|
|
|
<el-form-item :label="'生产企业:'">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="editQuery.manufactory"
|
|
|
|
|
></el-input>
|
|
|
|
|
filterable
|
|
|
|
|
remote
|
|
|
|
|
clearable="true"
|
|
|
|
|
reserve-keyword
|
|
|
|
|
placeholder="请选择生产企业"
|
|
|
|
|
:remote-method="findProducts"
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in probucts"
|
|
|
|
|
:key="item.unitId"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.unitId"
|
|
|
|
|
>
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.unitId }}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -704,7 +728,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
|
|
import {getListMenu, getOneName} from '@/api/basic/basicHospType'
|
|
|
|
|
import {getSupComapnys} from "@/api/purchase/supCompany";
|
|
|
|
|
import {getHslbs} from "@/api/thrsys/thrHsfl";
|
|
|
|
|
import {getHslbs,getTBasicProducts} from "@/api/thrsys/thrHsfl";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
@ -766,6 +790,7 @@ export default {
|
|
|
|
|
measname: null,
|
|
|
|
|
nameCode: null
|
|
|
|
|
},
|
|
|
|
|
probucts:[],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
@ -784,11 +809,10 @@ export default {
|
|
|
|
|
id: this.relevanceEdit.id
|
|
|
|
|
}
|
|
|
|
|
this.getDetailList(ttquery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.editQuery.basicPrductRemak8 != null) {
|
|
|
|
|
this.findHsflMethod(this.editQuery.basicPrductRemak8);
|
|
|
|
|
}
|
|
|
|
|
this.findProducts()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getYbHcData(){
|
|
|
|
@ -1029,6 +1053,23 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
findProducts(query) {
|
|
|
|
|
this.probucts = [];
|
|
|
|
|
let cQuery = {
|
|
|
|
|
key: query,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20
|
|
|
|
|
};
|
|
|
|
|
getTBasicProducts(cQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
console.log("heiheiehi",response)
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.probucts = response.data.list || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
setZdcfsycs() {
|
|
|
|
|
if (this.editQuery.useMuti == false) {
|
|
|
|
|
this.editQuery.useNum = 0;
|
|
|
|
|