|
@@ -176,6 +176,21 @@
|
|
|
<outpatient-diagnose-supply :med-type="medType" :mz-visit="mzVisit"
|
|
|
@close="showInputDiags = false"></outpatient-diagnose-supply>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <el-dialog v-model="showAcctUsedFlagPicker" width="260px" title="是否使用个账">
|
|
|
+ <div style="width: 100%; display: flex; align-items: center;justify-content: center">
|
|
|
+ <div style="width: 120px; text-align: left">
|
|
|
+ <el-radio label="0" v-model="acctUsedFlag">不使用个账</el-radio>
|
|
|
+ <div></div>
|
|
|
+ <el-radio label="1" v-model="acctUsedFlag">使用本人个账</el-radio>
|
|
|
+ <div></div>
|
|
|
+ <el-radio label="2" v-model="acctUsedFlag">使用共济人个账</el-radio>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="width: 100%; text-align: center; margin-top: 30px">
|
|
|
+ <el-button type="primary" style="width: 120px" @click="mzSettle">确定</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</template>
|
|
|
</page-layer>
|
|
|
</template>
|
|
@@ -641,7 +656,14 @@ const deleteMtFees = () => {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-const mzSettle = (useAcctFlag) => {
|
|
|
+
|
|
|
+const showAcctUsedFlagPicker = ref(false)
|
|
|
+const acctUsedFlag = ref('0')
|
|
|
+const chooseWhetherUseAcctFlag = () => {
|
|
|
+ showAcctUsedFlagPicker.value = true
|
|
|
+}
|
|
|
+
|
|
|
+const mzSettle = () => {
|
|
|
if (!currentRow.value.times) {
|
|
|
ElMessage({
|
|
|
message: '请先选择历史处方。',
|
|
@@ -660,7 +682,7 @@ const mzSettle = (useAcctFlag) => {
|
|
|
readCardBizType: readCardData.readCardBizType,
|
|
|
ledgerSn: 0,
|
|
|
calType: 1,
|
|
|
- acctUsedFlag: useAcctFlag,
|
|
|
+ acctUsedFlag: acctUsedFlag.value,
|
|
|
}
|
|
|
if (injuryMode.value) {
|
|
|
injuryOutpatientSettlement(param).then(res => {
|
|
@@ -720,7 +742,7 @@ const settlement = (command) => {
|
|
|
mzPreSetl()
|
|
|
} else if (command === 'fin') {
|
|
|
if (injuryMode.value) {
|
|
|
- mzSettle('0')
|
|
|
+ mzSettle()
|
|
|
} else {
|
|
|
chooseWhetherUseAcctFlag()
|
|
|
}
|
|
@@ -729,23 +751,6 @@ const settlement = (command) => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const chooseWhetherUseAcctFlag = () => {
|
|
|
- ElMessageBox.confirm('是否使用个人账户?', '提示', {
|
|
|
- type: 'warning',
|
|
|
- confirmButtonText: '不使用',
|
|
|
- cancelButtonText: '使用',
|
|
|
- distinguishCancelAndClose: true,
|
|
|
- closeOnClickModal: false,
|
|
|
- closeOnPressEscape: false,
|
|
|
- }).then(() => {
|
|
|
- mzSettle('0')
|
|
|
- }).catch((action) => {
|
|
|
- if (action === 'cancel') {
|
|
|
- mzSettle('1')
|
|
|
- }
|
|
|
- })
|
|
|
-}
|
|
|
-
|
|
|
const clearinfo = () => {
|
|
|
patNo.value = ''
|
|
|
medType.value = ''
|