Commit 36c46cf3 authored by youjie's avatar youjie

no message

parent c821d049
...@@ -411,21 +411,33 @@ ...@@ -411,21 +411,33 @@
cancelButtonText: `取消`, cancelButtonText: `取消`,
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
that.loading = true;
var nMsg = { var nMsg = {
TCIDs: that.CurrentOutItem.TCIDs, TCIDs: that.CurrentOutItem.TCIDs,
PayType: that.PayType, PayType: that.PayType,
uid: that.getLocalStorage().EmployeeId, uid: that.getLocalStorage().EmployeeId,
FinanceType: this.FinanceTypes FinanceType: this.FinanceTypes
}; };
let fileName = "生成[" + that.CurrentOutItem.NewCombinationNum + "]购物店数据.xls"; that.loading = true;
that.GetLocalFile("dmcstatistics_post_ShopCreateBillAndExport", nMsg, fileName, that.apipost("dmcstatistics_post_CheckShopDetailsDMCRate", nMsg, res => {
res => { if (res.data.resultCode == 1) {
that.loading = false; if (res.data.result == 0) {
this.isShowFinaceDailog = false; // that.Error("请检查汇率有为0的数据,请先在【操作】里面修改汇率再生成财务单据!");
that.Success("导入成功!"); that.Error(res.data.errorMessage);
that.getList(); that.loading = false;
}); that.isShowFinaceDailog = false;
} else {
let fileName = "生成[" + that.CurrentOutItem.NewCombinationNum + "]购物店数据.xls";
that.GetLocalFile("dmcstatistics_post_ShopCreateBillAndExport", nMsg, fileName,
res => {
that.loading = false;
this.isShowFinaceDailog = false;
that.Success("导入成功!");
that.getList();
});
}
}
})
}).catch(() => {}) }).catch(() => {})
this.Confirm('是否生成财务单据?', function () { this.Confirm('是否生成财务单据?', function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment