Merge remote-tracking branch 'origin/dev_drug' into dev_drug

dev_drug
wangwei 4 weeks ago
commit a7a01c57b0

@ -58,3 +58,13 @@ export function levelByUuid(query) {
});
}
export function getzczbhhzbapzbhs(query) {
return axios({
url: "/udiwms/udi/local/getzczbhhzbapzbhs",
method: "get",
params: query
});
}

@ -253,19 +253,30 @@
</el-row>
</el-card>
<el-card>
<!--<el-row type="flex" class="edit-row" style="margin-top: 20px">-->
<!-- <el-col :span="12">-->
<!-- <el-form-item label="收费项目编码:">-->
<!-- <el-input-->
<!-- style="width: 60%"-->
<!-- size="small"-->
<!-- placeholder="选择项目收费编码"-->
<!-- v-model="editQuery.payFeeCode"-->
<!-- ></el-input>-->
<!-- <el-button type="primary" size="mini" style="margin-left: 10px" @click="selectPayFeecode"></el-button>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<el-row type="flex" class="edit-row" style="margin-top: 20px">
<el-col :span="12">
<el-form-item label="注册/备案证号:">
<!-- 使用 el-select 替换 el-input -->
<el-select
v-model="editQuery.zczbhhzbapzbhSys"
placeholder="选择注册/备案证号"
style="width: 60%"
size="small"
clearable
>
<!-- 使用 el-option 来定义下拉选项 -->
<el-option
v-for="item in zczbhhzbapzbhs"
:key="item.zczbhhzbapzbh"
:label="item.zczbhhzbapzbh"
:value="item.zczbhhzbapzbh"
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex" class="edit-row">
<el-col :span="12">
<el-form-item label="计量单位:">
@ -1189,7 +1200,7 @@ import {
updatetSingleUdiInfo, updatetUdiInfos,getCodeRelDetail
} from "@/api/basic/product/udiRelevance";
import {isBlank} from "@/utils/strUtil";
import {filterByUuid, levelByUuid} from "@/api/basic/product/udiInfo";
import {filterByUuid, levelByUuid,getzczbhhzbapzbhs} from "@/api/basic/product/udiInfo";
import ProductSingleEdit from "@/views/basic/product/productSingleEdit";
import selectErp from "./udiInfoselectErpUdi";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@ -1262,6 +1273,7 @@ export default {
}
],
fromDeptOptions: [],
zczbhhzbapzbhs: [],
hsflOptions: [],
defaultSys: null,
isImport: false,
@ -1347,6 +1359,8 @@ export default {
}
this.classifySearch("")
this.getDiLevel()
//
this.getzczbhhzbapzbhs()
},
methods: {
distributeLevelDiChange(val) {
@ -1743,6 +1757,18 @@ export default {
this.levelUnitList = []
})
},
getzczbhhzbapzbhs() {
let query = {
nameCode: this.editQuery.nameCode
}
getzczbhhzbapzbhs(query)
.then((response) => {
this.zczbhhzbapzbhs = response.data || []
})
.catch(() => {
this.zczbhhzbapzbhs = []
})
},
findMaxLevelObject() {
this.maxLevel = 1;
for (const obj of this.levelUnitList) {

Loading…
Cancel
Save