From e0cf3a2ccabbdc8be20ba65766d8a411bf74ef02 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 24 七月 2025 14:23:41 +0800
Subject: [PATCH] 添加 其他入库 其他出库模组 修改样式
---
components/BillListPopup/BillListPopup.vue | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/components/BillListPopup/BillListPopup.vue b/components/BillListPopup/BillListPopup.vue
index 6d30dba..a6c45b0 100644
--- a/components/BillListPopup/BillListPopup.vue
+++ b/components/BillListPopup/BillListPopup.vue
@@ -21,9 +21,8 @@
</view>
<scroll-view id="#BillListPanel" scroll-y="true" style="height: 55vh;">
<view class="options-wrapper" v-show="HBillList.length != 0">
- <uni-card v-for="bill in HBillList[curPage-1]" :key="bill.HSourceEntryID"
- :title="bill['鐗╂枡鍚嶇О']" :extra="`鏁伴噺: ${bill['鏁伴噺']}`"
- @tap="clickCard(bill['HSourceInterID'], bill['鍗曟嵁鍙�'])">
+ <uni-card v-for="(bill, index) in HBillList[curPage-1]" :key="index" :title="bill['鐗╂枡鍚嶇О']"
+ :extra="`鏁伴噺: ${bill['鏁伴噺']}`" @tap="clickCard(bill['HSourceInterID'], bill['鍗曟嵁鍙�'])">
<view class="item">
<view class="left">鍗曟嵁鍙�: </view>
<view class="right">{{bill['鍗曟嵁鍙�']}}</view>
@@ -44,7 +43,8 @@
</view>
<view class="over" v-show="HBillList.length == 0">鏆傛棤鏁版嵁</view>
</scroll-view>
- <uni-pagination id="#pagination" title="鏍囬鏂囧瓧" v-model="curPage" :pageSize="size" :total="length"></uni-pagination>
+ <uni-pagination id="#pagination" title="鏍囬鏂囧瓧" v-model="curPage" :pageSize="size"
+ :total="length"></uni-pagination>
</view>
</uni-popup>
@@ -94,7 +94,7 @@
this.getBillList()
} else {
// 娓呯悊璧勬簮
- this.size = 50
+ this.size = 20
this.curPage = 1
this.length = 0
this.page = 0
@@ -138,8 +138,7 @@
} = res.data
if (count == 1) {
console.log(data)
- this.length = data.length
-
+ this.length = Array.from(data).length
const result = [];
for (let i = 0; i < data.length; i += this.size) {
result.push(data.slice(i, i + this.size));
@@ -185,6 +184,7 @@
flex: 1;
border-radius: 22rpx;
border: 1px solid #acacac;
+ height: auto;
input {
width: 100%;
@@ -215,15 +215,15 @@
>view {
margin: 0 !important;
box-sizing: border-box;
-
+
}
-
+
.item {
.left {
display: inline-block;
width: 6rem;
}
-
+
.right {
display: inline-block;
}
--
Gitblit v1.9.1