Browse Source

修改属性名称

wms3.0_pda
niexiting 10 months ago
parent
commit
995d59947b
  1. 11
      mycomponents/item/itemQty.vue
  2. 2
      pages/count/coms/comCountDetailCard.vue
  3. 2
      pages/inventoryMove/coms/comMoveRecordCard.vue
  4. 2
      pages/productionReturn/coms/comReturnRecord.vue
  5. 2
      pages/unPlanned/coms/comReceiptRecord.vue

11
mycomponents/item/itemQty.vue

@ -4,9 +4,11 @@
<item :dataContent="dataContent"></item> <item :dataContent="dataContent"></item>
</view> </view>
<view> <view>
<!-- showBalanceQty -->
<balanceQty v-if="showItemQty" :dataContent="dataContent"></balanceQty> <balanceQty v-if="showItemQty" :dataContent="dataContent"></balanceQty>
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)" <compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)"
:handleQty="dataContent.handleQty" :isShowStatus="false"> :handleQty="dataContent.handleQty" :isShowStatus="false" :isShowStdPack="showStdPack">
</compare-qty> </compare-qty>
</view> </view>
<!-- <view v-else> <!-- <view v-else>
@ -18,7 +20,6 @@
</view> </view>
</template> </template>
<script> <script>
import item from '@/mycomponents/item/item.vue' import item from '@/mycomponents/item/item.vue'
import balanceQty from '@/mycomponents/qty/balanceQty.vue' import balanceQty from '@/mycomponents/qty/balanceQty.vue'
import compareQty from '@/mycomponents/qty/compareQty.vue' import compareQty from '@/mycomponents/qty/compareQty.vue'
@ -47,7 +48,11 @@
showItemQty: { showItemQty: {
type: Boolean, type: Boolean,
default: true default: true
} },
showStdPack: {
type: Boolean,
default: false
},
}, },
watch: { watch: {

2
pages/count/coms/comCountDetailCard.vue

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

2
pages/inventoryMove/coms/comMoveRecordCard.vue

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

2
pages/productionReturn/coms/comReturnRecord.vue

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

2
pages/unPlanned/coms/comReceiptRecord.vue

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

Loading…
Cancel
Save