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">
<template v-slot:title>
<itemCompareQty :dataContent="dataContent" :handleQty="dataContent.handleQty"
:isShowPackUnit="false"></itemCompareQty>
:isShowPackUnit="true"></itemCompareQty>
</template>
<package-list :dataContent="dataContent.subList"
:isEdit="settingParam.allowModifyQty=='TRUE'"

1
src/mycomponents/package/packageList.vue

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

6
src/mycomponents/qty/compareQty.vue

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

10
src/mycomponents/qty/recommendQty.vue

@ -1,16 +1,20 @@
<template>
<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 ">
{{Number(dataContent.qty)}}
</view>
<!-- /{{Number(dataContent.packQty)}} -->
<!-- v-show="!isShowStdPack" -->
<uom :uom="dataContent.uom"></uom>
</view>
<view>
<!-- {{dataContent}} -->
<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>
</template>

2
src/mycomponents/status/status.vue

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

Loading…
Cancel
Save