Commit a5ecef34 authored by 高滢's avatar 高滢

Merge remote-tracking branch 'origin/master'

parents ea286ab3 745314ab
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
data() { data() {
const contentNotNull = (rule, value, callback) => { const contentNotNull = (rule, value, callback) => {
const contentValue = html2Text(value) const contentValue = html2Text(value)
if (contentValue.length === 0) { if ((contentValue.length === 0 || contentValue.trim().length === 0) && !value.includes('img')) {
callback(new Error('请输入内容详情')) callback(new Error('请输入内容详情'))
} else { } else {
callback() callback()
......
...@@ -286,6 +286,7 @@ ...@@ -286,6 +286,7 @@
clearable clearable
placeholder="请选择病房类型" placeholder="请选择病房类型"
style="width: 100%" style="width: 100%"
disabled="true"
> >
<el-option <el-option
v-for="(item, index) in dict.type.ward_type" v-for="(item, index) in dict.type.ward_type"
...@@ -410,7 +411,8 @@ export default { ...@@ -410,7 +411,8 @@ export default {
checkType: '', checkType: '',
checkItemsName: '', checkItemsName: '',
checkItemsId: '', checkItemsId: '',
payAmount: '' payAmount: '',
devicePrice: ''
} }
], ],
treatment: [ treatment: [
...@@ -492,6 +494,8 @@ export default { ...@@ -492,6 +494,8 @@ export default {
changeWardType(prescribingForm) { changeWardType(prescribingForm) {
if (prescribingForm.diseaseLevel === '1') { if (prescribingForm.diseaseLevel === '1') {
prescribingForm.wardType = '2' prescribingForm.wardType = '2'
} else if (prescribingForm.diseaseLevel === null || prescribingForm.diseaseLevel === '') {
prescribingForm.wardType = null
} else { } else {
prescribingForm.wardType = '1' prescribingForm.wardType = '1'
} }
...@@ -514,7 +518,8 @@ export default { ...@@ -514,7 +518,8 @@ export default {
return { return {
label: item.name, label: item.name,
value: item.id, value: item.id,
payAmount: item.price payAmount: item.price,
devicePrice: item.hospitalPlatformPrice
} }
}) })
this.checkKeys = Object.keys(this.checkItemOptions).length this.checkKeys = Object.keys(this.checkItemOptions).length
...@@ -574,6 +579,7 @@ export default { ...@@ -574,6 +579,7 @@ export default {
if (item.value === rowData.checkItemsId) { if (item.value === rowData.checkItemsId) {
rowData.checkItemsName = item.label rowData.checkItemsName = item.label
rowData.payAmount = item.payAmount rowData.payAmount = item.payAmount
rowData.devicePrice = item.devicePrice
} }
}) })
}, },
...@@ -707,7 +713,8 @@ export default { ...@@ -707,7 +713,8 @@ export default {
checkType: '', checkType: '',
checkItemsName: '', checkItemsName: '',
checkItemsId: '', checkItemsId: '',
payAmount: '' payAmount: '',
devicePrice: ''
} }
break break
case 'treatment': case 'treatment':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment