Qukatie 9 месяцев назад
Родитель
Сommit
10a9a7b1bc
1 измененных файлов с 17 добавлено и 4 удалено
  1. 17 4
      src/views/boxManagement/boxPoolDynamics/index.vue

+ 17 - 4
src/views/boxManagement/boxPoolDynamics/index.vue

@@ -22,12 +22,12 @@
                                 @click="allClick('空箱出场(EDI)')">空箱出场(EDI)</el-button> -->
                             <el-button type="success" plain size="small"
                                 @click="allClick('POL空箱出场(EXCEL)')">POL空箱出场(EXCEL)</el-button>
-                            <el-button type="primary" plain size="small"
-                                @click="allClick('POL返场(EXCEL)')">POL返场(EXCEL)</el-button>
+                            <!-- <el-button type="primary" plain size="small"
+                                @click="allClick('POL返场(EXCEL)')">POL返场(EXCEL)</el-button> -->
                             <el-button type="info" plain size="small"
                                 @click="allClick('POD返场(EXCEL)')">POD返场(EXCEL)</el-button>
-                            <el-button type="warning" plain size="small"
-                                @click="allClick('空箱进场(excel)')">空箱进场(excel)</el-button>
+                            <!-- <el-button type="warning" plain size="small"
+                                @click="allClick('空箱进场(excel)')">空箱进场(excel)</el-button> -->
                             <el-button type="danger" plain size="small"
                                 @click="allClick('无货返空(excel)')">无货返空(excel)</el-button>
                         </template>
@@ -591,6 +591,19 @@ export default {
         },
         allClick(name) {
             if (name == 'POL空箱出场(EXCEL)') {
+                this.excelOption.column.forEach(item=>{
+                    if(item.prop=='excelFile'){
+                        item.action="/api/blade-los/boxPool/emptyContainerAppearance"
+                    }
+                })
+                this.excelBox = true
+            }
+            if (name == 'POD返场(EXCEL)') {
+                this.excelOption.column.forEach(item=>{
+                    if(item.prop=='excelFile'){
+                        item.action="/api/blade-los/boxPool/giveAnEncore"
+                    }
+                })
                 this.excelBox = true
             }
         },