Browse Source

修改状态

hella_vue3
niexiting 7 months ago
parent
commit
4f628eef9f
  1. 2
      src/mycomponents/detail/comJobDetailCard.vue
  2. 1
      src/mycomponents/package/packageList.vue
  3. 6
      src/mycomponents/qty/compareQty.vue
  4. 10
      src/mycomponents/qty/recommendQty.vue
  5. 2
      src/mycomponents/status/status.vue

2
src/mycomponents/detail/comJobDetailCard.vue

@ -4,7 +4,7 @@
<uni-collapse-item :open="true"> <uni-collapse-item :open="true">
<template v-slot:title> <template v-slot:title>
<itemCompareQty :dataContent="dataContent" :handleQty="dataContent.handleQty" <itemCompareQty :dataContent="dataContent" :handleQty="dataContent.handleQty"
:isShowPackUnit="false"></itemCompareQty> :isShowPackUnit="true"></itemCompareQty>
</template> </template>
<package-list :dataContent="dataContent.subList" <package-list :dataContent="dataContent.subList"
:isEdit="settingParam.allowModifyQty=='TRUE'" :isEdit="settingParam.allowModifyQty=='TRUE'"

1
src/mycomponents/package/packageList.vue

@ -1,6 +1,5 @@
<template> <template>
<view class=""> <view class="">
<view class="" v-for="(item,index) in dataContent" :key="item.id"> <view class="" v-for="(item,index) in dataContent" :key="item.id">
<uni-collapse ref="collapse2" @change="collapseChange"> <uni-collapse ref="collapse2" @change="collapseChange">
<uni-collapse-item :disabled="false"> <uni-collapse-item :disabled="false">

6
src/mycomponents/qty/compareQty.vue

@ -1,7 +1,7 @@
<template> <template>
<view> <view>
<status v-show="isShowStatus" :status='dataContent.inventoryStatus'></status>
<view class="uni-flex uni-row "> <view class="uni-flex uni-row ">
<status v-show="isShowStatus" :status='dataContent.inventoryStatus'></status>
<view class="uni-flex uni-row center"> <view class="uni-flex uni-row center">
<view v-if="Number(handleQty)!=0"> <view v-if="Number(handleQty)!=0">
<view v-if="isShowRecommendQty"> <view v-if="isShowRecommendQty">
@ -28,13 +28,13 @@
</view> </view>
</view> </view>
</view> </view>
<uom :uom="dataContent.uom"> <uom :uom="dataContent.uom">
</uom> </uom>
<!-- <uom v-show="Number(handleQty)!=0||(isShowRecommendQty&&Number(recommendQty)>0)" :uom="dataContent.uom"> <!-- <uom v-show="Number(handleQty)!=0||(isShowRecommendQty&&Number(recommendQty)>0)" :uom="dataContent.uom">
</uom> --> </uom> -->
</view> </view>
<view> <view>
<pack-unit v-show="isShowPackUnit" :dataContent="dataContent"></pack-unit> <pack-unit v-show="isShowPackUnit" :dataContent="dataContent"></pack-unit>
<!-- <std-pack-qty v-show="isShowStdPack" :dataContent="dataContent"></std-pack-qty> --> <!-- <std-pack-qty v-show="isShowStdPack" :dataContent="dataContent"></std-pack-qty> -->
</view> </view>
</view> </view>

10
src/mycomponents/qty/recommendQty.vue

@ -1,16 +1,20 @@
<template> <template>
<view> <view>
<view class="uni-flex uni-row center"> <status v-if="isShowStatus" :status='dataContent.inventoryStatus'></status>
<status v-if="isShowStatus" :status='dataContent.inventoryStatus'></status>
<view class="uni-flex uni-row center">
<view class="text_recommend "> <view class="text_recommend ">
{{Number(dataContent.qty)}} {{Number(dataContent.qty)}}
</view> </view>
<!-- /{{Number(dataContent.packQty)}} -->
<!-- v-show="!isShowStdPack" --> <!-- v-show="!isShowStdPack" -->
<uom :uom="dataContent.uom"></uom> <uom :uom="dataContent.uom"></uom>
</view> </view>
<view> <view>
<!-- {{dataContent}} -->
<pack-unit :dataContent="dataContent"></pack-unit> <pack-unit :dataContent="dataContent"></pack-unit>
<!-- <std-pack-qty v-show="isShowStdPack" :dataContent="dataContent"></std-pack-qty> --> <!-- <std-pack-qty v-show="isShowStdPack" :dataContent="dataContent"></std-pack-qty> -->
</view> </view>
</view> </view>
</template> </template>

2
src/mycomponents/status/status.vue

@ -28,7 +28,7 @@
}, },
showDesc: { showDesc: {
type: Boolean, type: Boolean,
default: false default: true
}, },
}, },
methods: { methods: {

Loading…
Cancel
Save