2023-09-13

2023-09-14  本文已影响0人  流泪手心_521
mutiplePrintFn(pickId, self, ids, sumTotal, pageTotal, pageSize, current) {
 return new Promise((resolve, reject) => {
 self.bigIndex++ let startNum = (current - 1) * pageSize // 当前批次开始订单编号 
current++
 let obj = { pickIds: ids, start: startNum, count: pageSize } 
doPrintExpressListNew(obj).then((res) => {
 if (res.status !== 200) {
 [self.$Notice.info](
http://self.%24notice.info/)({ title: this.$t(‘public.title.failTitle’), desc: res.message }) resolve(result)
 } else {
 if (sumTotal > pageSize && current < pageTotal) { resolve(this.mutiplePrintFn(pickId, self, ids, sumTotal, pageTotal, pageSize, current)) }
 else {
 let isMore = true 
resolve(this.printMutipleBatch(pickId, self, ids, sumTotal, pageTotal, pageSize, current, true, isMore)) } } }) }) }



上一篇 下一篇

猜你喜欢

热点阅读