耗材字典相关修改,新增集采,配送

prod
anthonywj 2 years ago
parent 217879692e
commit 9ccf855f7b

@ -70,6 +70,22 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20" type="flex">
<el-col :span="24" >
<div class="check-box-group" style="margin-top: 12px">
<el-checkbox v-model="inputQuery.vailDispatch" border style="width: 200px;">
</el-checkbox>
<span style="margin-left: 45px">校验是否集采产品:</span>
<el-select v-model="inputQuery.vailGroupBuy" style="margin-left: 5px"
size="mini">
<el-option label="无需校验" :value=0></el-option>
<el-option label="只采集集采产品" :value=1></el-option>
<el-option label="只采集非集采产品" :value=2></el-option>
</el-select>
</div>
</el-col>
</el-row>
<el-divider></el-divider> <el-divider></el-divider>
<el-row type="flex"> <el-row type="flex">
<el-col :span="24"> <el-col :span="24">

@ -219,6 +219,8 @@ export default {
checkBalance: null, checkBalance: null,
secCheckBalance: null, secCheckBalance: null,
preInBack:null, preInBack:null,
vailDispatch:null,
vailGroupBuy:null,
}, },
enableMap: { enableMap: {
true: "是", true: "是",
@ -411,6 +413,8 @@ export default {
preIn: null, preIn: null,
originAction: null, originAction: null,
preInBack:null, preInBack:null,
vailDispatch:null,
vailGroupBuy:null,
} }
this.addDialogVisible = true; this.addDialogVisible = true;
}, },

@ -405,7 +405,7 @@
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span>包装单位/包装级别:&nbsp;</span> <span>包装层级:&nbsp;</span>
</div> </div>
<el-input <el-input

@ -189,8 +189,8 @@
<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="bzcj">
<el-input style="width: 90%" size="small" splaceholder="请输入包装单位/包装级别" v-model="editQuery.bzcj" :disabled="true"></el-input> <el-input style="width: 90%" size="small" splaceholder="请输入包装层级" v-model="editQuery.bzcj" :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -46,8 +46,6 @@
style="width: 90%"></el-input> style="width: 90%"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item class="query-form-item" label="对照条件:"> <el-form-item class="query-form-item" label="对照条件:">
<el-select v-model="filterQuery.filterType" placeholder="请选择过滤对照条件" <el-select v-model="filterQuery.filterType" placeholder="请选择过滤对照条件"
@ -62,6 +60,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item class="query-form-item" label="注册备案人:"> <el-form-item class="query-form-item" label="注册备案人:">
<el-input v-model="filterQuery.ylqxzcrbarmc" placeholder="生产企业/注册备案人" <el-input v-model="filterQuery.ylqxzcrbarmc" placeholder="生产企业/注册备案人"
@ -76,6 +77,24 @@
clearable="true"></el-input> clearable="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item class="query-form-item" label="集采状态">
<el-select v-model="filterQuery.groupBuy" placeholder="集采状态" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="集采" value="true"></el-option>
<el-option label="非集采" value="false"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item class="query-form-item" label="可配送状态">
<el-select v-model="filterQuery.dispatch" placeholder="可配送状态" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="可配送" value="true"></el-option>
<el-option label="不可配送" value="false"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<div class="top-right-btn"> <div class="top-right-btn">
@ -191,11 +210,12 @@
<span>产品标识:</span> <span>产品标识:</span>
</div> </div>
<el-table v-loading="loading" :data="detailList" style="width: 100%; " border key="3" highlight-current-row @current-change="handleDetail"> <el-table v-loading="loading" :data="detailList" style="width: 100%; " border key="3"
highlight-current-row @current-change="handleDetail">
<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="packUnit" show-overflow-tooltip></el-table-column> <el-table-column label="包装单位" prop="packUnit" show-overflow-tooltip></el-table-column>
</el-table> </el-table>
</el-card> </el-card>
<el-card> <el-card>
@ -895,7 +915,7 @@
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span>包装单位/包装级别:&nbsp;</span> <span>包装层级:&nbsp;</span>
</div> </div>
<el-input <el-input
@ -1152,6 +1172,7 @@ import selectHospProduct from "@/views/basic/product/bindHospProduct";
import selectUnBindHospProduct from "@/views/basic/product/unbindHospProduct"; import selectUnBindHospProduct from "@/views/basic/product/unbindHospProduct";
import {getBasicHospType, getListTree} from "@/api/basic/basicHospType"; import {getBasicHospType, getListTree} from "@/api/basic/basicHospType";
export default { export default {
data() { data() {
return { return {
@ -1168,7 +1189,10 @@ export default {
addType: 1, addType: 1,
thrPiId: null, thrPiId: null,
filterType: null, filterType: null,
diType: 1 diType: 1,
dispatch: null,
groupBuy: null,
}, },
rId: null, rId: null,
selectUdiTypeVisible: false, selectUdiTypeVisible: false,
@ -1523,7 +1547,7 @@ export default {
this.getList(); this.getList();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.filterQuery.page = val.page; this.filterQuery.page = val;
this.getList(); this.getList();
}, },
handleModifyClick(row) { handleModifyClick(row) {

@ -18,8 +18,11 @@
<el-table-column label="生产厂家" prop="manufactory" show-overflow-tooltip></el-table-column> <el-table-column label="生产厂家" prop="manufactory" show-overflow-tooltip></el-table-column>
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click="addSelectErp(scope.row)" :disabled="scope.row.thirdId==editQuery.nameCode">关联</el-button> <el-button type="text" @click="addSelectErp(scope.row)" :disabled="scope.row.thirdId==editQuery.nameCode">
<el-button type="text" @click.native.stop="removeErp(scope.row)" :disabled="editQuery.flbm==null || scope.row.thirdId==null || scope.row.thirdId==''">解绑 关联
</el-button>
<el-button type="text" @click.native.stop="removeErp(scope.row)"
:disabled="editQuery.flbm==null || scope.row.thirdId==null || scope.row.thirdId==''">解绑
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -35,13 +38,16 @@
<div style=" float: right; <div style=" float: right;
text-align: right; text-align: right;
margin-bottom: 8px;"> margin-bottom: 8px;">
<el-button type="primary" size="mini" icon="search" @click="removeDi" v-if="productType!=1" style="text-align:right">DI</el-button> <el-button type="primary" size="mini" icon="search" @click="removeDi" v-if="productType!=1"
style="text-align:right">解绑DI器械信息
</el-button>
</div> </div>
<el-table v-loading="loading" :data="detailList" style="width: 100%; " border key="3" highlight-current-row @current-change="handleDetail"> <el-table v-loading="loading" :data="detailList" style="width: 100%; " border key="3" highlight-current-row
@current-change="handleDetail">
<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="packUnit" show-overflow-tooltip></el-table-column> <el-table-column label="包装单位" prop="packUnit" show-overflow-tooltip></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.stop="singleDiEdit">编辑</el-button> <el-button type="text" @click.native.stop="singleDiEdit">编辑</el-button>
@ -184,27 +190,42 @@
</el-row> </el-row>
<el-row type="flex" class="edit-row"> <el-row type="flex" class="edit-row">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="最小包装可使用次数:"> <el-form-item label="医保编码:">
<el-input <el-input
style="width: 80%" style="width: 80%"
size="small" size="small"
splaceholder="请输入内容" splaceholder="请输入内容"
:disabled="this.useNumEnable" v-model="editQuery.ybbm"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="使用周期(天):">
<el-input
style="width: 80%"
size="small"
type="number" type="number"
v-model="editQuery.useNum" splaceholder="请输入内容"
v-model="editQuery.useExpireTime"
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="医保编码:"> <el-form-item label="最小包装可使用次数:">
<el-input <el-input
style="width: 80%" style="width: 80%"
size="small" size="small"
splaceholder="请输入内容" splaceholder="请输入内容"
v-model="editQuery.ybbm" :disabled="this.useNumEnable"
type="number"
v-model="editQuery.useNum"
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row type="flex"> <el-row type="flex">
<el-col :span="24"> <el-col :span="24">
@ -254,7 +275,29 @@
@change="useMutiChange" @change="useMutiChange"
style="width: 180px" style="width: 180px"
border border
>允许科室多次使用出库 >多次/重复使用耗材
</el-checkbox>
<el-checkbox v-model="editQuery.dispatch"
style="width: 180px"
border
>是否可配送
</el-checkbox>
</div>
</el-col>
</el-row>
<el-row :gutter="20" class="el-row" type="flex">
<el-col :span="24" class="el-col">
<div style="margin-bottom: 18px;margin-left: 25px">
<el-checkbox v-model="editQuery.groupBuy"
style="width: 180px"
@change="groupBuyChange"
border
>是否集采产品
</el-checkbox> </el-checkbox>
</div> </div>
</el-col> </el-col>
@ -550,7 +593,13 @@ export default {
this.selectErpDialogVisible = false; this.selectErpDialogVisible = false;
this.getThirdSysDetail(); this.getThirdSysDetail();
}, },
groupBuyChange() {
if (this.editQuery.groupBuy == true) {
this.editQuery.dispatch = true;
} else {
this.editQuery.dispatch = false;
}
},
} }
} }
</script> </script>

@ -197,8 +197,8 @@
<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="bzcj">
<el-input style="width: 90%" size="small" splaceholder="请输入包装单位/包装级别" v-model="editQuery.bzcj" :disabled="true"></el-input> <el-input style="width: 90%" size="small" splaceholder="请输入包装层级" v-model="editQuery.bzcj" :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -425,7 +425,7 @@
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span>包装单位/包装级别:&nbsp;</span> <span>包装层级:&nbsp;</span>
</div> </div>
<el-input <el-input

@ -438,7 +438,7 @@
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span>包装单位/包装级别:&nbsp;</span> <span>包装层级:&nbsp;</span>
</div> </div>
<el-input <el-input

@ -354,7 +354,7 @@
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<div class="text item"> <div class="text item">
<div class="itemTag"> <div class="itemTag">
<span>包装单位/包装级别:&nbsp;</span> <span>包装层级:&nbsp;</span>
</div> </div>
<el-input <el-input

@ -188,8 +188,8 @@
<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="bzcj">
<el-input style="width: 90%" size="small" splaceholder="请输入包装单位/包装级别" v-model="editQuery.bzcj" :disabled="true"></el-input> <el-input style="width: 90%" size="small" splaceholder="请输入包装层级" v-model="editQuery.bzcj" :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -188,8 +188,8 @@
<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="bzcj">
<el-input style="width: 90%" size="small" splaceholder="请输入包装单位/包装级别" v-model="editQuery.bzcj" :disabled="true"></el-input> <el-input style="width: 90%" size="small" splaceholder="请输入包装层级" v-model="editQuery.bzcj" :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -188,8 +188,8 @@
<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="bzcj">
<el-input style="width: 90%" size="small" splaceholder="请输入包装单位/包装级别" v-model="editQuery.bzcj" :disabled="true"></el-input> <el-input style="width: 90%" size="small" splaceholder="请输入包装层级" v-model="editQuery.bzcj" :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -111,8 +111,8 @@
<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="bzcj">
<el-input style="width: 90%" size="small" splaceholder="请输入包装单位/包装级别" v-model="editQuery.bzcj" :disabled="true"></el-input> <el-input style="width: 90%" size="small" splaceholder="请输入包装层级" v-model="editQuery.bzcj" :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

Loading…
Cancel
Save