maliang 3 долоо хоног өмнө
parent
commit
52fb941d20

+ 2 - 2
pages/inventory-inquiry/components/good-item.vue

@@ -17,10 +17,10 @@
           <view class="item-label">规格</view>
           <view class="item-value">{{ item.materialStandard || "-" }}</view>
         </view>
-        <view class="good-cont-item">
+       <!-- <view class="good-cont-item">
           <view class="item-label">批次号</view>
           <view class="item-value">{{ item.batchNumber || "-" }}</view>
-        </view>
+        </view> -->
         <view class="good-cont-item" @click.stop="calendarClick">
           <view class="item-label">生产日期</view>
           <view class="item-value">{{

+ 1 - 1
pages/inventory-task/detail.vue

@@ -19,7 +19,7 @@
       <!-- 基本信息 吸顶 -->
       <view class="search-box">
         <u-search
-          placeholder="输入货物名称/库位/条码/内部编码"
+          placeholder="输入货物名称/库位"
           shape="square"
           :showAction="false"
           @search="onRefresh"

+ 2 - 2
pages/picking-task/delivery.vue

@@ -217,7 +217,7 @@
 				let index = this.goodsList.findIndex(item=>item.barCode == data)
 				if(index == -1) return uni.$u.toast("该货物不属于该任务");
 				this.scanIndex = index
-				this.scanNum = 1
+				this.scanNum = this.goodsList[index].materialNumber
 				this.scanedShow = true
 			})
 		},
@@ -323,7 +323,7 @@
 			},
 			// 扫码确认
 			scanConfirm(val) {
-				this.goodsList[this.scanIndex].materialNumber += Number(val)
+				this.goodsList[this.scanIndex].materialNumber = Number(val)
 				this.scanedShow = false
 			},
 			manualClick() {

+ 1 - 1
pages/purchase/index.vue

@@ -228,7 +228,7 @@
 			// 获取picker默认index
 			getDefaultIndex(val,list) {
 				let arr = []
-				let index = list[0].findIndex(item=>item == val)
+				let index = list[0].findIndex(item=>item.label == val)
 				arr = [index]
 				return arr
 			},

+ 2 - 2
pages/purchase/put-storage.vue

@@ -184,7 +184,7 @@
 				let index = this.goodsList.findIndex(item=>item.barCode == data)
 				if(index == -1) return uni.$u.toast("该货物不属于该任务");
 				this.scanIndex = index
-				this.scanNum = 1
+				this.scanNum = this.goodsList[index].materialNumber
 				this.scanedShow = true
 			})
 		},
@@ -324,7 +324,7 @@
 			},
 			// 扫码确认
 			scanConfirm(val) {
-				this.goodsList[this.scanIndex].materialNumber += Number(val)
+				this.goodsList[this.scanIndex].materialNumber = Number(val)
 				this.scanedShow = false
 			},
 			manualClick() {