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> --> <!-- <view class='split_line'></view> -->
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </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 ref="scanLocationCode" title="目标库位" @getLocation='getLocation'
></win-scan-location> ></win-scan-location>
<detail-info-popup ref="detailInfoPopup"></detail-info-popup> <detail-info-popup ref="detailInfoPopup"></detail-info-popup>
@ -67,6 +67,10 @@
type: Object, type: Object,
default: {} default: {}
}, },
allowEditQty: {
type: Boolean,
default: true
}
}, },
watch: { watch: {
// dataContent: { // dataContent: {

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

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

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

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

Loading…
Cancel
Save