Commit 5cf1f437df7a7136bef282a60b65e08c02174533
1 parent
e3323af1
平库出入库
Showing
1 changed file
with
9 additions
and
3 deletions
ant-design-vue-jeecg/src/views/system/monitor/locationStatus.vue
... | ... | @@ -39,8 +39,8 @@ |
39 | 39 | <li> |
40 | 40 | <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> |
41 | 41 | <a-button type="primary" @click="search()" icon="search" style="margin-left: 8px;">查询</a-button> |
42 | - <a-button @click='expressDelivery()' v-if="expressDeliveryVisible" type='primary' style="margin-left: 8px;">快速出库</a-button> | |
43 | - <a-button @click="expressStorage()" type="primary" v-if="expressStorageVisible" style="margin-left: 8px;">快速入库</a-button> | |
42 | + <a-button @click='expressDelivery()' v-if="expressDeliveryVisible" type='primary' style="margin-left: 8px;">平库出库</a-button> | |
43 | + <a-button @click="expressStorage()" type="primary" v-if="expressStorageVisible" style="margin-left: 8px;">平库入库</a-button> | |
44 | 44 | </span> |
45 | 45 | </li> |
46 | 46 | </ul> |
... | ... | @@ -284,7 +284,7 @@ export default { |
284 | 284 | for (let i of newArr) { |
285 | 285 | let param = { |
286 | 286 | materialCode: i.materialCode, |
287 | - shipQty: i.qty, | |
287 | + shipQty: 0, | |
288 | 288 | inventoryDetailId: i.id, |
289 | 289 | containerCode: i.containerCode |
290 | 290 | } |
... | ... | @@ -303,10 +303,16 @@ export default { |
303 | 303 | // 显示快速出库 |
304 | 304 | revealExpressDelivery(code, materialCode) { |
305 | 305 | this.expressDeliveryVisible = !!materialCode; |
306 | + if (this.zoneCode != 'P') { | |
307 | + this.expressDeliveryVisible = false; | |
308 | + } | |
306 | 309 | }, |
307 | 310 | // 显示快速入库 |
308 | 311 | revealExpressStorage(code) { |
309 | 312 | this.expressStorageVisible = !!code; |
313 | + if (this.zoneCode != 'P') { | |
314 | + this.expressStorageVisible = false; | |
315 | + } | |
310 | 316 | }, |
311 | 317 | //关闭tips |
312 | 318 | mClose(x) { |
... | ... |