Browse Source

优化显示

lijuncheng0816
lijuncheng 1 month 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 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_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>

1
src/mycomponents/scan/winComScanBalance.vue

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

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

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

Loading…
Cancel
Save