|
@@ -139,7 +139,7 @@
|
|
|
<el-button style="margin-left: 10px" type="success" @click="baoCunClick"
|
|
|
>保存并冲红
|
|
|
</el-button>
|
|
|
- <el-button @click="handleOnlyChargeRed"> 仅充红</el-button>
|
|
|
+ <el-button @click="handleOnlyChargeRed"> 仅冲红</el-button>
|
|
|
</header>
|
|
|
<div>
|
|
|
<PatientInfo />
|
|
@@ -561,13 +561,14 @@ async function handleSave() {
|
|
|
async function handleCorrectInvoice(inputFee = true) {
|
|
|
checkZyFee();
|
|
|
const zyCodes = zyXinXiList.value.map(item => {
|
|
|
- return item.chargeCodeMx;
|
|
|
+ return `${item.itemNo}_${item.chargeCodeMx}`;
|
|
|
});
|
|
|
const codes = [];
|
|
|
|
|
|
mzXinXiList.value.forEach(item => {
|
|
|
- if (!zyCodes.includes(item.chargeCodeMx)) {
|
|
|
- codes.push(item.chargeCodeMx);
|
|
|
+ const key = `${item.itemNo}_${item.chargeCodeMx}`;
|
|
|
+ if (!zyCodes.includes(key)) {
|
|
|
+ codes.push(key);
|
|
|
}
|
|
|
});
|
|
|
|