Browse Source

YT-835PDA预生产收货任务扫描后编辑数量不应该有数量不能大于标签数量的校验

intex
zhang_li 2 weeks ago
parent
commit
68e980ba91
  1. 6
      src/pages/customerReturn/job/returnDetail.vue
  2. 7
      src/pages/productReceipt/coms/comProductDetailCardBatch.vue
  3. 2
      src/pages/productReceipt/job/productReceiptDetail.vue

6
src/pages/customerReturn/job/returnDetail.vue

@ -16,15 +16,15 @@
<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="">
<comDetailCardBatch :dataContent="item" :settingParam="jobContent" :isShowLocation="false" <!-- <comDetailCardBatch :dataContent="item" :settingParam="jobContent" :isShowLocation="false"
@remove="updateData" @updateData="updateData" @openDetail="openDetail" @remove="updateData" @updateData="updateData" @openDetail="openDetail"
:locationAreaTypeList="toLocationAreaTypeList" v-if="managementType=='BY_BATCH'"> :locationAreaTypeList="toLocationAreaTypeList" v-if="managementType=='BY_BATCH'">
</comDetailCardBatch> </comDetailCardBatch> -->
<comLableDetailCard :dataContent="item" :settingParam="jobContent" <comLableDetailCard :dataContent="item" :settingParam="jobContent"
:isShowStatus="false" :isShowStatus="false"
:isShowLocation="false" :isShowLocation="false"
@remove="updateData" @updateData="updateData" @openDetail="openDetail" @remove="updateData" @updateData="updateData" @openDetail="openDetail"
:locationAreaTypeList="toLocationAreaTypeList" v-else> :locationAreaTypeList="toLocationAreaTypeList" >
</comLableDetailCard > </comLableDetailCard >
</view> </view>
</view> </view>

7
src/pages/productReceipt/coms/comProductDetailCardBatch.vue

@ -22,7 +22,7 @@
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </uni-collapse>
<recommend-qty-edit ref="receiptEdit" :dataContent="editItem" :settingParam="settingParam" @confirm="confirm"> <recommend-qty-edit ref="receiptEdit" :dataContent="editItem" :settingParam="settingParam" @confirm="confirm" :isNumTips='isNumTips'>
</recommend-qty-edit> </recommend-qty-edit>
<win-scan-location ref="scanLocationCode" title="目标库位" @getLocation='getLocation' <win-scan-location ref="scanLocationCode" title="目标库位" @getLocation='getLocation'
:locationAreaTypeList="locationAreaTypeList"></win-scan-location> :locationAreaTypeList="locationAreaTypeList"></win-scan-location>
@ -68,7 +68,10 @@
type: Array, type: Array,
default: null default: null
}, },
isNumTips: {
type: Boolean,
default: true
},
}, },
watch: { watch: {

2
src/pages/productReceipt/job/productReceiptDetail.vue

@ -42,7 +42,7 @@
<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="">
<comProductDetailCardBatch :dataContent="item" :settingParam="jobContent" :isShowLocation="false" <comProductDetailCardBatch :dataContent="item" :settingParam="jobContent" :isShowLocation="false"
@remove="updateData" @updateData="updateData" @remove="updateData" @updateData="updateData" :isNumTips='false'
:locationAreaTypeList='toLocationAreaTypeList' v-if="managementType=='BY_BATCH'"> :locationAreaTypeList='toLocationAreaTypeList' v-if="managementType=='BY_BATCH'">
</comProductDetailCardBatch> </comProductDetailCardBatch>
<comProductDetailCard :dataContent="item" :settingParam="jobContent" :isShowLocation="false" <comProductDetailCard :dataContent="item" :settingParam="jobContent" :isShowLocation="false"

Loading…
Cancel
Save