Browse Source

YT-936 修改显示数量

intex
lijuncheng 1 week ago
parent
commit
16366ae9cd
  1. 2
      src/pages/deliver/coms/comDeliverDetailCardBatch.vue
  2. 7
      src/pages/deliver/job/deliverDetailBatch.vue
  3. 6
      src/pages/issue/coms/comIssueDetailCardBatch.vue
  4. 6
      src/pages/issue/job/issueDetailBatch.vue

2
src/pages/deliver/coms/comDeliverDetailCardBatch.vue

@ -14,7 +14,7 @@
<uni-swipe-action ref="swipeAction" style="margin-top: 10px;" <uni-swipe-action ref="swipeAction" style="margin-top: 10px;"
v-for="(item,index) in dataContent.subList"> v-for="(item,index) in dataContent.subList">
<uni-swipe-action-item <uni-swipe-action-item
:right-options="(item.scaned&&isEdit)?editAndRemoveOptions : item.scaned? removeOptions:options" @click="itemCoceClick($event,item,index)"> :right-options="(item.scaned&&isEdit)?editAndRemoveOptions : item.scaned? removeOptions:detailOptions" @click="itemCoceClick($event,item,index)">
<view class="" :class="item.scaned?'scan_view':''"> <view class="" :class="item.scaned?'scan_view':''">
<recommend :detail="item" :isShowLocation="false" :isShowFromLocation="true" :isShowToLocation="settingParam.allowModifyLocation=='TRUE'"></recommend> <recommend :detail="item" :isShowLocation="false" :isShowFromLocation="true" :isShowToLocation="settingParam.allowModifyLocation=='TRUE'"></recommend>
</view> </view>

7
src/pages/deliver/job/deliverDetailBatch.vue

@ -28,9 +28,6 @@
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view>
</view>
<view v-for="(toLocation, index) in detailSource"> <view v-for="(toLocation, index) in detailSource">
<comDeliverDetailCardBatch ref='comIssueDetailCardBatch' :dataContent="toLocation" :settingParam="jobContent" <comDeliverDetailCardBatch ref='comIssueDetailCardBatch' :dataContent="toLocation" :settingParam="jobContent"
@updateData='updateData' :allowBiggerQty='allowBiggerQty'> @updateData='updateData' :allowBiggerQty='allowBiggerQty'>
@ -54,7 +51,7 @@
<!-- <comScanDeliverPackBatch ref="comScanIssuePack" @closeScan='closeScan' @updateData='updateData'> <!-- <comScanDeliverPackBatch ref="comScanIssuePack" @closeScan='closeScan' @updateData='updateData'>
</comScanDeliverPackBatch> --> </comScanDeliverPackBatch> -->
<winScanPackAndLocation :balanceFromInventoryStatuses="false" :toLocationCode="jobToLocationCode" ref="scanPopup" <winScanPackAndLocation :balanceFromInventoryStatuses="false" ref="scanPopup"
@getResult='getScanResult' :noShowBalanceMessage="false" @confirm='confirmFromLocation'> @getResult='getScanResult' :noShowBalanceMessage="false" @confirm='confirmFromLocation'>
</winScanPackAndLocation> </winScanPackAndLocation>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
@ -315,7 +312,7 @@
toLocationCode:this.toLocationCode, toLocationCode:this.toLocationCode,
batch:result.label.batch, batch:result.label.batch,
handleQty:result.label.qty, handleQty:result.label.qty,
qty:this.recommendQty, qty:0,
inventoryStatus:result.balance.inventoryStatus, inventoryStatus:result.balance.inventoryStatus,
toLocation:result.balance.toLocation, toLocation:result.balance.toLocation,
balance:result.balance, balance:result.balance,

6
src/pages/issue/coms/comIssueDetailCardBatch.vue

@ -14,7 +14,7 @@
<uni-swipe-action ref="swipeAction" style="margin-top: 10px;" <uni-swipe-action ref="swipeAction" style="margin-top: 10px;"
v-for="(item,index) in dataContent.subList"> v-for="(item,index) in dataContent.subList">
<uni-swipe-action-item <uni-swipe-action-item
:right-options="(item.scaned&&settingParam.allowModifyQty == 'TRUE')?editAndRemoveOptions : item.scaned? removeOptions:options" @click="itemCoceClick($event,item,index)"> :right-options="(item.scaned&&settingParam.allowModifyQty == 'TRUE')?editAndRemoveOptions : item.scaned? removeOptions:[]" @click="itemCoceClick($event,item,index)">
<view class="" :class="item.scaned?'scan_view':''"> <view class="" :class="item.scaned?'scan_view':''">
<recommend :detail="item" :isShowLocation="false" :isShowFromLocation="true" :isShowToLocation="settingParam.allowModifyLocation=='TRUE'"></recommend> <recommend :detail="item" :isShowLocation="false" :isShowFromLocation="true" :isShowToLocation="settingParam.allowModifyLocation=='TRUE'"></recommend>
</view> </view>
@ -68,8 +68,8 @@
}, },
props: { props: {
dataContent: { dataContent: {
type: Array, type: Object,
default: [] default: {}
}, },
settingParam: { settingParam: {
type: Object, type: Object,

6
src/pages/issue/job/issueDetailBatch.vue

@ -39,10 +39,10 @@
@afterScan='afterScan' :locationCode='fromLocationCode'> @afterScan='afterScan' :locationCode='fromLocationCode'>
</com-scan-issue-pack> --> </com-scan-issue-pack> -->
<winScanPackAndLocation :balanceFromInventoryStatuses="false" :toLocationCode="jobToLocationCode" ref="scanPopup" <winScanPackAndLocation :balanceFromInventoryStatuses="false" ref="scanPopup"
@getResult='getScanResult' :noShowBalanceMessage="false" @confirm='confirmFromLocation'> @getResult='getScanResult' :noShowBalanceMessage="false" @confirm='confirmFromLocation'>
</winScanPackAndLocation> </winScanPackAndLocation>
<balance-select ref="balanceSelect" @onSelectItem='selectBalanceItem'></balance-select> <balance-select ref="balanceSelect" ></balance-select>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
</view> </view>
</template> </template>
@ -347,7 +347,7 @@
toLocationCode:this.toLocationCode, toLocationCode:this.toLocationCode,
batch:result.label.batch, batch:result.label.batch,
handleQty:result.label.qty, handleQty:result.label.qty,
qty:this.recommendQty, qty:0,
inventoryStatus:result.balance.inventoryStatus, inventoryStatus:result.balance.inventoryStatus,
toLocation:result.balance.toLocation, toLocation:result.balance.toLocation,
balance:result.balance, balance:result.balance,

Loading…
Cancel
Save