Browse Source

修改itemQy 数量显示

wms3.0_pda
lijuncheng 10 months ago
parent
commit
fe267477f1
  1. 4
      mycomponents/item/itemQty.vue
  2. 4
      mycomponents/record/recordComDetailCard.vue
  3. 2
      pages/container/coms/comPalletRecord.vue
  4. 4
      pages/count/coms/comCountDetailCard.vue
  5. 2
      pages/customerReturn/coms/comReturnRecord.vue
  6. 7
      pages/customerReturn/request/customerReturnRequestCreate.vue
  7. 2
      pages/inventoryMove/coms/comMoveRecordCard.vue
  8. 2
      pages/productionReturn/coms/comReturnRecord.vue
  9. 12
      pages/productionReturn/coms/comReturnRequestPopup.vue
  10. 2
      pages/unPlanned/coms/comReceiptRecord.vue

4
mycomponents/item/itemQty.vue

@ -6,7 +6,7 @@
<view>
<!-- showBalanceQty -->
<balanceQty v-if="showItemQty" :dataContent="dataContent"></balanceQty>
<balanceQty v-if="isShowBalanceQty" :dataContent="dataContent"></balanceQty>
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)"
:handleQty="dataContent.handleQty" :isShowStatus="false" :isShowStdPack="showStdPack">
</compare-qty>
@ -45,7 +45,7 @@
type: Number,
default: 0
},
showItemQty: {
isShowBalanceQty: {
type: Boolean,
default: true
},

4
mycomponents/record/recordComDetailCard.vue

@ -6,7 +6,7 @@
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="removeItem($event,dataContent)" :right-options="removeOptions">
<item-qty :dataContent="dataContent" :handleQty="dataContent.handleQty"
:isShowBalance="true" :showBalanceQty="isShowItemQty"></item-qty>
:isShowBalance="true" :isShowBalanceQty="isShowBalanceQty"></item-qty>
</uni-swipe-action-item>
</uni-swipe-action>
</template>
@ -86,7 +86,7 @@
default: true
},
isShowItemQty: {
isShowBalanceQty: {
type: Boolean,
default: false
},

2
pages/container/coms/comPalletRecord.vue

@ -5,7 +5,7 @@
<template v-slot:title>
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="removeData($event,dataContent)" :right-options="removeOptions">
<item-qty :dataContent="dataContent" :handleQty="dataContent.handleQty"
<item-qty :dataContent="dataContent"
:isShowBalance="true"></item-qty>
</uni-swipe-action-item>
</uni-swipe-action>

4
pages/count/coms/comCountDetailCard.vue

@ -6,10 +6,10 @@
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="removeData($event,dataContent)" :right-options="removeOptions">
<item-qty v-if="settingParam.isOpenCount=='TRUE'" :dataContent="dataContent"
:handleQty="dataContent.handleQty" :showBalanceQty="true">
:handleQty="dataContent.handleQty" :isShowBalanceQty="true">
</item-qty>
<item-qty v-else :dataContent="dataContent" :handleQty="dataContent.handleQty"
:showBalanceQty="false" :showRecommendQty="false" :showStdPack="true">
:isShowBalanceQty="false" :showRecommendQty="false" :showStdPack="true">
</item-qty>
</uni-swipe-action-item>
</uni-swipe-action>

2
pages/customerReturn/coms/comReturnRecord.vue

@ -5,7 +5,7 @@
<template v-slot:title>
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="removeData($event,dataContent)" :right-options="removeOptions">
<item-qty :dataContent="dataContent" :handleQty="dataContent.handleQty"
<item-qty :dataContent="dataContent"
:isShowBalance="true"></item-qty>
</uni-swipe-action-item>
</uni-swipe-action>

7
pages/customerReturn/request/customerReturnRequestCreate.vue

@ -4,10 +4,10 @@
<com-blank-view @goScan='getLocation' v-if="detailSource.length==0"></com-blank-view>
</view>
<view class="page-wraper" v-if="detailSource.length>0">
<view class="uni-flex uni-row padding title u-col-center" @click="showSelect">
<text>客户 : </text>
<view class="uni-flex uni-row padding title u-col-center" @click="showSelect" style="font-size: 35rpx;">
<text style="font-size: 32rpx;">客户 : </text>
<view class="uni-flex u-col-center uni-row" @click="showSelect">
<view class="" style="margin-left: 20rpx;">
<view class="" style="margin-left: 20rpx;font-size: 32rpx;">
{{customerName}}
</view>
<u-select v-model="showCustomer" mode="single-column" :list="customerList" @confirm="confirmSelect">
@ -22,6 +22,7 @@
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="">
<record-com-detail-card :dataContent="item" :index="index" :isShowLocation="true"
:isShowBalanceQty ="false"
:isShowToLocation="false" @removeItem="removeItem(index,item)" @updateData="updateData"
@removePack="removePack">
</record-com-detail-card>

2
pages/inventoryMove/coms/comMoveRecordCard.vue

@ -6,7 +6,7 @@
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="removeData($event,dataContent)" :right-options="removeOptions">
<item-qty :dataContent="dataContent"
:showBalanceQty="false"
:isShowBalanceQty="false"
:isShowBalance="true"></item-qty>
</uni-swipe-action-item>
</uni-swipe-action>

2
pages/productionReturn/coms/comReturnRecord.vue

@ -5,7 +5,7 @@
<template v-slot:title>
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="removeData($event,dataContent)" :right-options="removeOptions">
<item-qty :dataContent="dataContent" :showBalanceQty="false" :isShowBalance="true"></item-qty>
<item-qty :dataContent="dataContent" :isShowBalanceQty="false" :isShowBalance="true"></item-qty>
</uni-swipe-action-item>
</uni-swipe-action>

12
pages/productionReturn/coms/comReturnRequestPopup.vue

@ -117,7 +117,7 @@
requestInfo: null,
itemCodeList: [],
isCheckItemCode: false,
counQty: 0,
counQty: undefined,
editPosition: true,
numberFocus: false,
uom: "",
@ -230,7 +230,9 @@
} else {
this.itemCode = "";
this.uom = ""
this.qty = 0
this.qty = 0;
this.counQty = undefined
this.numberFocus = false
this.itemCodeGetFocus();
}
@ -263,6 +265,12 @@
this.showErrorMessage("请输入物料", "itemCode")
return
}
if (this.counQty == undefined) {
this.showErrorMessage("请输入数量")
return
}
if (this.qty == 0) {
this.showErrorMessage("数量必须大于0")
return

2
pages/unPlanned/coms/comReceiptRecord.vue

@ -5,7 +5,7 @@
<template v-slot:title>
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="removeData($event,dataContent)" :right-options="removeOptions">
<item-qty :dataContent="dataContent" :showBalanceQty="false"
<item-qty :dataContent="dataContent" :isShowBalanceQty="false"
:isShowBalance="true"></item-qty>
</uni-swipe-action-item>
</uni-swipe-action>

Loading…
Cancel
Save