Explorar el Código

中心仓出入库明细导出与批次号字段错误问题

liyuan hace 2 días
padre
commit
643b8b2331

+ 1 - 1
src/views/storehouse/inStockManage/inStockPlan/detailsPage.vue

@@ -106,7 +106,7 @@
                             </template>
                             <template slot="dot" slot-scope="{row}">
                                 <el-input v-if="row.$cellEdit" v-model="row.dot" size="small" style="width: 100%" />
-                                <span v-else>{{ row.price }}</span>
+                                <span v-else>{{ row.dot }}</span>
                             </template>
                             <template slot="rebatePrice" slot-scope="{ row }">
                                 <el-input v-if="row.$cellEdit" size="small" v-model="row.rebatePrice"

+ 3 - 2
src/views/storehouse/inStockManage/inStockPlan/index.vue

@@ -49,7 +49,7 @@
                 <template slot-scope="{type,size,row,$index}" slot="menuLeft">
                     <el-button icon="el-icon-plus" type="primary" :size="size" @click="detailsOpen = true">新建订单
                     </el-button>
-                    <el-button type="warning" icon="el-icon-download" size="small" @click="outExport" disabled>导出</el-button>
+                    <el-button type="warning" icon="el-icon-download" size="small" @click="outExport">导出</el-button>
                 </template>
                 <template slot-scope="{ row, index }" slot="ordNo">
                     <span style="color: #409EFF;cursor: pointer" @click.stop="editOpen(row, 2)">{{ row.ordNo }}
@@ -469,9 +469,10 @@ export default {
                     }
                 }
             }
+            config.params.bsType = 'RP'
             console.log(config, 427)
             const routeData = this.$router.resolve({
-                path: '/api/blade-sales-part/tire/center/warehouse/stockDesc/stockExport',      //跳转目标下载地址
+                path: '/api/blade-sales-part/tire/center/warehouse/plan/exportPlanInData',      //跳转目标下载地址
                 query: {
                     ...config.params    //括号内是要传递给新窗口的参数
                 }

+ 2 - 2
src/views/storehouse/outStockManage/outStockPlan/index.vue

@@ -45,7 +45,7 @@
         </template>
         <template slot-scope="{type,size,row,$index}" slot="menuLeft">
           <el-button icon="el-icon-plus" type="primary" :size="size" @click="detailsOpen = true">新建订单</el-button>
-          <el-button type="warning" icon="el-icon-download" size="small" @click="outExport" disabled>导出</el-button>
+          <el-button type="warning" icon="el-icon-download" size="small" @click="outExport">导出</el-button>
         </template>
         <template slot-scope="{ row, index }" slot="ordNo">
           <span style="color: #409EFF;cursor: pointer" @click.stop="editOpen(row, 2)">{{ row.ordNo }}
@@ -450,7 +450,7 @@ export default {
       console.log(config, 427)
       config.params.bsType = 'CP'
       const routeData = this.$router.resolve({
-        path: '/api/blade-sales-part/order/listExport',      //跳转目标下载地址
+        path: '/api/blade-sales-part/tire/center/warehouse/plan/exportPlanInData',      //跳转目标下载地址
         query: {
           ...config.params    //括号内是要传递给新窗口的参数
         }