缓存线

This commit is contained in:
2023-05-22 17:15:47 +08:00
parent d3d89424a0
commit ff05ff9383
2 changed files with 8 additions and 6 deletions

View File

@@ -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,

View File

@@ -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
}
})