From 46372985a6049a50a1c666fb264d07caf28fe89f Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 21 八月 2025 19:50:41 +0800
Subject: [PATCH] #
---
pages/order/orderPakin2.vue | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/pages/order/orderPakin2.vue b/pages/order/orderPakin2.vue
index 1849506..47c55d2 100644
--- a/pages/order/orderPakin2.vue
+++ b/pages/order/orderPakin2.vue
@@ -104,7 +104,7 @@
<view class="popup-item">
<view class="popup-item-left">鏁伴噺:</view>
<view class="popup-item-right" style="border: none;justify-content: center;">
- <uni-number-box :value="count" :step='0.01' :max="9999999" color="#747474" @change="changeValue" />
+ <uni-number-box :value="count" :step='0.001' :max="9999999" color="#747474" @change="changeValue" />
</view>
</view>
<view class="btn">
@@ -175,8 +175,7 @@
let that = this
const eventChannel = this.getOpenerEventChannel();
- eventChannel.on('orderItem', function(data) {
- console.log(data.item)
+ eventChannel.on('orderItem', function(data) {
that.orderNo = data.item.orderNo
that.checkMat(data.item)
});
@@ -210,16 +209,7 @@
barcodeInput() {
// 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏�
setTimeout(() => {
- var len = this.barcode.length
- if (len >= 9 && len <=8) {
- uni.showToast({
- title: '鎵樼洏鐮佹湁璇閲嶈瘯',
- icon: "none",
- position: 'top'
- });
- this.barcodeFocuss()
- return;
- }
+ var len = this.barcode.length
this.focuss()
}, 200)
},
@@ -331,6 +321,7 @@
},
checkMat(mat) {
mat.review = "鏈鏍�"
+ mat.anfme = mat.enableQty
var len = this.dataList.length
var add = true ,sameItem = false
for (var i = 0; i < len; i++) {
@@ -566,4 +557,10 @@
text-align: center;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}
+ .list:first-child {
+ margin-top: 420rpx;
+ }
+ .list:last-child {
+ margin-bottom: 120rpx;
+ }
</style>
--
Gitblit v1.9.1