2/7 龙海新增产品

Lhdev2.0
wangwei 2 months ago
parent 80871b3a2c
commit c0f0e4b2a4

@ -500,6 +500,21 @@
</div>
</el-col>
</el-row>
<el-row :gutter="20" class="el-row" type="flex">
<el-col :span="12">
<div class="text item">
<div class="itemTag">
<span>是否组套:&nbsp;</span>
</div>
<el-radio-group v-model="repEditQuery.isStack" style="margin-top: 10px">
<el-radio :label="true"></el-radio>
<el-radio :label="false"></el-radio>
</el-radio-group>
</div>
</el-col>
</el-row>
<el-row :gutter="20" class="el-row" type="flex">
@ -1055,7 +1070,11 @@ export default {
basicPrductRemak5: null,
basicPrductRemak6: null,
basicPrductRemak7: null,
basicPrductRemak8: null,
basicPrductRemak8: 1,
basicPrductRemak10 : null,
basicPrductRemak11 : null,
basicPrductRemak12 : null,
basicPrductRemak13 : null,
catalogcode: null,
catalogname1: null,
catalogname2: null,
@ -1066,6 +1085,8 @@ export default {
hcType: null,
flbm: null,
requireScanCode: null,
isStack: null,
groupBuy: null,
},
relevanceEdit: {
@ -1343,11 +1364,13 @@ export default {
this.repEditQuery.basicPrductRemak4 = null
this.repEditQuery.basicPrductRemak5 = null
this.repEditQuery.basicPrductRemak7 = null
this.repEditQuery.basicPrductRemak8 = null
this.repEditQuery.basicPrductRemak8 = 1
this.repEditQuery.basicPrductRemak10 = null
this.repEditQuery.basicPrductRemak11 = null
this.repEditQuery.basicPrductRemak12 = null
this.repEditQuery.basicPrductRemak13 = null
this.repEditQuery.groupBuy = null
this.repEditQuery.isStack = null
},
handleErpChange(val) {

@ -130,17 +130,92 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6 ">
<el-select v-model="editQuery.basicPrductRemak6" style="width: 65%"
placeholder="选择材料类别" :disabled="true"
>
<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-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable1">
<el-form-item :label="productRemarkSet.remarkTitle1 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak1"></el-input>
<el-select v-model="editQuery.basicPrductRemak1" style="width: 65%"
placeholder="选择材料分类" :disabled="true">
<el-option label="--请选择--" :value="null" disabled></el-option>
<div v-if="editQuery.basicPrductRemak6 == 1">
<el-option label="创面损伤" :value="83"></el-option>
<el-option label="功能敷料" :value="84"></el-option>
<el-option label="生物材料" :value="85"></el-option>
<el-option label="手术用品" :value="86"></el-option>
<el-option label="粘贴材料" :value="87"></el-option>
<el-option label="护创材料" :value="88"></el-option>
<el-option label="医用纺织品" :value="89"></el-option>
<el-option label="医用非织造布" :value="90"></el-option>
<el-option label="高值耗材" :value="95"></el-option>
<el-option label="一次性材料" :value="96"></el-option>
</div>
<div v-if="editQuery.basicPrductRemak6 == 2">
<el-option label="手术器械" :value="91"></el-option>
<el-option label="医疗仪器器械(简易类)" :value="92"></el-option>
<el-option label="口腔材料" :value="93"></el-option>
<el-option label="仪器设备" :value="94"></el-option>
<el-option label="低值易耗" :value="97"></el-option>
</div>
<div v-if="editQuery.basicPrductRemak6 == 3">
<el-option label="其他材料" :value="101"></el-option>
</div>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable2">
<el-form-item :label="productRemarkSet.remarkTitle2 ">
<el-select v-model="editQuery.basicPrductRemak2" style="width: 65%"
placeholder="选择材料小类" :disabled="true">
<el-option label="--请选择--" :value="null" disabled></el-option>
<div v-if="editQuery.basicPrductRemak6 == 1">
<el-option label="创面损伤" :value="253"></el-option>
<el-option label="功能敷料" :value="254"></el-option>
<el-option label="生物材料" :value="255"></el-option>
<el-option label="手术用品" :value="256"></el-option>
<el-option label="粘贴材料" :value="257"></el-option>
<el-option label="护创材料" :value="258"></el-option>
<el-option label="医用纺织品" :value="259"></el-option>
<el-option label="医用非织造布" :value="260"></el-option>
<el-option label="高值耗材" :value="268"></el-option>
<el-option label="一次性材料" :value="267"></el-option>
</div>
<div v-if="editQuery.basicPrductRemak6 == 2">
<el-option label="手术器械" :value="261"></el-option>
<el-option label="医疗仪器器械(简易类)" :value="262"></el-option>
<el-option label="口腔材料" :value="263"></el-option>
<el-option label="仪器设备" :value="264"></el-option>
<el-option label="低值易耗" :value="269"></el-option>
</div>
<div v-if="editQuery.basicPrductRemak6 == 3">
<el-option label="其他材料" :value="337"></el-option>
</div>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable3">
<el-form-item :label="productRemarkSet.remarkTitle3 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak2"></el-input>
v-model="editQuery.basicPrductRemak3"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable3">
@ -163,12 +238,6 @@
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak6"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable7">
<el-form-item :label="productRemarkSet.remarkTitle7 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
@ -182,6 +251,52 @@
v-model="editQuery.basicPrductRemak8"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable9">
<el-form-item :label="productRemarkSet.remarkTitle9">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak9"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable10">
<el-form-item :label="productRemarkSet.remarkTitle10">
<el-input style="width: 65%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="editQuery.basicPrductRemak10"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable11">
<el-form-item :label="productRemarkSet.remarkTitle11+':'" prop="basicPrductRemak11">
<el-select v-model="editQuery.basicPrductRemak11" style="width: 65%" :disabled="true"
placeholder="选择病案名称类型" >
<el-option label="检查用一次性医用材料费" :value="56"></el-option>
<el-option label="治疗用一次性医用材料费" :value="57"></el-option>
<el-option label="手术用一次性医用材料费" :value="58"></el-option>
<el-option label="其他类_其他费" :value="59"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable12">
<el-form-item :label="productRemarkSet.remarkTitle12+':'" prop="basicPrductRemak12">
<el-select v-model="editQuery.basicPrductRemak12" style="width: 65%" :disabled="true"
placeholder="选择医保结算" >
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable13">
<el-form-item :label="productRemarkSet.remarkTitle13+':'" prop="basicPrductRemak13">
<el-select v-model="editQuery.basicPrductRemak13" style="width: 65%" :disabled="true"
placeholder="选择是否医保范围" >
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-collapse v-model="activeNames">
@ -561,7 +676,7 @@ export default {
required: true,
}
},
data() {
editQuerydata() {
return {
activeNames: ['1'],
remark: "",
@ -570,6 +685,11 @@ export default {
productRemarkSet: {}
}
},
data(){
return{
productRemarkSet: {}
}
},
methods: {
handleDetail(row) {
this.editQuery = {...this.pQuery,...row};
@ -622,6 +742,24 @@ export default {
};
this.pQuery = this.editQuery
this.getDetailList(ttquery);
if (this.editQuery.basicPrductRemak6 != null){
this.editQuery.basicPrductRemak6 = Number(this.editQuery.basicPrductRemak6)
}
if (this.editQuery.basicPrductRemak1 != null){
this.editQuery.basicPrductRemak1 = Number(this.editQuery.basicPrductRemak1)
}
if (this.editQuery.basicPrductRemak2 != null){
this.editQuery.basicPrductRemak2 = Number(this.editQuery.basicPrductRemak2)
}
if (this.editQuery.basicPrductRemak11 != null){
this.editQuery.basicPrductRemak11 = Number(this.editQuery.basicPrductRemak11)
}
if (this.editQuery.basicPrductRemak12!= null){
this.editQuery.basicPrductRemak12 = Number(this.editQuery.basicPrductRemak12)
}
if (this.editQuery.basicPrductRemak13 != null){
this.editQuery.basicPrductRemak13 = Number(this.editQuery.basicPrductRemak13)
}
},
};
</script>

@ -315,103 +315,195 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable1">
<el-form-item :label="productRemarkSet.remarkTitle1 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak1"></el-input>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6+':'" prop="basicPrductRemak6">
<el-select v-model="editQuery.basicPrductRemak6" style="width: 65%"
placeholder="选择材料类别" @change="changeLieBie()">
<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-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable1">
<el-form-item :label="productRemarkSet.remarkTitle1+':'" prop="basicPrductRemak1">
<el-select v-model="editQuery.basicPrductRemak1" style="width: 65%"
placeholder="选择材料分类" >
<el-option label="--请选择--" :value="null" disabled></el-option>
<div v-if="editQuery.basicPrductRemak6 == 1">
<el-option label="创面损伤" :value="83"></el-option>
<el-option label="功能敷料" :value="84"></el-option>
<el-option label="生物材料" :value="85"></el-option>
<el-option label="手术用品" :value="86"></el-option>
<el-option label="粘贴材料" :value="87"></el-option>
<el-option label="护创材料" :value="88"></el-option>
<el-option label="医用纺织品" :value="89"></el-option>
<el-option label="医用非织造布" :value="90"></el-option>
<el-option label="高值耗材" :value="95"></el-option>
<el-option label="一次性材料" :value="96"></el-option>
</div>
<div v-if="editQuery.basicPrductRemak6 == 2">
<el-option label="手术器械" :value="91"></el-option>
<el-option label="医疗仪器器械(简易类)" :value="92"></el-option>
<el-option label="口腔材料" :value="93"></el-option>
<el-option label="仪器设备" :value="94"></el-option>
<el-option label="低值易耗" :value="97"></el-option>
</div>
<div v-if="editQuery.basicPrductRemak6 == 3">
<el-option label="其他材料" :value="101"></el-option>
</div>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable2">
<el-form-item :label="productRemarkSet.remarkTitle2 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak2"></el-input>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable3">
<el-form-item :label="productRemarkSet.remarkTitle3 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak3"></el-input>
<el-col :span="12" v-if="productRemarkSet.remarkEnable2">
<el-form-item :label="productRemarkSet.remarkTitle2+':'" prop="basicPrductRemak2">
<el-select v-model="editQuery.basicPrductRemak2" style="width: 65%"
placeholder="选择材料小类" >
<el-option label="--请选择--" :value="null" disabled></el-option>
<div v-if="editQuery.basicPrductRemak6 == 1">
<el-option label="创面损伤" :value="253"></el-option>
<el-option label="功能敷料" :value="254"></el-option>
<el-option label="生物材料" :value="255"></el-option>
<el-option label="手术用品" :value="256"></el-option>
<el-option label="粘贴材料" :value="257"></el-option>
<el-option label="护创材料" :value="258"></el-option>
<el-option label="医用纺织品" :value="259"></el-option>
<el-option label="医用非织造布" :value="260"></el-option>
<el-option label="高值耗材" :value="268"></el-option>
<el-option label="一次性材料" :value="267"></el-option>
</div>
<div v-if="editQuery.basicPrductRemak6 == 2">
<el-option label="手术器械" :value="261"></el-option>
<el-option label="医疗仪器器械(简易类)" :value="262"></el-option>
<el-option label="口腔材料" :value="263"></el-option>
<el-option label="仪器设备" :value="264"></el-option>
<el-option label="低值易耗" :value="269"></el-option>
</div>
<div v-if="editQuery.basicPrductRemak6 == 3">
<el-option label="其他材料" :value="337"></el-option>
</div>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable4">
<el-form-item :label="productRemarkSet.remarkTitle4 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak4"></el-input>
<el-col :span="12" v-if="productRemarkSet.remarkEnable3">
<el-form-item :label="productRemarkSet.remarkTitle3+':'" prop="basicPrductRemak3">
<el-input
style="width: 65%"
size="small"
splaceholder="请输入内容"
type='number'
v-model="editQuery.basicPrductRemak3"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable5">
<el-form-item :label="productRemarkSet.remarkTitle5 ">
<el-input style="width: 65%" size="small" splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak5"></el-input>
<el-col :span="12" v-if="productRemarkSet.remarkEnable4">
<el-form-item :label="productRemarkSet.remarkTitle4+':'" prop="basicPrductRemak4">
<el-input
style="width: 65%"
size="small"
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak4"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6">
<el-select
v-model="editQuery.basicPrductRemak6"
placeholder="请选择"
clearable
<el-col :span="12" v-if="productRemarkSet.remarkEnable5">
<el-form-item :label="productRemarkSet.remarkTitle5+':'" prop="basicPrductRemak5">
<el-input
style="width: 65%"
>
<el-option label="扣费" value="1"></el-option>
<el-option label="不扣费" value="0"></el-option>
</el-select>
size="small"
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak5"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="productRemarkSet.remarkEnable7">
<el-form-item :label="productRemarkSet.remarkTitle7 ">
<el-select
<el-col :span="12" v-if="productRemarkSet.remarkEnable7">
<el-form-item :label="productRemarkSet.remarkTitle7+':'" prop="basicPrductRemak7">
<el-input
style="width: 65%"
size="small"
type='number'
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak7"
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择物资类别"
:remote-method="findThrTypeMethod"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable8">
<el-form-item :label="productRemarkSet.remarkTitle8+':'" prop="basicPrductRemak8">
<el-input
style="width: 65%"
>
<el-option
v-for="item in thrTypeOptions"
:key="item.code"
:label="item.name"
:value="item.code"
>
<span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.code }}</span>
</el-option>
size="small"
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak8"
disabled
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable9">
<el-form-item :label="productRemarkSet.remarkTitle9+':'" prop="basicPrductRemak9">
<el-input
style="width: 65%"
size="small"
type='number'
splaceholder="请输入内容"
v-model="editQuery.basicPrductRemak9"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable10">
<el-form-item :label="productRemarkSet.remarkTitle10+':'" prop="basicPrductRemak10">
<el-input
style="width: 65%"
size="small"
placeholder="请输入内容"
type='number'
step="0.01"
v-model="editQuery.basicPrductRemak10"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable11">
<el-form-item :label="productRemarkSet.remarkTitle11+':'" prop="basicPrductRemak11">
<el-select v-model="editQuery.basicPrductRemak11" style="width: 65%"
placeholder="选择病案名称类型" >
<el-option label="检查用一次性医用材料费" :value="56"></el-option>
<el-option label="治疗用一次性医用材料费" :value="57"></el-option>
<el-option label="手术用一次性医用材料费" :value="58"></el-option>
<el-option label="其他类_其他费" :value="59"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col"
v-if="productRemarkSet.remarkEnable8==true && editQuery.basicPrductRemak6=='1'">
<el-form-item :label="productRemarkSet.remarkTitle8">
<el-select
v-model="editQuery.basicPrductRemak8"
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择物价类别"
:remote-method="findHsflMethod"
:loading="loading"
style="width: 65%"
>
<el-option
v-for="item in hsflOptions"
:key="item.hsbm"
:label="item.hsmc"
:value="item.hsbm"
>
<span style="float: left">{{ item.hsmc }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.hsbm }}</span>
</el-option>
<el-col :span="12" v-if="productRemarkSet.remarkEnable12">
<el-form-item :label="productRemarkSet.remarkTitle12+':'" prop="basicPrductRemak12">
<el-select v-model="editQuery.basicPrductRemak12" style="width: 65%"
placeholder="选择医保结算" >
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable13">
<el-form-item :label="productRemarkSet.remarkTitle13+':'" prop="basicPrductRemak13">
<el-select v-model="editQuery.basicPrductRemak13" style="width: 65%"
placeholder="选择是否医保范围" >
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
@ -526,6 +618,20 @@ export default {
catalogname2: null,
catalogname3: null,
matrial: null,
basicPrductRemak1: null,
basicPrductRemak2: null,
basicPrductRemak3: null,
basicPrductRemak4: null,
basicPrductRemak5: null,
basicPrductRemak6: null,
basicPrductRemak7: null,
basicPrductRemak8: 1,
basicPrductRemak9: null,
basicPrductRemak10 : null,
basicPrductRemak11 : null,
basicPrductRemak12 : null,
basicPrductRemak13 : null,
},
thirdSys: [],
@ -697,6 +803,19 @@ export default {
catalogname2: null,
catalogname3: null,
matrial: null,
basicPrductRemak1: null,
basicPrductRemak2: null,
basicPrductRemak3: null,
basicPrductRemak4: null,
basicPrductRemak5: null,
basicPrductRemak6: null,
basicPrductRemak7: null,
basicPrductRemak8: 1,
basicPrductRemak9: null,
basicPrductRemak10 : null,
basicPrductRemak11 : null,
basicPrductRemak12 : null,
basicPrductRemak13 : null,
}
this.currentRow = val
this.curSelectDi = val
@ -707,6 +826,7 @@ export default {
this.editQuery.manufactory = this.currentRow.ylqxzcrbarmc;
this.editQuery.spmc = this.currentRow.cpmctymc;
this.editQuery.cpms = this.currentRow.cpms;
this.editQuery.basicPrductRemak8 = 1
//
this.getYbHcData()
},
@ -835,6 +955,10 @@ export default {
this.loading = false;
});
},
changeLieBie(){
this.editQuery.basicPrductRemak1 = null
this.editQuery.basicPrductRemak2 = null
},
},
created() {

@ -1,6 +1,6 @@
<template>
<el-card class="el-card">
<el-form :model="newProductData" size="mini" label-width="150px" :rules="rules">
<el-form :model="newProductData" size="mini" label-width="150px" :rules="rules" ref="dataForm">
<div style="margin-bottom: 20px">
<!-- <el-row>-->
<!-- <el-col :span="12" class="el-col">-->
@ -164,30 +164,89 @@
clearable
style="width: 90%"
>
<el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option>
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6+':'" prop="basicPrductRemak6">
<el-select v-model="newProductData.basicPrductRemak6" style="width: 90%"
placeholder="选择材料类别" @change="changeLieBie()">
<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-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable1">
<el-form-item :label="productRemarkSet.remarkTitle1+':'" prop="basicPrductRemak1">
<el-input
style="width: 90%"
size="small"
splaceholder="请输入内容"
v-model="newProductData.basicPrductRemak1"
></el-input>
<el-select v-model="newProductData.basicPrductRemak1" style="width: 90%"
placeholder="选择材料分类" >
<el-option label="--请选择--" :value="null" disabled></el-option>
<div v-if="newProductData.basicPrductRemak6 == 1">
<el-option label="创面损伤" :value="83"></el-option>
<el-option label="功能敷料" :value="84"></el-option>
<el-option label="生物材料" :value="85"></el-option>
<el-option label="手术用品" :value="86"></el-option>
<el-option label="粘贴材料" :value="87"></el-option>
<el-option label="护创材料" :value="88"></el-option>
<el-option label="医用纺织品" :value="89"></el-option>
<el-option label="医用非织造布" :value="90"></el-option>
<el-option label="高值耗材" :value="95"></el-option>
<el-option label="一次性材料" :value="96"></el-option>
</div>
<div v-if="newProductData.basicPrductRemak6 == 2">
<el-option label="手术器械" :value="91"></el-option>
<el-option label="医疗仪器器械(简易类)" :value="92"></el-option>
<el-option label="口腔材料" :value="93"></el-option>
<el-option label="仪器设备" :value="94"></el-option>
<el-option label="低值易耗" :value="97"></el-option>
</div>
<div v-if="newProductData.basicPrductRemak6 == 3">
<el-option label="其他材料" :value="101"></el-option>
</div>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable2">
<el-form-item :label="productRemarkSet.remarkTitle2+':'" prop="basicPrductRemak2">
<el-input
style="width: 90%"
size="small"
splaceholder="请输入内容"
v-model="newProductData.basicPrductRemak2"
></el-input>
<el-select v-model="newProductData.basicPrductRemak2" style="width: 90%"
placeholder="选择材料小类" >
<el-option label="--请选择--" :value="null" disabled></el-option>
<div v-if="newProductData.basicPrductRemak6 == 1">
<el-option label="创面损伤" :value="253"></el-option>
<el-option label="功能敷料" :value="254"></el-option>
<el-option label="生物材料" :value="255"></el-option>
<el-option label="手术用品" :value="256"></el-option>
<el-option label="粘贴材料" :value="257"></el-option>
<el-option label="护创材料" :value="258"></el-option>
<el-option label="医用纺织品" :value="259"></el-option>
<el-option label="医用非织造布" :value="260"></el-option>
<el-option label="高值耗材" :value="268"></el-option>
<el-option label="一次性材料" :value="267"></el-option>
</div>
<div v-if="newProductData.basicPrductRemak6 == 2">
<el-option label="手术器械" :value="261"></el-option>
<el-option label="医疗仪器器械(简易类)" :value="262"></el-option>
<el-option label="口腔材料" :value="263"></el-option>
<el-option label="仪器设备" :value="264"></el-option>
<el-option label="低值易耗" :value="269"></el-option>
</div>
<div v-if="newProductData.basicPrductRemak6 == 3">
<el-option label="其他材料" :value="337"></el-option>
</div>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable3">
@ -196,6 +255,7 @@
style="width: 90%"
size="small"
splaceholder="请输入内容"
type='number'
v-model="newProductData.basicPrductRemak3"
></el-input>
</el-form-item>
@ -220,67 +280,88 @@
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6+':'" prop="basicPrductRemak6">
<el-select
v-model="newProductData.basicPrductRemak6"
placeholder="请选择"
clearable
style="width: 90%"
>
<el-option label="扣费" value="1"></el-option>
<el-option label="不扣费" value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable7">
<el-form-item :label="productRemarkSet.remarkTitle7+':'" prop="basicPrductRemak7">
<el-select
v-model="newProductData.basicPrductRemak7"
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择物资类别"
:remote-method="findThrTypeMethod"
<el-input
style="width: 90%"
>
<el-option
v-for="item in thrTypeOptions"
:key="item.code"
:label="item.name"
:value="item.code"
>
<span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.code }}</span>
</el-option>
</el-select>
size="small"
type='number'
splaceholder="请输入内容"
v-model="newProductData.basicPrductRemak7"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable8">
<el-form-item :label="productRemarkSet.remarkTitle8+':'" prop="basicPrductRemak8">
<el-select
<el-input
style="width: 90%"
size="small"
splaceholder="请输入内容"
v-model="newProductData.basicPrductRemak8"
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择物价类别"
:remote-method="findHsflMethod"
disabled
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable9">
<el-form-item :label="productRemarkSet.remarkTitle9+':'" prop="basicPrductRemak9">
<el-input
style="width: 90%"
>
<el-option
v-for="item in hsflOptions"
:key="item.hsbm"
:label="item.hsmc"
:value="item.hsbm"
>
<span style="float: left">{{ item.hsmc }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.hsbm }}</span>
</el-option>
size="small"
type='number'
splaceholder="请输入内容"
v-model="newProductData.basicPrductRemak9"
></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable10">
<el-form-item :label="productRemarkSet.remarkTitle10+':'" prop="basicPrductRemak10">
<el-input
style="width: 90%"
size="small"
placeholder="请输入内容"
type='number'
step="0.01"
v-model="newProductData.basicPrductRemak10"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12" v-if="productRemarkSet.remarkEnable11">
<el-form-item :label="productRemarkSet.remarkTitle11+':'" prop="basicPrductRemak11">
<el-select v-model="newProductData.basicPrductRemak11" style="width: 90%"
placeholder="选择病案名称类型" >
<el-option label="检查用一次性医用材料费" :value="56"></el-option>
<el-option label="治疗用一次性医用材料费" :value="57"></el-option>
<el-option label="手术用一次性医用材料费" :value="58"></el-option>
<el-option label="其他类_其他费" :value="59"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable12">
<el-form-item :label="productRemarkSet.remarkTitle12+':'" prop="basicPrductRemak12">
<el-select v-model="newProductData.basicPrductRemak12" style="width: 90%"
placeholder="选择医保结算" >
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable13">
<el-form-item :label="productRemarkSet.remarkTitle13+':'" prop="basicPrductRemak13">
<el-select v-model="newProductData.basicPrductRemak13" style="width: 90%"
placeholder="选择是否医保范围" >
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="23" class="el-col" style="margin-top: 12px">
@ -307,6 +388,7 @@ import {getBasicThirdSys} from "@/api/basic/basicThirdSys";
import {addProduct, addThrAddProductsNew} from "@/api/thrsys/thrProductsAdd";
import {getHslbs, getThrProductType} from "@/api/thrsys/thrHsfl";
import {finProductSet} from "@/api/param/systemParamConfig";
import { addSupCertSet, modifySupCertSet } from '@/api/purchase/supCertSet'
export default {
name: "ThrProductsAdd",
@ -342,9 +424,19 @@ export default {
thirdSysFk: null,
purType: null,
attributeType: null,
basicPrductRemak1: null,
basicPrductRemak2: null,
basicPrductRemak3: null,
basicPrductRemak4: null,
basicPrductRemak5: null,
basicPrductRemak6: null,
basicPrductRemak8: null,
basicPrductRemak7: null,
basicPrductRemak8: 1,
basicPrductRemak9: null,
basicPrductRemak10 : null,
basicPrductRemak11 : null,
basicPrductRemak12 : null,
basicPrductRemak13 : null,
price: null,
@ -420,18 +512,88 @@ export default {
trigger: "change"
}
],
isStack: [
{
required: true,
message: "请选择是否组套",
trigger: "change"
}
],
basicPrductRemak6: [
{
required: true,
message: "请选择是否收费",
message: "请选择材料类别",
trigger: "change"
}
],
basicPrductRemak1: [
{
required: true,
message: "请选择材料分类",
trigger: "change"
}
],
basicPrductRemak2: [
{
required: true,
message: "请选择材料小类",
trigger: "change"
}
],
basicPrductRemak3: [
{
required: true,
message: "请输入耗材产地",
trigger: "change"
}
],
basicPrductRemak4: [
{
required: true,
message: "请输入规格",
trigger: "change"
}
],
basicPrductRemak5: [
{
required: true,
message: "请输入型号",
trigger: "change"
}
],
basicPrductRemak7: [
{
required: true,
message: "请选择物资类别",
message: "请输入计量单位",
trigger: "change"
}
],
basicPrductRemak10: [
{
required: true,
message: "请输入零售价",
trigger: "change"
}
],
basicPrductRemak11: [
{
required: true,
message: "请选择病案名称",
trigger: "change"
}
],
basicPrductRemak12: [
{
required: true,
message: "请选择是否医保结算",
trigger: "change"
}
],
basicPrductRemak13: [
{
required: true,
message: "请选择是否医保范围",
trigger: "change"
}
],
@ -479,36 +641,38 @@ export default {
// return;
// }
this.newProductData.sourceType = 1
if (this.newType == 1) {
saveNewProduct(this.newProductData).then((res) => {
if (res.code == 20000) {
this.$message.success("添加成功");
//
this.$emit("closeAddDialog", true);
this.closeAddDialog();
} else {
this.$message.error(res.message);
this.$refs["dataForm"].validate(valid => {
if (valid) {
if (this.newType == 1) {
saveNewProduct(this.newProductData).then((res) => {
if (res.code == 20000) {
this.$message.success("添加成功");
//
this.$emit("closeAddDialog", true);
this.closeAddDialog();
} else {
this.$message.error(res.message);
}
}).catch((error) => {
this.$message.error(error.message);
})
} else if (this.newType == 2) {
// addProduct(this.newProductData).then((res) => {
addThrAddProductsNew(this.newProductData).then((res) => {
if (res.code == 20000) {
this.$message.success("添加成功");
//
this.closeAddDialog(true);
} else {
this.$message.error(res.message);
}
}).catch((error) => {
this.$message.error(error.message);
})
}
}).catch((error) => {
this.$message.error(error.message);
})
} else if (this.newType == 2) {
// addProduct(this.newProductData).then((res) => {
addThrAddProductsNew(this.newProductData).then((res) => {
if (res.code == 20000) {
this.$message.success("添加成功");
//
this.closeAddDialog(true);
} else {
this.$message.error(res.message);
}
}).catch((error) => {
this.$message.error(error.message);
})
}
}
});
},
getBasicThirdSys() {
let query = {
@ -562,6 +726,10 @@ export default {
}
});
},
changeLieBie(){
this.newProductData.basicPrductRemak1 = null
this.newProductData.basicPrductRemak2 = null
},
},
created() {
this.findBasicProductSet();

@ -104,17 +104,100 @@
v-model="data.price"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="是否组套" prop="isStack">
<el-select
:disabled="true"
v-model="data.isStack"
placeholder="请选择"
clearable
style="width: 90%"
>
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6 ">
<el-select v-model="data.basicPrductRemak6" style="width: 90%"
placeholder="选择材料类别" :disabled="true"
>
<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-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable1">
<el-form-item :label="productRemarkSet.remarkTitle1 ">
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="data.basicPrductRemak1"></el-input>
<el-select v-model="data.basicPrductRemak1" style="width: 90%"
placeholder="选择材料分类" :disabled="true">
<el-option label="--请选择--" :value="null" disabled></el-option>
<div v-if="data.basicPrductRemak6 == 1">
<el-option label="创面损伤" :value="83"></el-option>
<el-option label="功能敷料" :value="84"></el-option>
<el-option label="生物材料" :value="85"></el-option>
<el-option label="手术用品" :value="86"></el-option>
<el-option label="粘贴材料" :value="87"></el-option>
<el-option label="护创材料" :value="88"></el-option>
<el-option label="医用纺织品" :value="89"></el-option>
<el-option label="医用非织造布" :value="90"></el-option>
<el-option label="高值耗材" :value="95"></el-option>
<el-option label="一次性材料" :value="96"></el-option>
</div>
<div v-if="data.basicPrductRemak6 == 2">
<el-option label="手术器械" :value="91"></el-option>
<el-option label="医疗仪器器械(简易类)" :value="92"></el-option>
<el-option label="口腔材料" :value="93"></el-option>
<el-option label="仪器设备" :value="94"></el-option>
<el-option label="低值易耗" :value="97"></el-option>
</div>
<div v-if="data.basicPrductRemak6 == 3">
<el-option label="其他材料" :value="101"></el-option>
</div>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable2">
<el-form-item :label="productRemarkSet.remarkTitle2 ">
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="data.basicPrductRemak2"></el-input>
<el-select v-model="data.basicPrductRemak2" style="width: 90%"
placeholder="选择材料小类" :disabled="true">
<el-option label="--请选择--" :value="null" disabled></el-option>
<div v-if="data.basicPrductRemak6 == 1">
<el-option label="创面损伤" :value="253"></el-option>
<el-option label="功能敷料" :value="254"></el-option>
<el-option label="生物材料" :value="255"></el-option>
<el-option label="手术用品" :value="256"></el-option>
<el-option label="粘贴材料" :value="257"></el-option>
<el-option label="护创材料" :value="258"></el-option>
<el-option label="医用纺织品" :value="259"></el-option>
<el-option label="医用非织造布" :value="260"></el-option>
<el-option label="高值耗材" :value="268"></el-option>
<el-option label="一次性材料" :value="267"></el-option>
</div>
<div v-if="data.basicPrductRemak6 == 2">
<el-option label="手术器械" :value="261"></el-option>
<el-option label="医疗仪器器械(简易类)" :value="262"></el-option>
<el-option label="口腔材料" :value="263"></el-option>
<el-option label="仪器设备" :value="264"></el-option>
<el-option label="低值易耗" :value="269"></el-option>
</div>
<div v-if="data.basicPrductRemak6 == 3">
<el-option label="其他材料" :value="337"></el-option>
</div>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable3">
@ -137,12 +220,6 @@
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable6">
<el-form-item :label="productRemarkSet.remarkTitle6 ">
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="data.basicPrductRemak6"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable7">
<el-form-item :label="productRemarkSet.remarkTitle7 ">
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true"
@ -156,6 +233,51 @@
v-model="data.basicPrductRemak8"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable9">
<el-form-item :label="productRemarkSet.remarkTitle9">
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="data.basicPrductRemak9"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable10">
<el-form-item :label="productRemarkSet.remarkTitle10">
<el-input style="width: 90%" size="small" splaceholder="请输入内容" :disabled="true"
v-model="data.basicPrductRemak10"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable11">
<el-form-item :label="productRemarkSet.remarkTitle11+':'" prop="basicPrductRemak11">
<el-select v-model="data.basicPrductRemak11" style="width: 90%" :disabled="true"
placeholder="选择病案名称类型" >
<el-option label="检查用一次性医用材料费" :value="56"></el-option>
<el-option label="治疗用一次性医用材料费" :value="57"></el-option>
<el-option label="手术用一次性医用材料费" :value="58"></el-option>
<el-option label="其他类_其他费" :value="59"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable12">
<el-form-item :label="productRemarkSet.remarkTitle12+':'" prop="basicPrductRemak12">
<el-select v-model="data.basicPrductRemak12" style="width: 90%" :disabled="true"
placeholder="选择医保结算" >
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" v-if="productRemarkSet.remarkEnable13">
<el-form-item :label="productRemarkSet.remarkTitle13+':'" prop="basicPrductRemak13">
<el-select v-model="data.basicPrductRemak13" style="width: 90%" :disabled="true"
placeholder="选择是否医保范围" >
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
@ -244,6 +366,26 @@ export default {
},
created() {
if (this.data.basicPrductRemak6 != null){
this.data.basicPrductRemak6 = Number(this.data.basicPrductRemak6)
}
if (this.data.basicPrductRemak1 != null){
this.data.basicPrductRemak1 = Number(this.data.basicPrductRemak1)
}
if (this.data.basicPrductRemak2 != null){
this.data.basicPrductRemak2 = Number(this.data.basicPrductRemak2)
}
if (this.data.basicPrductRemak11 != null){
this.data.basicPrductRemak11 = Number(this.data.basicPrductRemak11)
}
if (this.data.basicPrductRemak12!= null){
this.data.basicPrductRemak12 = Number(this.data.basicPrductRemak12)
}
if (this.data.basicPrductRemak13 != null){
this.data.basicPrductRemak13 = Number(this.data.basicPrductRemak13)
}
this.findBasicProductSet()
}
}

Loading…
Cancel
Save