|
@@ -215,6 +215,7 @@ export default {
|
|
|
wxPay(id) {
|
|
|
increOrderSettleGeneratePayCode({ id }).then(res => {
|
|
|
this.codeUrl = res.data.codeUrl
|
|
|
+ this.$refs.payQRCode.innerHTML = '';
|
|
|
this.$nextTick(() => {
|
|
|
new QRCode(this.$refs.payQRCode, {
|
|
|
text: res.data.codeUrl,
|
|
@@ -365,6 +366,7 @@ export default {
|
|
|
"machineImg": this.addFormData.machineImg.map(item => item.url).join(","),
|
|
|
}).then(res => {
|
|
|
this.$message({ type: 'success', message: `新增成功!` })
|
|
|
+ this.$refs?.pageRef?.refreshList()
|
|
|
this.addFormCancel()
|
|
|
// if (res.data.payStatus == "WAIT" && res.data.payType == 1) {
|
|
|
// this.wxPay(res.data.id)
|