|
@@ -140,7 +140,7 @@ import { refund,listStorePayment,getStatus, getStorePayment, delStorePayment, ad
|
|
|
// 打开同步弹窗
|
|
// 打开同步弹窗
|
|
|
openSyncDialog() {
|
|
openSyncDialog() {
|
|
|
if (this.item.status==0){
|
|
if (this.item.status==0){
|
|
|
- return this.getPayStatus();
|
|
|
|
|
|
|
+ this.getPayStatus();
|
|
|
} else {
|
|
} else {
|
|
|
this.syncDialogVisible = true;
|
|
this.syncDialogVisible = true;
|
|
|
// 重置表单
|
|
// 重置表单
|
|
@@ -162,8 +162,6 @@ import { refund,listStorePayment,getStatus, getStorePayment, delStorePayment, ad
|
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
- console.log("this.item.status", this.item.status);
|
|
|
|
|
- console.log("this.item.status", this.syncForm.refundDate);
|
|
|
|
|
|
|
|
|
|
if (this.item.status === 1) {
|
|
if (this.item.status === 1) {
|
|
|
// 先验证表单
|
|
// 先验证表单
|
|
@@ -192,6 +190,7 @@ import { refund,listStorePayment,getStatus, getStorePayment, delStorePayment, ad
|
|
|
.then(() => {
|
|
.then(() => {
|
|
|
getStorePayment(that.item.paymentId).then(response => {
|
|
getStorePayment(that.item.paymentId).then(response => {
|
|
|
that.item = response.data;
|
|
that.item = response.data;
|
|
|
|
|
+ this.msgSuccess("同步成功");
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|