美文网首页
2023-09-13

2023-09-13

作者: 流泪手心_521 | 来源:发表于2023-09-14 17:50 被阅读0次
    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)) } } }) }) }
    
    
    
    

    相关文章

      网友评论

          本文标题:2023-09-13

          本文链接:https://www.haomeiwen.com/subject/eqnyvdtx.html