Browse Source

修改原料直接上架

wms3.0_pda
聂喜婷 1 year ago
parent
commit
f1d71b7339
  1. 4
      mycomponents/balance/balance.vue
  2. 4
      mycomponents/record/recordComDetailCard.vue
  3. 19
      pages/putaway/record/putawayRecord.vue

4
mycomponents/balance/balance.vue

@ -4,7 +4,7 @@
<view>
<pack v-if="isShowPack && dataContent.packingNumber" :packingCode="dataContent.packingNumber"></pack>
<batch v-if="isShowBatch && dataContent.batch" :batch="dataContent.batch"></batch>
<location title="来源库位" v-if="isShowLocation" :locationCode="dataContent.locationCode"></location>
<location title="来源库位" v-if="isShowFromLocation" :locationCode="dataContent.locationCode"></location>
<location title="目标库位" v-if="isShowToLocation" :locationCode="dataContent.toLocationCode"></location>
</view>
<view>
@ -61,7 +61,7 @@
type: Boolean,
default: true
},
isShowLocation: {
isShowFromLocation: {
type: Boolean,
default: true
},

4
mycomponents/record/recordComDetailCard.vue

@ -16,7 +16,7 @@
<uni-swipe-action-item @click="swipeClick($event,detail,index)"
:right-options="detail.scaned?scanOptions:detailOptions">
<balance :dataContent="detail" :isShowStdPack="false" :isShowStatus="true"
:isShowPack="true" :isShowLocation="isShowLocation"></balance>
:isShowPack="true" :isShowFromLocation="isShowFromLocation" :isShowToLocation="true"></balance>
</uni-swipe-action-item>
</uni-swipe-action>
<!-- <u-line /> -->
@ -73,7 +73,7 @@
default: false
},
isShowLocation: {
isShowFromLocation: {
type: Boolean,
default: true
},

19
pages/putaway/record/putawayRecord.vue

@ -1,24 +1,26 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_item">
需求零件 : {{jobContent.requestNumber}}
</view>
</view>
<view class="">
<com-blank-view @goScan='showFromLocationPopup' v-if="detailSource.length==0"></com-blank-view>
</view>
<view class="page-wraper" v-if="detailSource.length>0">
<view class="page-header">
<view class="header_item">
来源库位 : {{fromLocationCode}}
</view>
<u-line />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="">
<record-com-detail-card :dataContent="item" :index="index" :settingParam="dataContent"
@removeItem="removeItem(index,item)" @updateData="updateData" @removePack="removePack">
:isShowFromLocation="false" @removeItem="removeItem(index,item)"
@updateData="updateData" @removePack="removePack">
</record-com-detail-card>
</view>
<u-line />
</view>
</scroll-view>
</view>
@ -37,7 +39,8 @@
</view>
<win-scan-button @goScan='openScanPopup'></win-scan-button>
</view>
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult'></win-scan-pack-and-location>
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult' :allowModifyLocation='false'>
</win-scan-pack-and-location>
<comMessage ref="comMessage"></comMessage>
<win-scan-location ref="scanLocationCode" title="来源库位" @getLocation='getLocation'
:locationTypeList="fromlocationTypeList"></win-scan-location>

Loading…
Cancel
Save