|
@@ -509,11 +509,13 @@ export default {
|
|
|
let map = {
|
|
|
ids: this.ids.map((s) => s.id),
|
|
|
};
|
|
|
- await this.download(
|
|
|
- "/pu/doc/pullToCcd",
|
|
|
- { ...map },
|
|
|
- `汇总明细_${new Date().getTime()}.xlsx`
|
|
|
- );
|
|
|
+ await huizongMX(map).then(res => {
|
|
|
+ if(res.code === 200) {
|
|
|
+ this.$modal.closeLoading();
|
|
|
+ this.$modal.notifySuccess("汇总成功,请前往客户消耗单查看");
|
|
|
+ this.useQuery(this.params, this.pageInfo);
|
|
|
+ }
|
|
|
+ })
|
|
|
} catch (error) {
|
|
|
} finally {
|
|
|
this.useQuery(this.params, this.pageInfo);
|