|
@@ -187,9 +187,8 @@
|
|
|
}
|
|
|
scanDatas.value = epcs
|
|
|
if (epcs.length === 1) {
|
|
|
-
|
|
|
codeIds.value = epcs[0]
|
|
|
- console.log(codeIds.value, 'codeIds.value');
|
|
|
+
|
|
|
} else {
|
|
|
codeIds.value = epcs.join(',')
|
|
|
}
|
|
@@ -212,7 +211,7 @@
|
|
|
rids:ids,
|
|
|
state: type
|
|
|
});
|
|
|
- console.log(response, 'response22222222222221');
|
|
|
+
|
|
|
//处理数据
|
|
|
if (!error && code === 200) {
|
|
|
console.log(listArr.value, ' listArr.value');
|
|
@@ -279,7 +278,7 @@
|
|
|
id: storageIds.value,
|
|
|
sampleStatus: 2,
|
|
|
});
|
|
|
- console.log(response, 'response11111111111111');
|
|
|
+
|
|
|
manualStorageLoading.value = false;
|
|
|
if (!error && code === 200) {
|
|
|
uni.showToast({
|
|
@@ -297,7 +296,8 @@
|
|
|
}
|
|
|
}
|
|
|
const clearItem = (item, index) => {
|
|
|
- listArr.value.splice(index, 1)
|
|
|
+ listArr.value.splice(index, 1);
|
|
|
+ storageIds.value = arrToId(listArr.value)
|
|
|
}
|
|
|
|
|
|
|
|
@@ -326,7 +326,7 @@
|
|
|
sampleStatus: 4,
|
|
|
expCount: 0
|
|
|
});
|
|
|
- console.log(response, 'response');
|
|
|
+
|
|
|
reportLoad.value = false;
|
|
|
if (!error && code === 200) {
|
|
|
uni.showToast({
|