缓存线
This commit is contained in:
@@ -315,7 +315,7 @@
|
||||
async _cacheLineHandCheck () {
|
||||
this.disabled4 = true
|
||||
try {
|
||||
let res = await cacheLineHandCheck('0')
|
||||
let res = await cacheLineHandCheck('0', this.index2)
|
||||
this.disabled4 = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -328,7 +328,7 @@
|
||||
async _cacheLineHandCheckEnd () {
|
||||
this.disabled5 = true
|
||||
try {
|
||||
let res = await cacheLineHandCheckEnd('1')
|
||||
let res = await cacheLineHandCheckEnd('1', this.index2)
|
||||
this.disabled5 = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -118,17 +118,19 @@ export const deleteBox = (obj) => request({
|
||||
data: obj
|
||||
})
|
||||
// 1.7缓存线盘点-盘点开始
|
||||
export const cacheLineHandCheck = (option) => request({
|
||||
export const cacheLineHandCheck = (option, code) => request({
|
||||
url:'api/cacheLineHand/check',
|
||||
data: {
|
||||
check_option: option
|
||||
check_option: option,
|
||||
device_code: code
|
||||
}
|
||||
})
|
||||
// 1.8缓存线盘点-盘点结束
|
||||
export const cacheLineHandCheckEnd = (option) => request({
|
||||
export const cacheLineHandCheckEnd = (option, code) => request({
|
||||
url:'api/cacheLineHand/checkEnd',
|
||||
data: {
|
||||
check_option: option
|
||||
check_option: option,
|
||||
device_code: code
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user