|
|
@ -4,7 +4,7 @@
|
|
|
|
<el-form :model="listQuery" label-width="120px" v-if="showSearch">
|
|
|
|
<el-form :model="listQuery" label-width="120px" v-if="showSearch">
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="18">
|
|
|
|
<el-col :span="18">
|
|
|
|
<el-form-item label="UDI码:" >
|
|
|
|
<el-form-item label="UDI码:">
|
|
|
|
<el-input v-model="listQuery.udiCode" style="width: 96%" placeholder="请扫描或输入UDI码" clearable="true"
|
|
|
|
<el-input v-model="listQuery.udiCode" style="width: 96%" placeholder="请扫描或输入UDI码" clearable="true"
|
|
|
|
@keyup.enter.native="keyup_submit($event)"></el-input>
|
|
|
|
@keyup.enter.native="keyup_submit($event)"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -12,25 +12,25 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="拼音简写:" >
|
|
|
|
<el-form-item label="拼音简写:">
|
|
|
|
<el-input v-model="listQuery.pinyinInitial" @input="search" style="width: 100%" placeholder="请输入物资拼音简写"
|
|
|
|
<el-input v-model="listQuery.pinyinInitial" @input="search" style="width: 100%" placeholder="请输入物资拼音简写"
|
|
|
|
clearable="true"></el-input>
|
|
|
|
clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="第三方物资编码:" >
|
|
|
|
<el-form-item label="第三方物资编码:">
|
|
|
|
<el-input v-model="listQuery.thrPiId" style="width: 100%" placeholder="第三方物资编码"
|
|
|
|
<el-input v-model="listQuery.thrPiId" style="width: 100%" placeholder="第三方物资编码"
|
|
|
|
clearable="true"></el-input>
|
|
|
|
clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="分类编码:" >
|
|
|
|
<el-form-item label="分类编码:">
|
|
|
|
<el-input v-model="listQuery.flbm" style="width: 100%" placeholder="请输入分类编码"
|
|
|
|
<el-input v-model="listQuery.flbm" style="width: 100%" placeholder="请输入分类编码"
|
|
|
|
clearable="true"></el-input>
|
|
|
|
clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="供应商:" >
|
|
|
|
<el-form-item label="供应商:">
|
|
|
|
<el-input v-model="listQuery.companyName" style="width: 100%" placeholder="请输入供应商"
|
|
|
|
<el-input v-model="listQuery.companyName" style="width: 100%" placeholder="请输入供应商"
|
|
|
|
clearable="true"></el-input>
|
|
|
|
clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -38,24 +38,24 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="物品编码:" >
|
|
|
|
<el-form-item label="物品编码:">
|
|
|
|
<el-input v-model="listQuery.unionCode" style="width: 100%" placeholder="请输入DI/医保编码/商品条码"
|
|
|
|
<el-input v-model="listQuery.unionCode" style="width: 100%" placeholder="请输入DI/医保编码/商品条码"
|
|
|
|
clearable="true"></el-input>
|
|
|
|
clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="产品通用名:" >
|
|
|
|
<el-form-item label="产品通用名:">
|
|
|
|
<el-input v-model="listQuery.cpmctymc" style="width: 100%" placeholder="请输入产品通用名"
|
|
|
|
<el-input v-model="listQuery.cpmctymc" style="width: 100%" placeholder="请输入产品通用名"
|
|
|
|
clearable="true"></el-input>
|
|
|
|
clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="规格型号:" >
|
|
|
|
<el-form-item label="规格型号:">
|
|
|
|
<el-input v-model="listQuery.ggxh" style="width: 100%" placeholder="请输入规格型号" clearable="true"></el-input>
|
|
|
|
<el-input v-model="listQuery.ggxh" style="width: 100%" placeholder="请输入规格型号" clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="生产企业:" >
|
|
|
|
<el-form-item label="生产企业:">
|
|
|
|
<el-input v-model="listQuery.manufactory" style="width: 100%" placeholder="请输入生产企业/注册备案人"
|
|
|
|
<el-input v-model="listQuery.manufactory" style="width: 100%" placeholder="请输入生产企业/注册备案人"
|
|
|
|
clearable="true"></el-input>
|
|
|
|
clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -64,7 +64,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item label="物资分类:" >
|
|
|
|
<el-form-item label="物资分类:">
|
|
|
|
<el-input v-model="listQuery.category" style="width: 100%" placeholder="请输入物资分类名称"
|
|
|
|
<el-input v-model="listQuery.category" style="width: 100%" placeholder="请输入物资分类名称"
|
|
|
|
clearable="true"></el-input>
|
|
|
|
clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -269,7 +269,11 @@ export default {
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
this.lists = [];
|
|
|
|
this.lists = [];
|
|
|
|
for (var i = 0; i < val.length; i++) {
|
|
|
|
for (var i = 0; i < val.length; i++) {
|
|
|
|
this.lists.push(val[i].id)
|
|
|
|
let data = {
|
|
|
|
|
|
|
|
udiRlIdFk: val[i].id,
|
|
|
|
|
|
|
|
unitFk: val[i].unitFk
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.lists.push(data)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
@ -302,7 +306,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
combine() {
|
|
|
|
combine() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
addModeldestinyProduct({pId:this.editQuery.id,list:this.lists}).then((response) => {
|
|
|
|
addModeldestinyProduct({pId: this.editQuery.id, list: this.lists}).then((response) => {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
if (response.code === 20000) {
|
|
|
|
if (response.code === 20000) {
|
|
|
|
this.closeDialog(response.data);
|
|
|
|
this.closeDialog(response.data);
|
|
|
|