mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
v1.9 优化云打印bug
This commit is contained in:
parent
07e1278567
commit
a291ba27b0
@ -77,7 +77,7 @@ export function listMachinePrinter(params) {
|
||||
export function printPayFeeDetail(data) {
|
||||
return new Promise((resolve, reject) => {
|
||||
request({
|
||||
url: '/print/printPayFeeDetail',
|
||||
url: '/print.printPayFeeDetail',
|
||||
method: 'post',
|
||||
data: {
|
||||
...data,
|
||||
|
||||
@ -265,7 +265,11 @@ export default {
|
||||
quantity: this.printSmallPayFeeInfo.quantity,
|
||||
detailId: detailIds.join(',')
|
||||
}
|
||||
await printPayFeeDetail(data)
|
||||
const {code,msg} = await printPayFeeDetail(data)
|
||||
if (code != 0) {
|
||||
this.$message.error(msg)
|
||||
return;
|
||||
}
|
||||
this.cloudPrintVisible = false
|
||||
this.$message.success(this.$t('printSmallPayFee.submitSuccess'))
|
||||
} catch (error) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user