Browse Source

隔离收货接受确认

hella_online_20240924
lijuncheng 2 months ago
parent
commit
5ba63efc7d
  1. 6
      src/mycomponents/detail/comDetailCard.vue
  2. 7
      src/pages/productReceipt/record/recordList.vue
  3. 10
      src/pages/productReceipt/record/recordListDetail.vue

6
src/mycomponents/detail/comDetailCard.vue

@ -13,7 +13,7 @@
<uni-swipe-action-item @click="swipeClick($event,item)"
:right-options="item.scaned?scanOptions:detailOptions"
style='padding:0px 0px 5px 0px;align-items: center;'>
<recommend :detail="item" :isShowStatus="isShowStatus" :isShowToLocation="isShowToLocation">
<recommend :detail="item" :isShowFromLocation="isShowFromLocation" :isShowStatus="isShowStatus" :isShowToLocation="isShowToLocation">
</recommend>
</uni-swipe-action-item>
@ -67,6 +67,10 @@
type: Boolean,
default: true
},
isShowFromLocation: {
type: Boolean,
default: true
},
isShowToLocation: {
type: Boolean,
default: false

7
src/pages/productReceipt/record/recordList.vue

@ -181,8 +181,13 @@
value: this.filterItemCode
})
}
}
filterParams.push({
column: "type",
action: "like",
value: "scrap"
})
return filterParams;

10
src/pages/productReceipt/record/recordListDetail.vue

@ -22,7 +22,9 @@
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="">
<com-detail-card :dataContent="item" :index="index" :settingParam="recordContent"
@remove="updateData" :isShowToLocation="true" @updateData="updateData"
@remove="updateData"
:isShowFromLocation="false"
:isShowToLocation="true" @updateData="updateData"
@openDetail="openDetail">
</com-detail-card>
@ -154,12 +156,6 @@
if (res.data.list.length > 0) {
that.recordContent = res.data.list[0];
that.subList = res.data.list;
that.subList.forEach(item => {
item.batch = item.toBatch;
item.packingNumber = item.toPackingNumber;
item.inventoryStatus= item.fromInventoryStatus
item.toInventoryStatus =item.toInventoryStatus
})
that.detailSource = getDataSource(that.subList)
} else {
that.showMessage('列表数据为0');

Loading…
Cancel
Save