mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +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) {
|
export function printPayFeeDetail(data) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
request({
|
request({
|
||||||
url: '/print/printPayFeeDetail',
|
url: '/print.printPayFeeDetail',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
...data,
|
...data,
|
||||||
|
|||||||
@ -265,7 +265,11 @@ export default {
|
|||||||
quantity: this.printSmallPayFeeInfo.quantity,
|
quantity: this.printSmallPayFeeInfo.quantity,
|
||||||
detailId: detailIds.join(',')
|
detailId: detailIds.join(',')
|
||||||
}
|
}
|
||||||
await printPayFeeDetail(data)
|
const {code,msg} = await printPayFeeDetail(data)
|
||||||
|
if (code != 0) {
|
||||||
|
this.$message.error(msg)
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.cloudPrintVisible = false
|
this.cloudPrintVisible = false
|
||||||
this.$message.success(this.$t('printSmallPayFee.submitSuccess'))
|
this.$message.success(this.$t('printSmallPayFee.submitSuccess'))
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user