Browse Source

优化显示

lijuncheng0816
lijuncheng 4 months ago
parent
commit
0aa7c71af5
  1. 2
      src/mycomponents/job/jobFilter.vue
  2. 1
      src/mycomponents/scan/winComScanBalance.vue
  3. 16
      src/pages/inventoryMove/coms/comMoveRecordCard.vue

2
src/mycomponents/job/jobFilter.vue

@ -59,7 +59,7 @@
</view> --> </view> -->
<view class=" uni-flex uni-row" style="margin-top: 5px;" v-if="isShowQurery"> <view class=" uni-flex uni-row" style="margin-top: 5px;" v-if="isShowQurery">
<button class="btn_single_clear" hover-class="btn_commit_after" @click="reset()">重置</button> <button class="btn_single_clear" hover-class="btn_commit_after" @click="reset()">重置</button>
<button class="btn_single_commit" hover-class="btn_commit_after" @click="query()">查询</button> <button class="btn_single_commit" hover-class="btn_commit_after" style="margin-left: 20rpx;" @click="query()">查询</button>
</view> </view>
</view> </view>

1
src/mycomponents/scan/winComScanBalance.vue

@ -282,6 +282,7 @@
}, },
showErrorMessage(message) { showErrorMessage(message) {
this.losefocus()
this.$refs.comMessage.showErrorMessage(message, res => { this.$refs.comMessage.showErrorMessage(message, res => {
if (res) { if (res) {
if (this.$refs.comscan) { if (this.$refs.comscan) {

16
src/pages/inventoryMove/coms/comMoveRecordCard.vue

@ -1,6 +1,6 @@
<template> <template>
<view class="" style="background-color: #fff;"> <view class="" style="background-color: #fff;">
<uni-collapse ref="collapse1" @change=""> <uni-collapse ref="collapse1" >
<uni-collapse-item :open="true"> <uni-collapse-item :open="true">
<template v-slot:title> <template v-slot:title>
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">
@ -88,13 +88,17 @@
dataContent: { dataContent: {
handler(newName, oldName) { handler(newName, oldName) {
if (this.dataContent.subList.length > 0) { if (this.dataContent.subList.length > 0) {
if (this.$refs.collapse1 != undefined && this.$refs.collapse1 != null) { this.$nextTick(res => {
this.$nextTick(res => { setTimeout(() => {
this.$refs.collapse1.resize() if (this.$refs.collapse1) {
}) this.$refs.collapse1.resize();
} }
}, 500)
})
} }
}, },
immediate: true, immediate: true,
deep: true deep: true
} }

Loading…
Cancel
Save