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

20240912_adapter_z
anthonywj 8 months ago
commit b0fd2f54c5

@ -85,6 +85,13 @@
<el-table-column label="包装比例" prop="packRatio" width="100"></el-table-column> <el-table-column label="包装比例" prop="packRatio" width="100"></el-table-column>
<el-table-column label="包装级别" prop="packLevel" width="120"></el-table-column> <el-table-column label="包装级别" prop="packLevel" width="120"></el-table-column>
</el-table> </el-table>
<!--<pagination-->
<!-- v-show="total>0"-->
<!-- :total="total"-->
<!-- :page.sync="filterQuery.page"-->
<!-- :limit.sync="filterQuery.limit"-->
<!-- @pagination="getList"-->
<!--&gt;</pagination>-->
</div> </div>
</template> </template>
@ -101,7 +108,8 @@ export default {
{ {
nameCode: '152321456', nameCode: '152321456',
} }
] ],
total: 0,
} }
}, },
methods:{ methods:{

@ -6,6 +6,13 @@
<template slot="title"> <template slot="title">
<p class="form-title">药品层级</p> <p class="form-title">药品层级</p>
</template> </template>
<div style=" float: right;
text-align: right;
margin-bottom: 8px;">
<el-button type="primary" size="mini" icon="search" @click="addDrugLevel"
style="text-align:right">新增药品层级
</el-button>
</div>
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="detailList" :data="detailList"
@ -16,28 +23,33 @@
> >
<el-table-column label="药品标识" prop="nameCode" show-overflow-tooltip> <el-table-column label="药品标识" prop="nameCode" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="productData.nameCode" <el-input v-model="scope.row.nameCode"
:disabled="scope.row.rowDisabled"
placeholder="请输入药品标识" style="width: 100%" placeholder="请输入药品标识" style="width: 100%"
></el-input> ></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="包装级别" prop="packLevel" show-overflow-tooltip> <el-table-column label="包装级别" prop="packLevel" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="productData.packLevel" <el-input v-model="scope.row.packLevel"
:disabled="scope.row.rowDisabled"
type="number"
placeholder="请输入包装级别" style="width: 100%" placeholder="请输入包装级别" style="width: 100%"
></el-input> ></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="包装单位" prop="packUnit" show-overflow-tooltip> <!--<el-table-column label="包装单位" prop="packUnit" show-overflow-tooltip>-->
<template slot-scope="scope"> <!-- <template slot-scope="scope">-->
<el-input v-model="productData.packUnit" <!-- <el-input v-model="scope.row.packUnit"-->
placeholder="请输入包装单位" style="width: 100%" <!-- :disabled="scope.row.rowDisabled"-->
></el-input> <!-- placeholder="请输入包装单位" style="width: 100%"-->
</template> <!-- ></el-input>-->
</el-table-column> <!-- </template>-->
<!--</el-table-column>-->
<el-table-column label="包含下级数量" prop="bhxjsl" show-overflow-tooltip> <el-table-column label="包含下级数量" prop="bhxjsl" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="productData.bhxjsl" <el-input v-model="scope.row.bhxjsl"
:disabled="scope.row.rowDisabled"
type="number" type="number"
placeholder="请输入包含下级数量" style="width: 100%" placeholder="请输入包含下级数量" style="width: 100%"
></el-input> ></el-input>
@ -45,8 +57,9 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="180px"> <el-table-column label="操作" width="180px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click.native="save(productData)">保存</el-button> <el-button type="text" @click.native="save(scope.row)" :disabled="scope.row.isDisabled">保存</el-button>
<el-button type="text">删除</el-button> <el-button type="text" @click.native="update(scope.row)" :disabled="scope.row.isUpDisabled">编辑</el-button>
<el-button type="text" @click.native="remove(scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -220,6 +233,30 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row type="flex">
<el-col :span="11" class="el-col">
<el-form-item label="统一社会信用号:" prop="tyshxydm">
<el-input style="width: 90%" size="small" placeholder="请输入统一社会信用号"
v-model.trim="newProductData.tyshxydm"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="药品状态:" prop="majorStatus">
<el-select v-model="newProductData.majorStatus" style="width: 90%" placeholder="选择药品状态" clearable>
<el-option label="停用" :value="0"></el-option>
<el-option label="在用" :value="1"></el-option>
</el-select>
</el-form-item>
</el-col>
<!--<el-col :span="11" class="el-col">-->
<!-- <el-form-item label="产品描述:" prop="cpms">-->
<!-- <el-input style="width: 90%" type="textarea" size="mini" rows="1" placeholder="请输入产品描述"-->
<!-- v-model.trim="newProductData.cpms"-->
<!-- ></el-input>-->
<!-- </el-form-item>-->
<!--</el-col>-->
</el-row>
<!-- <el-row type="flex">--> <!-- <el-row type="flex">-->
<!-- <el-col :span="11" class="el-col">--> <!-- <el-col :span="11" class="el-col">-->
<!-- <el-form-item label="产品类别:" prop="cplb">--> <!-- <el-form-item label="产品类别:" prop="cplb">-->
@ -265,30 +302,7 @@
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- </el-col>--> <!-- </el-col>-->
<!--</el-row>--> <!--</el-row>-->
<el-row type="flex">
<el-col :span="11" class="el-col">
<el-form-item label="统一社会信用号:" prop="tyshxydm">
<el-input style="width: 90%" size="small" placeholder="请输入统一社会信用号"
v-model.trim="newProductData.tyshxydm"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="药品状态:" prop="majorStatus">
<el-select v-model="newProductData.majorStatus" style="width: 90%" placeholder="选择药品状态" clearable>
<el-option label="停用" :value="0"></el-option>
<el-option label="在用" :value="1"></el-option>
</el-select>
</el-form-item>
</el-col>
<!--<el-col :span="11" class="el-col">-->
<!-- <el-form-item label="产品描述:" prop="cpms">-->
<!-- <el-input style="width: 90%" type="textarea" size="mini" rows="1" placeholder="请输入产品描述"-->
<!-- v-model.trim="newProductData.cpms"-->
<!-- ></el-input>-->
<!-- </el-form-item>-->
<!--</el-col>-->
</el-row>
<el-row type="flex"> <el-row type="flex">
<el-col :span="23" class="el-col"> <el-col :span="23" class="el-col">
@ -345,7 +359,7 @@
</el-form> </el-form>
<div style="text-align: center; margin-top: 20px;"> <div style="text-align: center; margin-top: 20px;">
<el-button type="primary" @click="saveNewProduct" :loading="saveLoading">提交</el-button> <el-button type="primary" @click="saveNewProduct" :loading="saveLoading">提交</el-button>
<el-button type="primary" @click="closeAddDialog"></el-button> <el-button @click="closeAddDialog"></el-button>
</div> </div>
</div> </div>
</template> </template>
@ -373,7 +387,7 @@ export default {
data() { data() {
return { return {
ybHcflDetail: {}, ybHcflDetail: {},
productData: {}, drugLevelList: [],
newProductData: { newProductData: {
cpmctymc: null, cpmctymc: null,
bzgg: null, bzgg: null,
@ -426,8 +440,12 @@ export default {
{ required: true, message: '药品价格不能为空', trigger: 'blur' } { required: true, message: '药品价格不能为空', trigger: 'blur' }
] ]
}, },
detailList: [{}], detailList: [
status: false //
{ nameCode: '', packLevel: null, bhxjsl: null ,isDisabled: false, isUpDisabled: true,rowDisabled: false }
],
status: false,
rowDisabled: false
} }
}, },
@ -484,6 +502,12 @@ export default {
} else { } else {
this.newProductData.requireScanCode = 0 this.newProductData.requireScanCode = 0
} }
let detailList = this.detailList.map(item => ({
nameCode: item.nameCode,
packLevel: item.packLevel,
bhxjsl: item.bhxjsl
}));
this.newProductData.drugLevelLists = detailList
this.saveLoading = true this.saveLoading = true
addDrug(this.newProductData).then((res) => { addDrug(this.newProductData).then((res) => {
this.saveLoading = false this.saveLoading = false
@ -525,8 +549,53 @@ export default {
this.closeDialog() this.closeDialog()
}, },
save(row) { save(row) {
const isNotEmpty = row.nameCode || row.packLevel || row.bhxjsl;
} if (!isNotEmpty) {
return this.$message.error("至少填写一个属性");
}
row.isDisabled = true
row.isUpDisabled = false
row.rowDisabled = true
// //
// if ( this.drugLevelList.length > 0){
// // this.drugLevelList
// const index = this.detailList.indexOf(row);
// this.$set(this.drugLevelList, index, {
// ...this.drugLevelList[index],
// nameCode: row.nameCode,
// packLevel: row.packLevel,
// bhxjsl: row.bhxjsl,
// });
// }else {
// this.drugLevelList.push(data)
// }
},
update(row){
row.isDisabled = false
row.isUpDisabled = true
row.rowDisabled = false
},
addDrugLevel() {
// detailList
this.detailList.push({
nameCode: '',
packLevel: null,
bhxjsl: null,
isDisabled: false,
rowDisabled: false,
isUpDisabled: true
});
},
remove(row) {
// detailList
const index = this.detailList.indexOf(row);
if (index == 0){
return this.$message.error("至少添加一层")
}
if (index !== -1) {
this.detailList.splice(index, 1);
}
},
}, },
created() { created() {
if (this.rowData != null) { if (this.rowData != null) {

@ -138,6 +138,14 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="filterQuery.page"
:limit.sync="filterQuery.limit"
@pagination="getList"
></pagination>
<el-dialog <el-dialog
:title="fromMap[fromName]" :title="fromMap[fromName]"
@ -219,7 +227,8 @@ export default {
fromMap: { fromMap: {
'add' : '新增-药品信息', 'add' : '新增-药品信息',
'edit' : '编辑-药品信息', 'edit' : '编辑-药品信息',
} },
total: 0,
} }
}, },
methods: { methods: {
@ -294,6 +303,7 @@ export default {
}, },
closeDialog(){ closeDialog(){
this.addDrugVisible = false; this.addDrugVisible = false;
this.getList()
} }
}, },
filters: { filters: {

@ -789,7 +789,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("purApply-2","1").then((re) => { getHead("purApplyAdd-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -8,177 +8,354 @@
</el-table> </el-table>
<el-table v-loading="loading" :data="detailList" style="width: 100%; margin-top: 20px" border @current-change="handleDetail" border highlight-current-row> <el-table v-loading="loading" :data="detailList" style="width: 100%; margin-top: 20px" border @current-change="handleDetail" border highlight-current-row>
<el-table-column label="品标识" prop="nameCode" show-overflow-tooltip></el-table-column> <el-table-column label="品标识" prop="nameCode" show-overflow-tooltip></el-table-column>
<el-table-column label="物资名称" prop="cpmctymc" show-overflow-tooltip></el-table-column> <el-table-column label="药品通用名称" prop="cpmctymc" show-overflow-tooltip></el-table-column>
<el-table-column label="包装级别" prop="packLevel" show-overflow-tooltip></el-table-column> <el-table-column label="包装级别" prop="packLevel" show-overflow-tooltip></el-table-column>
<el-table-column label="包装层级" prop="bzcj" show-overflow-tooltip></el-table-column> <el-table-column label="包含下级数量" prop="bzcj" show-overflow-tooltip></el-table-column>
</el-table> </el-table>
<el-form :model="editQuery" :rules="rules" ref="editQuery" label-width="190px" style="margin-top: 20px"> <el-form :model="editQuery" :rules="rules" ref="editQuery" label-width="190px" style="margin-top: 20px">
<el-row> <!--<el-row>-->
<el-col :span="12"> <!-- <el-col :span="12">-->
<el-form-item label="物资名称" prop="cpmctymc"> <!-- <el-form-item label="药品通用名称" prop="cpmctymc">-->
<el-input style="width: 90%" size="small" splaceholder="请输入物资名称" :disabled="true" v-model="editQuery.cpmctymc"></el-input> <!-- <el-input style="width: 90%" size="small" splaceholder="请输入物资名称" :disabled="true" v-model="editQuery.cpmctymc"></el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="12" class="el-col"> <!-- <el-col :span="12" class="el-col">-->
<el-form-item label="品标识" prop="nameCode"> <!-- <el-form-item label="品标识" prop="nameCode">-->
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入产品标识" v-model="editQuery.nameCode"></el-input> <!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入产品标识" v-model="editQuery.nameCode"></el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-row> <!--</el-row>-->
<el-row> <!--<el-row>-->
<el-col :span="12" class="el-col"> <!-- <el-col :span="12" class="el-col">-->
<el-form-item label="规格型号" prop="ggxh"> <!-- <el-form-item label="规格型号" prop="ggxh">-->
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.ggxh"></el-input> <!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.ggxh"></el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<!--</el-row>-->
<el-col :span="12" class="el-col"> <!--<el-row>-->
<el-form-item label="器械类别" prop="qxlb"> <!-- <el-col :span="12" class="el-col">-->
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入器械类别" v-model="editQuery.qxlb"></el-input> <!-- <el-form-item label="产品类别" prop="cplb">-->
</el-form-item> <!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入产品类别" v-model="editQuery.cplb"></el-input>-->
</el-col> <!-- </el-form-item>-->
</el-row> <!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="分类编码" prop="flbm">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入分类编码" v-model="editQuery.flbm"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="商品条码" prop="sptm">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入商品条码" v-model="editQuery.sptm"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="医保编码" prop="ybbm">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入医保编码" v-model="editQuery.ybbm"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="医疗器械注册人" prop="ylqxzcrbarmc">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入医疗器械注册人" v-model="editQuery.ylqxzcrbarmc"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="注册人英文名称" prop="ylqxzcrbarywmc">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入注册人英文名称" v-model="editQuery.ylqxzcrbarywmc"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="统一社会信用号" prop="tyshxydm">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入统一社会信用号" v-model="editQuery.tyshxydm"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="注册证/备案号" prop="zczbhhzbapzbh">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入注册证/备案号" v-model="editQuery.zczbhhzbapzbh"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="上级产品编码" prop="sjcpbm">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入上级产品编码" v-model="editQuery.sjcpbm"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="包装级别" prop="packLevel">-->
<!-- <el-input style="width: 90%" size="small" splaceholder="请输入包装级别" :disabled="true" v-model="editQuery.packLevel"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="包装层级" prop="bzcj">-->
<!-- <el-input style="width: 90%" size="small" splaceholder="请输入包装层级" v-model="editQuery.bzcj" :disabled="true"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="包含下级包装数量" prop="bhxjsl">-->
<!-- <el-input style="width: 90%" size="small" splaceholder="请输入包含下级包装数量" :disabled="true" v-model="editQuery.bhxjsl"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="包含下级产品编码" prop="bhxjcpbm">-->
<!-- <el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入包含下级产品编码" v-model="editQuery.bhxjcpbm"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="包含最小销售包装数量" prop="bhzxxsbzsl">-->
<!-- <el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入包含最小销售包装数量" v-model="editQuery.bhzxxsbzsl"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="是否包含批号" prop="scbssfbhph">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.scbssfbhph"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="是否包含序列号" prop="scbssfbhxlh">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.scbssfbhxlh" splaceholder="请输入内容"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="是否包含生产日期" prop="scbssfbhscrq">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.scbssfbhscrq"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="是否包含失效日期" prop="scbssfbhsxrq">-->
<!-- <el-input style="width: 90%" :disabled="true" v-model="editQuery.scbssfbhsxrq" ></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="产品描述" prop="cpms">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.cpms"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="计量单位" prop="measname">-->
<!-- <el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.measname"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<!--<el-row >-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="使用单元数量" prop="zxxsbzbhsydysl">-->
<!-- <el-input style="width: 90%" :disabled="!checked" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!--</el-row>-->
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="产品类别" prop="cplb"> <el-form-item label="药品通用名称:" prop="cpmctymc">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入产品类别" v-model="editQuery.cplb"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入药品通用名称"
v-model.trim="editQuery.cpmctymc"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="分类编码" prop="flbm"> <el-form-item label="商品名称:" prop="spmc">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入分类编码" v-model="editQuery.flbm"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入商品名称"
v-model.trim="editQuery.spmc"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="商品条码" prop="sptm"> <el-form-item label="包装规格:" prop="bzgg">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入商品条码" v-model="editQuery.sptm"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入包装规格"
v-model.trim="editQuery.bzgg"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="医保编码" prop="ybbm"> <el-form-item label="包装单位:" prop="packUnit">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入医保编码" v-model="editQuery.ybbm"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入包装单位"
v-model.trim="editQuery.packUnit"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="医疗器械注册人" prop="ylqxzcrbarmc"> <el-form-item label="制剂规格:" prop="prepnSpec">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入医疗器械注册人" v-model="editQuery.ylqxzcrbarmc"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入制剂规格"
v-model.trim="editQuery.prepnSpec"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="注册人英文名称" prop="ylqxzcrbarywmc"> <el-form-item label="制剂单位:" prop="prepnUnit">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入注册人英文名称" v-model="editQuery.ylqxzcrbarywmc"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入制剂单位"
v-model.trim="editQuery.prepnUnit"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="统一社会信用号" prop="tyshxydm"> <el-form-item label="包装材质:" prop="packMatrial">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入统一社会信用号" v-model="editQuery.tyshxydm"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入包装材质"
v-model.trim="editQuery.packMatrial"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="注册证/备案号" prop="zczbhhzbapzbh"> <el-form-item label="包装比例:" prop="packRatio">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入注册证/备案号" v-model="editQuery.zczbhhzbapzbh"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入制剂单位"
v-model.trim="editQuery.packRatio"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="上级产品编码" prop="sjcpbm"> <el-form-item label="批准文号:" prop="registerNo">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入上级产品编码" v-model="editQuery.sjcpbm"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入批准文号"
v-model.trim="editQuery.registerNo"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="包装级别" prop="packLevel"> <el-form-item label="生产企业:" prop="manufactory">
<el-input style="width: 90%" size="small" splaceholder="请输入包装级别" :disabled="true" v-model="editQuery.packLevel"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入生产企业"
v-model.trim="editQuery.manufactory"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="包装层级" prop="bzcj"> <el-form-item label="药品类型:" prop="physicType">
<el-input style="width: 90%" size="small" splaceholder="请输入包装层级" v-model="editQuery.bzcj" :disabled="true"></el-input> <el-select v-model="editQuery.physicType" style="width: 90%" placeholder="选择药品类型" clearable>
<el-option label="特殊药品原料药" :value="1"></el-option>
<el-option label="特殊药品制剂" :value="2"></el-option>
<el-option label="普通药品" :value="3"></el-option>
<el-option label="未分类" :value="9"></el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" type="flex">
<el-col :span="12" class="el-col"> <el-form-item label="药品分类:" prop="majorType">
<el-form-item label="包含下级包装数量" prop="bhxjsl"> <el-select v-model="editQuery.majorType" style="width: 90%" placeholder="选择药品分类" clearable>
<el-input style="width: 90%" size="small" splaceholder="请输入包含下级包装数量" :disabled="true" v-model="editQuery.bhxjsl"></el-input> <el-option label="中药" :value="1"></el-option>
<el-option label="化学药" :value="2"></el-option>
<el-option label="生物制品" :value="3"></el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="包含下级产品编码" prop="bhxjcpbm"> <el-form-item label="医保编码:" prop="ybbm">
<el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入包含下级产品编码" v-model="editQuery.bhxjcpbm"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入医保编码"
v-model.trim="editQuery.ybbm"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="包含最小销售包装数量" prop="bhzxxsbzsl"> <el-form-item label="医保分类:" prop="medicareType">
<el-input style="width: 90%" size="small" :disabled="true" splaceholder="请输入包含最小销售包装数量" v-model="editQuery.bhzxxsbzsl"></el-input> <el-select v-model="editQuery.medicareType" style="width: 90%" placeholder="选择医保分类"
clearable
>
<el-option label="甲类" :value="1"></el-option>
<el-option label="乙类" :value="2"></el-option>
<el-option label="丙类" :value="3"></el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="是否包含批号" prop="scbssfbhph"> <el-form-item label="药品价格:" prop="price">
<el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.scbssfbhph"></el-input> <el-input
style="width: 90%"
size="small"
placeholder="请输入药品价格"
type="number"
:precision="2"
:min="0"
v-model.number="editQuery.price"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="是否包含序列号" prop="scbssfbhxlh"> <el-form-item label="有效期:" prop="indate">
<el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.scbssfbhxlh" splaceholder="请输入内容"></el-input> <el-date-picker
style="width: 90%"
v-model="editQuery.indate"
type="datetime"
format="yyyy 年 MM 月 dd 日 HH 点 mm 分 ss 秒"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="选择有效期"
>
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="是否包含生产日期" prop="scbssfbhscrq"> <el-form-item label="存储条件:" prop="ylqxzcrbarmc">
<el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.scbssfbhscrq"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入存储条件"
v-model.trim="editQuery.storageCondition"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="是否包含失效日期" prop="scbssfbhsxrq"> <el-form-item label="运输条件:" prop="transportCondition">
<el-input style="width: 90%" :disabled="true" v-model="editQuery.scbssfbhsxrq" ></el-input> <el-input style="width: 90%" size="small" placeholder="请输入运输条件"
v-model.trim="editQuery.transportCondition"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="产品描述" prop="cpms"> <el-form-item label="统一社会信用号:" prop="tyshxydm">
<el-input style="width: 90%" :disabled="true" size="small" v-model="editQuery.cpms"></el-input> <el-input style="width: 90%" size="small" placeholder="请输入统一社会信用号"
v-model.trim="editQuery.tyshxydm"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<el-form-item label="计量单位" prop="measname"> <el-form-item label="药品状态:" prop="majorStatus">
<el-input style="width: 90%" :disabled="true" size="small" splaceholder="请输入内容" v-model="editQuery.measname"></el-input> <el-select v-model="editQuery.majorStatus" style="width: 90%" placeholder="选择药品状态" clearable>
</el-form-item> <el-option label="停用" :value="0"></el-option>
</el-col> <el-option label="在用" :value="1"></el-option>
</el-row> </el-select>
<el-row >
<el-col :span="12" class="el-col">
<el-form-item label="使用单元数量" prop="zxxsbzbhsydysl">
<el-input style="width: 90%" :disabled="!checked" size="small" splaceholder="请输入内容" v-model="editQuery.zxxsbzbhsydysl"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

@ -741,7 +741,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("pureApplyAudit-2","1").then((re) => { getHead("pureApplyAuditDrug-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -894,7 +894,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("pureApplyMySearch-2","1").then((re) => { getHead("pureApplyMySearchDrug-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -10,15 +10,15 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="DI/物资编码:"> <el-form-item label="药品编码:">
<el-input v-model="filterQuery.nameCode" style="width: 90%" placeholder="请输入DI/物资编码" <el-input v-model="filterQuery.nameCode" style="width: 90%" placeholder="请输入DI/药品编码"
clearable></el-input> clearable></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="filterQuery.productName" style="width: 90%" placeholder="请输入物资名称" <el-input v-model="filterQuery.productName" style="width: 90%" placeholder="请输入药品名称"
clearable></el-input> clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -32,8 +32,8 @@
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="注册/备案号:"> <el-form-item label="批准文号:">
<el-input v-model="filterQuery.zczbhhzbapzbh" style="width: 90%" placeholder="请输入注册/备案号" <el-input v-model="filterQuery.zczbhhzbapzbh" style="width: 90%" placeholder="请输入批准文号"
clearable></el-input> clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -76,14 +76,14 @@
<el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row> <el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row>
<el-table-column label="序号" type="index" width="60"></el-table-column> <el-table-column label="序号" type="index" width="60"></el-table-column>
<el-table-column label="申购单号" prop="billNo"></el-table-column> <el-table-column label="申购单号" prop="billNo"></el-table-column>
<el-table-column label="DI/物资编码" prop="nameCode"></el-table-column> <el-table-column label="药品编码" prop="nameCode"></el-table-column>
<el-table-column label="物资名称" prop="productName"></el-table-column> <el-table-column label="药品名称" prop="productName"></el-table-column>
<el-table-column label="规格型号" prop="spec"></el-table-column> <el-table-column label="规格型号" prop="spec"></el-table-column>
<el-table-column label="申购数量" prop="count"></el-table-column> <el-table-column label="申购数量" prop="count"></el-table-column>
<el-table-column label="计量单位" prop="measname"></el-table-column> <el-table-column label="计量单位" prop="measname"></el-table-column>
<el-table-column label="供应商" prop="supName"></el-table-column> <el-table-column label="供应商" prop="supName"></el-table-column>
<el-table-column label="生产企业" prop="manufactory"></el-table-column> <el-table-column label="生产企业" prop="manufactory"></el-table-column>
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh"></el-table-column> <el-table-column label="批准文号" prop="zczbhhzbapzbh"></el-table-column>
<el-table-column label="注册/备案人" prop="ylqxzcrbarmc"></el-table-column> <el-table-column label="注册/备案人" prop="ylqxzcrbarmc"></el-table-column>
</el-table> </el-table>

@ -850,7 +850,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("pureApplySearch-2","1").then((re) => { getHead("pureApplySearchDrug-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -747,7 +747,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("purOrder-2","1").then((re) => { getHead("purOrderDrug-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -431,7 +431,7 @@ export default {
mounted() { mounted() {
}, },
created() { created() {
getHead("purOrderSearchDetails","1").then((re) => { getHead("purOrderDrugSearchDetails","1").then((re) => {
// //
this.tableObj = re.data; this.tableObj = re.data;
this.tableHeader = re.data.tableList; this.tableHeader = re.data.tableList;

@ -834,7 +834,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("purOrderSearch-2","1").then((re) => { getHead("purOrderDrugSearch-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -688,7 +688,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("purPlanAudit-2","1").then((re) => { getHead("purDrugPlanAudit-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -770,7 +770,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("purPlan-2", "1").then((re) => { getHead("purDrugPlan-2", "1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -426,7 +426,7 @@ export default {
mounted() { mounted() {
}, },
created() { created() {
getHead("purPlanSearchDetails","1").then((re) => { getHead("purPlanDrugSearchDetails","1").then((re) => {
// //
this.tableObj = re.data; this.tableObj = re.data;
this.tableHeader = re.data.tableList; this.tableHeader = re.data.tableList;

@ -782,7 +782,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("purPlanSearch-2","1").then((re) => { getHead("purDrugPlanSearch-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -705,7 +705,7 @@ export default {
this.queryList = re.data.queryList; this.queryList = re.data.queryList;
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
getHead("receiveAdd-2","1").then((re) => { getHead("receiveAddDrug-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -651,7 +651,7 @@ export default {
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
this.getList(); this.getList();
}); });
getHead("receiveAudit-2","1").then((re) => { getHead("receiveAddDrug-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -793,7 +793,7 @@ export default {
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
this.getList(); this.getList();
}); });
getHead("receiveMySearch-2","1").then((re) => { getHead("receiveAddDrug-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

@ -770,7 +770,7 @@ export default {
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
this.getList(); this.getList();
}); });
getHead("receiveSearch-2","1").then((re) => { getHead("receiveAddDrug-2","1").then((re) => {
// //
this.tableObj2 = re.data; this.tableObj2 = re.data;
this.tableHeader2 = re.data.tableList; this.tableHeader2 = re.data.tableList;

Loading…
Cancel
Save