|
|
|
@ -1235,13 +1235,24 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 首-SAP同步按钮操作
|
|
|
|
|
handleSyncSAP() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
let _this = this;
|
|
|
|
|
this.$modal.confirm('是否确认SAP同步操作步骤?').then(function () {
|
|
|
|
|
return syncSAP()
|
|
|
|
|
}).then(() => {
|
|
|
|
|
this.getList()
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.$modal.msgSuccess('同步成功')
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
})
|
|
|
|
|
}).catch(
|
|
|
|
|
function (e) {
|
|
|
|
|
if (e == 'cancel') {
|
|
|
|
|
_this.loading = false;
|
|
|
|
|
} else if(e == 'close') {
|
|
|
|
|
_this.loading = false;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|