From 8dbae264b163b253e46bec4638914c7ec58f28c5 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 19 十二月 2025 15:34:03 +0800
Subject: [PATCH] #
---
pages/stock/stockQuery.vue | 38 +++++++++++++++++++++++++-------------
1 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/pages/stock/stockQuery.vue b/pages/stock/stockQuery.vue
index 96a3c90..4e36ea7 100644
--- a/pages/stock/stockQuery.vue
+++ b/pages/stock/stockQuery.vue
@@ -42,9 +42,9 @@
<view class="loc-info">
<text class="loc-no">{{item.locNo}}</text>
</view>
- <view class="qty-badge">
+ <!-- <view class="qty-badge">
<text class="qty-text">{{item.anfme}}</text>
- </view>
+ </view> -->
</view>
<view class="card-body">
<view class="info-row">
@@ -67,6 +67,12 @@
<view class="info-col half">
<text class="info-label">鎵瑰彿</text>
<text class="info-value batch">{{item.batch || '-'}}</text>
+ </view>
+ </view>
+ <view class="info-row">
+ <view class="info-col half">
+ <text class="info-label">鏁伴噺</text>
+ <text class="info-value qty">{{item.anfme}}</text>
</view>
</view>
</view>
@@ -132,22 +138,22 @@
// 鎼滅储鐗╂枡
findMat() {
let that = this;
- let m = that.matnr.split(";");
- let matnr1 = m[0].slice(3);
- setTimeout(() => {
- that.matnr = matnr1;
- }, 100);
+ // let m = that.matnr.split(";");
+ // let matnr1 = m[0].slice(3);
+ // setTimeout(() => {
+ // that.matnr = matnr1;
+ // }, 100);
},
search() {
let that = this;
that.loading = true;
uni.request({
- url: that.baseUrl + '/manLocDetl/list/auth',
+ url: that.baseUrl + '/locDetl/list/auth',
header: { 'token': uni.getStorageSync('token') },
data: {
curr: 1,
limit: 100,
- loc_no: that.locNo,
+ locNo: that.locNo,
matnr: that.matnr
},
method: "GET",
@@ -288,7 +294,7 @@
}
.count-badge {
- background: linear-gradient(135deg, #F4C823 0%, #E6A817 100%);
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 16rpx;
padding: 2rpx 12rpx;
margin-left: 12rpx;
@@ -317,7 +323,7 @@
display: flex;
align-items: center;
padding: 14rpx 16rpx;
- background: linear-gradient(135deg, #F4C823 0%, #E6A817 100%);
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.card-index {
@@ -393,12 +399,18 @@
}
.info-value.code {
- color: #F4C823;
+ color: #303133;
font-weight: 600;
}
.info-value.batch {
- color: #e6a23c;
+ color: #667eea;
+ }
+
+ .info-value.qty {
+ font-size: 28rpx;
+ color: #303133;
+ font-weight: 600;
}
/* 绌虹姸鎬� */
--
Gitblit v1.9.1