lijuncheng 11 months ago
parent
commit
8f140767e8
  1. 2
      common/style/pdabasic.css
  2. 12
      mycomponents/detail/comDetailCard.vue
  3. 2
      mycomponents/recommend/recommend.vue
  4. 2
      pages/purchaseReceipt/job/receiptDetail.vue
  5. 1
      pages/putaway/job/putawayDetail.vue
  6. 2
      uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.vue

2
common/style/pdabasic.css

@ -473,7 +473,7 @@ export function getItemTypeStyle(val) {
.detail-list { .detail-list {
background-color: #fff; background-color: #fff;
padding: 10rpx; padding:5rpx 10rpx;
/* margin: 20rpx; */ /* margin: 20rpx; */
/* border-radius: 16rpx; */ /* border-radius: 16rpx; */
/* overflow: hidden; */ /* overflow: hidden; */

12
mycomponents/detail/comDetailCard.vue

@ -3,13 +3,15 @@
<uni-collapse ref="collapse1" @change=""> <uni-collapse ref="collapse1" @change="">
<uni-collapse-item :open="true"> <uni-collapse-item :open="true">
<template v-slot:title> <template v-slot:title>
<item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)"> <item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)" :isShowStdPack="false">
</item-compare-qty> </item-compare-qty>
</template> </template>
<u-line></u-line>
<view class="" v-for="(item,index) in dataContent.subList"> <view class="" v-for="(item,index) in dataContent.subList">
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="swipeClick($event,item)" <uni-swipe-action-item @click="swipeClick($event,item)"
:right-options="item.scaned?scanOptions:detailOptions"> :right-options="item.scaned?scanOptions:detailOptions"
style='padding:0px 0px 5px 0px;align-items: center;'>
<recommend :detail="item" :isShowToLocation="false"> <recommend :detail="item" :isShowToLocation="false">
</recommend> </recommend>
</uni-swipe-action-item> </uni-swipe-action-item>
@ -36,7 +38,7 @@
} from '@/common/array.js'; } from '@/common/array.js';
export default { export default {
emits: ['openDetail',"updateData"], emits: ['openDetail', "updateData"],
components: { components: {
itemCompareQty, itemCompareQty,
recommend, recommend,
@ -78,7 +80,7 @@
return { return {
option: [], option: [],
showItem: {}, showItem: {},
locatonItem:{}, locatonItem: {},
editItem: {}, editItem: {},
detailOptions: [], detailOptions: [],
scanOptions: [] scanOptions: []
@ -139,7 +141,7 @@
}, },
// //
getLocation(location, code) { getLocation(location, code) {
this.locatonItem.toLocationCode =code; this.locatonItem.toLocationCode = code;
this.$emit('updateData') this.$emit('updateData')
}, },
} }

2
mycomponents/recommend/recommend.vue

@ -1,5 +1,5 @@
<template> <template>
<view :class="detail.scaned?'scan_view':''" style="background-color: #ffffff; margin-bottom: 1px;"> <view :class="detail.scaned?'scan_view':''" style="background-color: #ffffff; border-bottom: 1upx solid #EEEEEE;">
<view class="uni-flex uni-row space-between" style="align-items: center"> <view class="uni-flex uni-row space-between" style="align-items: center">
<!-- uni-inline-item 暂时拿掉--> <!-- uni-inline-item 暂时拿掉-->
<view> <view>

2
pages/purchaseReceipt/job/receiptDetail.vue

@ -8,6 +8,8 @@
发货单号 : {{jobContent.asnNumber}} 发货单号 : {{jobContent.asnNumber}}
</view> </view>
<u-line color="#D8D8D8" /> <u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">

1
pages/putaway/job/putawayDetail.vue

@ -19,7 +19,6 @@
:locationTypeList='tolocationTypeList'> :locationTypeList='tolocationTypeList'>
</com-detail-card> </com-detail-card>
</view> </view>
<u-line />
</view> </view>
</scroll-view> </scroll-view>
</view> </view>

2
uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.vue

@ -210,7 +210,7 @@
this.height = data.height + 1 this.height = data.height + 1
// #endif // #endif
// #ifndef APP-NVUE // #ifndef APP-NVUE
this.height = data.height+3 this.height = data.height
// #endif // #endif
this.isheight = true this.isheight = true
if (type) return if (type) return

Loading…
Cancel
Save