Procházet zdrojové kódy

发货单合格证调整

qymljy před 4 dny
rodič
revize
7f83d4b24c

+ 2 - 2
src/HDrpManagement/dispatch/modules/printMaterials.vue

@@ -141,7 +141,7 @@ export default {
       if (this.nowSelect == '合格证'){
         tableData = res.data.map((item,index)=>{
           return {
-            name:'合格证' + (index + 1),
+            name:index == 0?'合格证' + (index + 1)+'-'+(index + this.param.content.size):'合格证' + ((index * this.param.content.size) + 1)+'-'+(((index + 1 ) * this.param.content.size)),
             startid:item.startid,
             endid:item.endid
           }
@@ -182,7 +182,7 @@ export default {
         })
       }else {
         this.param.id = 2025110115370902
-        this.param.content.pageNUmber = 1
+        this.param.content.pageNumner = 1
         this.drawer = true
         this.loading = true
         this.heightTable = 'calc(100vh - 160px)'