Browse Source

制品回收显示来源库位

intex_online20241111
zhang_li 2 weeks ago
parent
commit
a369e6f072
  1. 6
      src/pages/productRecycle/coms/comRecycleJobCard.vue
  2. 5
      src/pages/productRecycle/job/productRecycleJob.vue

6
src/pages/productRecycle/coms/comRecycleJobCard.vue

@ -1,6 +1,6 @@
<template>
<job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<jobComMainDetailCard :dataContent="dataContent" :isShowToLocation='isShowToLocation'></jobComMainDetailCard>
</job-com-main-card>
</template>
@ -21,6 +21,10 @@
type: Object,
default: {}
},
isShowToLocation: {
type: Boolean,
default: true
},
},
methods: {

5
src/pages/productRecycle/job/productRecycleJob.vue

@ -11,7 +11,7 @@
<uni-swipe-action-item
:right-options="item.status=='2'?detailGiveupOptions:detailOptions"
@click="swipeClick($event,item)">
<comRecycleJobCard :dataContent="item" @click='openJobDetail(item)'></comRecycleJobCard>
<comRecycleJobCard :dataContent="item" @click='openJobDetail(item)' :isShowToLocation='false'></comRecycleJobCard>
</uni-swipe-action-item>
</view>
</uni-swipe-action>
@ -161,6 +161,9 @@
if (type === "refresh") {
uni.stopPullDownRefresh();
}
res.data.list.forEach(item=>{
item.fromLocationCode = item.toLocationCode
})
var list = res.data.list;
this.totalCount = res.data.total
updateTitle(this.title+"(" + this.totalCount + ")");

Loading…
Cancel
Save