Browse Source

修改样式

wms3.0_pda
niexiting 10 months ago
parent
commit
f300ea8a56
  1. 11
      mycomponents/detail/comDetailCard.vue
  2. 2
      mycomponents/recommend/recommend.vue
  3. 5
      pages/putaway/job/putawayDetail.vue
  4. 2
      uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.vue

11
mycomponents/detail/comDetailCard.vue

@ -9,7 +9,8 @@
<view class="" v-for="(item,index) in dataContent.subList">
<uni-swipe-action ref="swipeAction">
<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>
</uni-swipe-action-item>
@ -36,7 +37,7 @@
} from '@/common/array.js';
export default {
emits: ['openDetail',"updateData"],
emits: ['openDetail', "updateData"],
components: {
itemCompareQty,
recommend,
@ -78,7 +79,7 @@
return {
option: [],
showItem: {},
locatonItem:{},
locatonItem: {},
editItem: {},
detailOptions: [],
scanOptions: []
@ -101,7 +102,7 @@
this.detail(item)
} else if (e.content.text == "编辑") {
this.edit(item)
} else if (e.content.text == "库位") {
} else if (e.content.text == "库位") {
this.showLocation(item)
} else if (e.content.text == "移除") {
this.remove(item)
@ -139,7 +140,7 @@
},
//
getLocation(location, code) {
this.locatonItem.toLocationCode =code;
this.locatonItem.toLocationCode = code;
this.$emit('updateData')
},
}

2
mycomponents/recommend/recommend.vue

@ -1,5 +1,5 @@
<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">
<!-- uni-inline-item 暂时拿掉-->
<view>

5
pages/putaway/job/putawayDetail.vue

@ -7,9 +7,9 @@
<view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view>
<u-line color="#D8D8D8" ></u-line>
<u-line color="#D8D8D8"></u-line>
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
@ -19,7 +19,6 @@
:locationTypeList='tolocationTypeList'>
</com-detail-card>
</view>
<u-line />
</view>
</scroll-view>
</view>

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

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

Loading…
Cancel
Save