物料入库修改
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd-row">
|
<view class="zd-row border-bottom">
|
||||||
<view class="zd-col-5">
|
<view class="zd-col-5">
|
||||||
<span class="filter_label">目的地</span>
|
<span class="filter_label">目的地</span>
|
||||||
</view>
|
</view>
|
||||||
@@ -31,6 +31,14 @@
|
|||||||
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="zd-row">
|
||||||
|
<view class="zd-col-5">
|
||||||
|
<span class="filter_label">当前工序</span>
|
||||||
|
</view>
|
||||||
|
<view class="zd-col-19 filter_select">
|
||||||
|
<uni-data-select v-model="index2" :localdata="options1"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd_wrapper grid-wraper">
|
<view class="zd_wrapper grid-wraper">
|
||||||
<view class="slide_new">
|
<view class="slide_new">
|
||||||
@@ -90,6 +98,7 @@
|
|||||||
index: '',
|
index: '',
|
||||||
options1: [],
|
options1: [],
|
||||||
index1: '',
|
index1: '',
|
||||||
|
index2: '',
|
||||||
disabled: false,
|
disabled: false,
|
||||||
dataList: [{order_code: '', material_code: '', material_qty: 0}]
|
dataList: [{order_code: '', material_code: '', material_qty: 0}]
|
||||||
};
|
};
|
||||||
@@ -119,6 +128,7 @@
|
|||||||
this.index = ''
|
this.index = ''
|
||||||
this.dataList = [{order_code: '', material_code: '', material_qty: 0}]
|
this.dataList = [{order_code: '', material_code: '', material_qty: 0}]
|
||||||
this.index1 = ''
|
this.index1 = ''
|
||||||
|
this.index2 = ''
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
},
|
},
|
||||||
async _handheldBlanking () {
|
async _handheldBlanking () {
|
||||||
@@ -134,7 +144,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
try {
|
try {
|
||||||
let res = await handheldBlanking(this.index, this.val1, this.index1, this.val2, arr)
|
let res = await handheldBlanking(this.index, this.val1, this.index1, this.val2, arr, this.index2)
|
||||||
this.clearUp()
|
this.clearUp()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|||||||
@@ -60,9 +60,9 @@ export const handheldStorehouse = (code, type) => request({
|
|||||||
// url:'api/handheld/getRegionCode',
|
// url:'api/handheld/getRegionCode',
|
||||||
// data: {orderCode: code}
|
// data: {orderCode: code}
|
||||||
// })
|
// })
|
||||||
export const handheldBlanking = (type, code, rcode, vcode, material) => request({
|
export const handheldBlanking = (type, code, rcode, vcode, material, reg) => request({
|
||||||
url:'api/handheld/blanking',
|
url:'api/handheld/blanking',
|
||||||
data: {type: type, device_code: code, region_code: rcode, vehicle_code: vcode, material: material}
|
data: {type: type, device_code: code, region_code: rcode, vehicle_code: vcode, material: material, regionCode: reg}
|
||||||
})
|
})
|
||||||
// 修改订单工序
|
// 修改订单工序
|
||||||
export const fabOrders = (code) => request({
|
export const fabOrders = (code) => request({
|
||||||
|
|||||||
Reference in New Issue
Block a user