change
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
placeholder="扫码或输入点位/载具号"
|
||||
v-model="val1"
|
||||
@handleChange="handleChange"
|
||||
@handleDel="handleDel"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
@@ -65,6 +66,7 @@
|
||||
placeholder="扫码或输入点位/载具号"
|
||||
v-model="val2"
|
||||
@handleChange="handleChange2"
|
||||
@handleDel="handleDel2"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
@@ -136,6 +138,12 @@
|
||||
this.title = options.title
|
||||
},
|
||||
methods: {
|
||||
handleDel() {
|
||||
this.dataList = []
|
||||
},
|
||||
handleDel2() {
|
||||
this.dataList2 = []
|
||||
},
|
||||
handleChange (e) {
|
||||
if (e) {
|
||||
this.dataList = []
|
||||
@@ -148,6 +156,13 @@
|
||||
this._getMoveDocumentInfo2()
|
||||
}
|
||||
},
|
||||
clearUp () {
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.dataList = []
|
||||
this.dataList2 = []
|
||||
this.disabled = false
|
||||
},
|
||||
async _getMoveDocumentInfo () {
|
||||
try {
|
||||
let res = await getMoveDocumentInfo('1', this.val1, this.mdid)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<!-- 大料箱盘库 - 货位盘点 -->
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<nav-bar :title="title" :inner="true"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
@@ -111,8 +111,7 @@
|
||||
},
|
||||
async _getInvInfoQty () {
|
||||
let res = await getInvInfoQty(this.val1)
|
||||
this.materialData.qty1 = res.data.base_qty
|
||||
this.materialData.fac_qty = res.data.base_qty
|
||||
this.materialData.qty1 = res.data.ivt_qty
|
||||
},
|
||||
async _materialBoxInventoryConfirm () {
|
||||
this.disabled = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<!-- 大料箱出库 - 货位出库 -->
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<nav-bar :title="title" :inner="true"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
@@ -19,6 +19,7 @@
|
||||
<view class="zd-col-17">
|
||||
<search-box
|
||||
v-model="val1"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
@@ -119,6 +120,11 @@
|
||||
this.val2 = ''
|
||||
this.disabled = false
|
||||
},
|
||||
handleChange (e) {
|
||||
if (e) {
|
||||
this._getInvInfoQty()
|
||||
}
|
||||
},
|
||||
async _getInvInfoQty () {
|
||||
let res = await getInvInfoQty(this.val1)
|
||||
this.materialData.qty1 = res.data.ivt_qty
|
||||
|
||||
@@ -65,8 +65,8 @@
|
||||
<td>{{e.supp_code}}</td>
|
||||
<td>{{e.supp_name}}</td>
|
||||
<td>{{e.material_spec}}</td>
|
||||
<td>{{e.material_model}}</td>
|
||||
<td>{{e.quality_time_day}}</td>
|
||||
<td>{{e.material_mode}}</td>
|
||||
<td>{{e.quality_time}}</td>
|
||||
<td>{{e.execution_stand}}</td>
|
||||
<td>{{['', '待检', '合格', '不合格'][Number(e.quality_type)]}}</td>
|
||||
<td>{{e.bake_num}}</td>
|
||||
|
||||
@@ -41,9 +41,9 @@
|
||||
<td>{{e.material_code}}</td>
|
||||
<td>{{e.material_name}}</td>
|
||||
<td>{{e.material_spec}}</td>
|
||||
<td>{{e.unit_id}}</td>
|
||||
<td>{{e.single_weight}}</td>
|
||||
<td>{{e.pcsn}}</td>
|
||||
<td>{{e.material_model}}</td>
|
||||
<td>{{e.quality_time}}</td>
|
||||
<td>{{e.execution_stand}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -167,6 +167,7 @@
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
uni.navigateBack()
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user