Browse Source

修改采购上架任务显示

hella_online_20240904
lijuncheng 2 months ago
parent
commit
7c47339e98
  1. 8
      src/mycomponents/detail/comJobDetailCard.vue
  2. 9
      src/mycomponents/package/packageList.vue
  3. 4
      src/pages/putaway/job/putawayDetail.vue

8
src/mycomponents/detail/comJobDetailCard.vue

@ -10,7 +10,9 @@
:isEdit="settingParam.allowModifyQty=='TRUE'"
:settingParam="settingParam"
@collapseChange="collapseChange"
@updateData="updateData" :isShowStatus="isShowStatus"
@updateData="updateData"
:isShowStatus="isShowStatus"
:isShowPackListStatus="isShowPackListStatus"
></package-list>
</uni-collapse-item>
</uni-collapse>
@ -64,6 +66,10 @@
type: Boolean,
default: true
},
isShowPackListStatus: {
type: Boolean,
default: true
}
},
watch: {

9
src/mycomponents/package/packageList.vue

@ -22,7 +22,9 @@
:right-options="(pack.scaned&&isEdit)?editAndRemoveOptions : pack.scaned? removeOptions:options"
@click="swipeClick($event,pack,'child')">
<package-card :dataContent="pack" :isShowLocation="false" :isShowFromLocation="false"
:isShowToLocation="false" :isShowBatch="false"></package-card>
:isShowToLocation="false"
:isShowStatus="isShowPackListStatus"
:isShowBatch="false"></package-card>
</uni-swipe-action-item>
</uni-swipe-action>
@ -95,6 +97,11 @@
default: true
},
isShowPackListStatus: {
type: Boolean,
default: true
},
locationTitle: {
type: String,
default: '库位'

4
src/pages/putaway/job/putawayDetail.vue

@ -17,7 +17,9 @@
<view class="">
<comJobDetailCard :dataContent="item" :index="index" :settingParam="jobContent"
:isShowStatus="true" @remove="updateData" @updateData="updateData"
:locationAreaTypeList='toLocationAreaTypeList'>
:locationAreaTypeList='toLocationAreaTypeList'
:isShowPackListStatus="false"
>
</comJobDetailCard>
</view>
</view>

Loading…
Cancel
Save