From 4c94dc71afd85a903ebed62db99b4ca11a2cd46d Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 30 四月 2025 17:15:55 +0800
Subject: [PATCH] no message
---
pages/rece/other.vue | 30 ++++++++----------------------
1 files changed, 8 insertions(+), 22 deletions(-)
diff --git a/pages/rece/other.vue b/pages/rece/other.vue
index 487b710..69359a8 100644
--- a/pages/rece/other.vue
+++ b/pages/rece/other.vue
@@ -3,9 +3,9 @@
<form>
<view class="cu-form-group margin-top" v-show="!isconfirm">
<view class="title">ASN鍗曞彿</view>
- <input placeholder="璇锋壂鎻廇SN鍗曞彿" v-model="asncode" focus></input>
+ <input placeholder="璇锋壂鎻廇SN鍗曞彿" v-model="asncode" @input="search" focus></input>
<text class='cuIcon-close text-gray margin-right-xs' v-show="asncode!==''" @click="clearCode"></text>
- <text class='cuIcon-search text-blue' @click="search"></text>
+ <!-- <text class='cuIcon-search text-blue' @click="search"></text> -->
</view>
<view class="cu-form-group" v-show="!isconfirm">
<view class="title">鐗╂枡鏍囩</view>
@@ -60,9 +60,6 @@
<text class="text-black">瀹炴椂搴撳瓨: <text class="text-grey ">{{item.stockQty}}</text></text>
</view>
</view>
-
-
-
<view class="cu-item">
<view class="content">
<text class="text-black">骞冲彴琛屽彿: <text class="text-grey ">{{item.platformId}}</text></text>
@@ -71,7 +68,6 @@
<text class="text-black">璐ㄦ缁撴灉: <text class="text-grey ">{{item.inspect}}</text></text>
</view>
</view>
-
<view class="cu-item">
<view class="content">
<text class="text-black">閲囪喘鍗曚綅:<text class="text-grey ">{{item.purUnit}}</text></text>
@@ -80,7 +76,6 @@
<text class="text-black">搴撳瓨鍗曚綅: <text class="text-grey ">{{item.stockUnit}}</text></text>
</view>
</view>
-
<view class="cu-item">
<view class="content">
<text class="black">璁″垝鏀惰揣鏁伴噺:<text class="text-grey ">{{item.anfme}}</text></text>
@@ -90,21 +85,18 @@
<text class="black">宸叉敹璐ф暟閲�:<text class="text-grey ">{{item.qty}}</text></text>
</view>
</view>
-
<view class="cu-item">
-
<view class="content" v-if="!isconfirm">
<view class="cu-form-group padding-lr-0">
<view class="title text-blue"><text
class="text-red text-xl vertical-middle">*</text>鏀惰揣鏁伴噺:</view>
- <input type="number" placeholder="璇疯緭鍏ユ暟閲�" v-model="item.receiptQty"></input>
+ <uni-number-box style="width: 70%;" v-model="item.receiptQty" :step='1'></uni-number-box>
</view>
</view>
<view class="content" v-else>
<text class="text-black">鏀惰揣鏁伴噺:<text class="text-grey ">{{item.receiptQty}}</text></text>
</view>
</view>
-
<view class="cu-item">
<view class="content" v-if="!isconfirm">
<view class="cu-form-group padding-lr-0">
@@ -133,7 +125,6 @@
<text class="text-black">鐢熶骇鏃ユ湡:<text class="text-grey ">{{item.prodTime}}</text></text>
</view>
</view>
-
<view class="cu-item grid col-1" v-if="!isconfirm">
<view v-for="el in dynamicFields" :key="el.id">
<view class="cu-form-group padding-lr-0">
@@ -142,16 +133,12 @@
</view>
</view>
</view>
-
<view class="cu-item grid col-2" v-if="isconfirm">
<view class="item" v-for="el in dynamicFields" :key="el.id">
<text class="text-black">{{el.fieldsAlise}}:
<text class="text-grey ">{{item[el.fields]}}</text></text>
</view>
-
</view>
-
-
</view>
</block>
</view>
@@ -166,15 +153,13 @@
@change="selChange"></uni-data-select>
</view>
-
<view class="cu-bar btn-group foot" v-show="!isconfirm">
<button class="cu-btn text-blue line-blue shadow" @click="clear">娓呯┖</button>
<button class="cu-btn bg-blue shadow-blur" @click="next">涓嬩竴姝�</button>
</view>
<view class="cu-bar btn-group foot" v-show="isconfirm">
- <button class="cu-btn text-blue line-blue shadow" @click="prev">涓婁竴姝�</button>
- <button class="cu-btn bg-blue shadow-blur" @click="confirm(true)">鏀惰揣骞跺畬鎴�</button>
+ <button class="cu-btn text-blue line-blue shadow" @click="prev">涓婁竴姝�</button>
<button class="cu-btn bg-blue shadow-blur" @click="confirm(false)">鏀惰揣</button>
</view>
@@ -263,7 +248,9 @@
prev() {
this.isconfirm = false
},
- selChange(val) {
+ selChange(val) {
+ console.log('-------->')
+ console.log(val)
uni.setStorageSync('whAreaId', val)
},
async complete(id) {
@@ -322,7 +309,6 @@
icon: "none",
})
}
-
}
},
async getRece() {
@@ -334,7 +320,7 @@
if (code === 200) {
this.range = data.map(item => ({
value: item.id,
- text: item.name
+ text: item.warehouseId$ + "-- " + item.name
}));
}
},
--
Gitblit v1.9.1