|
@@ -657,7 +657,7 @@ export default {
|
|
|
mzPreSetl()
|
|
|
break
|
|
|
case 'realSettlement':
|
|
|
- mzSettle()
|
|
|
+ chooseWhetherUseAcctFlag()
|
|
|
break
|
|
|
case 'cancelSettlement':
|
|
|
revokeMzSettle()
|
|
@@ -683,10 +683,28 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- const mzSettle = () => {
|
|
|
+ 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 mzSettle = (useAcctFlag) => {
|
|
|
const param = {
|
|
|
patNo: patientId.value,
|
|
|
times: times.value,
|
|
|
+ acctUsedFlag: useAcctFlag,
|
|
|
mdtrtCertType: readCardData.mdtrtCertType,
|
|
|
readCardResult: readCardData.readCardResult,
|
|
|
readCardBizType: readCardData.readCardBizType,
|