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;"
v-for="(item,index) in dataContent.subList">
<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':''">
<recommend :detail="item" :isShowLocation="false" :isShowFromLocation="true" :isShowToLocation="settingParam.allowModifyLocation=='TRUE'"></recommend>
</view>

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

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

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

@ -14,7 +14,7 @@
<uni-swipe-action ref="swipeAction" style="margin-top: 10px;"
v-for="(item,index) in dataContent.subList">
<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':''">
<recommend :detail="item" :isShowLocation="false" :isShowFromLocation="true" :isShowToLocation="settingParam.allowModifyLocation=='TRUE'"></recommend>
</view>
@ -68,8 +68,8 @@
},
props: {
dataContent: {
type: Array,
default: []
type: Object,
default: {}
},
settingParam: {
type: Object,

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

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

Loading…
Cancel
Save