Browse Source

退回到不可结算单增加结算单号条件

master
zhouhongjun 5 months ago
parent
commit
193776b873
  1. 11
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/usable.js

11
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/usable.js

@ -33,24 +33,21 @@ export default {
);
}
if (item.path === "back") {
const data = appListRef.value.buildQuery();
const invbillNum = rows[0].billNum;
await appListRef.value.onClick(
async () => {
const result = await request(backUrl, data, { method: "POST" }, true);
const result = await request(backUrl, invbillNum, { method: "POST" }, true);
if (result.errors) {
if (result.data.code === 400 && result.data.fileName) {
ElMessage({
type: "warnning",
message: "操作失败",
});
window.open(getUrl(`settleaccount/getblobfile/download/${result.data.fileName}`));
}
console.log(result);
}
},
`确认是否退回到不可结算单?`,
`确认${invbillNum}退回到不可结算单?`,
true
);
}
};
return { appListRef, config, onCommand };

Loading…
Cancel
Save