Browse Source

可编辑数量

lijuncheng0816
wangyufei 4 months ago
parent
commit
b74b62c827
  1. 6
      src/pages/inventoryMove/coms/comInventoryDetailCard.vue
  2. 2
      src/pages/inventoryMove/job/inventoryMoveDetail.vue
  3. 2
      src/pages/transfer/job/transferDetail.vue

6
src/pages/inventoryMove/coms/comInventoryDetailCard.vue

@ -17,7 +17,7 @@
<!-- <view class='split_line'></view> -->
</uni-collapse-item>
</uni-collapse>
<balance-qty-edit ref="qtyEdit" :allowEditQty="true" :settingParam="settingParam" @confirm="confirm" :allowEditStatus="true"></balance-qty-edit>
<balance-qty-edit ref="qtyEdit" :allowEditQty="allowEditQty" :settingParam="settingParam" @confirm="confirm" :allowEditStatus="true"></balance-qty-edit>
<win-scan-location ref="scanLocationCode" title="目标库位" @getLocation='getLocation'
></win-scan-location>
<detail-info-popup ref="detailInfoPopup"></detail-info-popup>
@ -67,6 +67,10 @@
type: Object,
default: {}
},
allowEditQty: {
type: Boolean,
default: true
}
},
watch: {
// dataContent: {

2
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -12,7 +12,7 @@
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="">
<comInventoryDetailCard :dataContent="item" :settingParam="jobContent" @remove="updateData"
<comInventoryDetailCard :allowEditQty="false" :dataContent="item" :settingParam="jobContent" @remove="updateData"
@updateData='updateData' @openDetail="openDetail">
</comInventoryDetailCard>
</view>

2
src/pages/transfer/job/transferDetail.vue

@ -12,7 +12,7 @@
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="">
<comInventoryDetailCard :dataContent="item" :settingParam="jobContent" @remove="updateData"
<comInventoryDetailCard :allowEditQty="true" :dataContent="item" :settingParam="jobContent" @remove="updateData"
@updateData='updateData'>
</comInventoryDetailCard>
</view>

Loading…
Cancel
Save