diff --git a/src/pages/materialsStation/toolsLease/codeOut.vue b/src/pages/materialsStation/toolsLease/codeOut.vue
index a8779c5..381dec0 100644
--- a/src/pages/materialsStation/toolsLease/codeOut.vue
+++ b/src/pages/materialsStation/toolsLease/codeOut.vue
@@ -536,9 +536,9 @@ const handleQrCode = async (qrCode) => {
// 编码识别按钮
const ocrClick = () => {
- console.log('编码识别--')
+ console.log('编码识别--', queryParams.value)
uni.navigateTo({
- url: `/pages/materialsStation/toolsLease/ocrScan/ocrOutScan?queryParams=${JSON.stringify(
+ url: `/pages/materialsStation/toolsLease/ocrScan/ocrOutScan?params=${JSON.stringify(
queryParams.value,
)}`,
})
diff --git a/src/pages/materialsStation/toolsLease/ocrScan/ocrOutScan.vue b/src/pages/materialsStation/toolsLease/ocrScan/ocrOutScan.vue
index 9ba0d57..ed8449e 100644
--- a/src/pages/materialsStation/toolsLease/ocrScan/ocrOutScan.vue
+++ b/src/pages/materialsStation/toolsLease/ocrScan/ocrOutScan.vue
@@ -57,7 +57,7 @@
-
+
@@ -105,7 +105,7 @@
+
+
diff --git a/src/pages/picking/outbound/codeOutScan.vue b/src/pages/picking/outbound/codeOutScan.vue
index d2e9a01..ed8449e 100644
--- a/src/pages/picking/outbound/codeOutScan.vue
+++ b/src/pages/picking/outbound/codeOutScan.vue
@@ -1,516 +1,991 @@
-
-
-
-
- 开始识别
+
+
+
+
+
+ 开始识别
+
+
+
+
+
+ 设备编码
+
+
+
+
-
+
+
+
+ 编码检索
+
+
+
+
+
+
+
+
+
+
+ {{
+ codeData.maName
+ }}
+
+
+ {{
+ codeData.maModel
+ }}
+
+
+ {{
+ codeData.maCode
+ }}
+
+
+
+
+
+
-
-
-
-
- 设备编码
-
-
-
-
-
-
-
-
- 编码检索
-
-
-
-
-
-
-
-
- {{
- codeData.materialType
- }}
-
-
- {{
- codeData.materialName
- }}
-
-
- {{
- codeData.materialModel
- }}
-
-
- {{
- codeData.maCode
- }}
-
-
- {{
- codeData.statusName
- }}
-
-
-
-
-
-
- 出库
-
+
+
+
+
+
+
+ 请将识别编码置于取景框内,完成扫描
+
+
+
+
+
+
+
+ ✕
+
+
+
+
+
+ 📷
+
+
+
+
+
+
+
+ 正在识别中...
+
+
+
+
+
+
+
diff --git a/src/pages/picking/outbound/inner-detail.vue b/src/pages/picking/outbound/inner-detail.vue
index 86ac8db..7a1da29 100644
--- a/src/pages/picking/outbound/inner-detail.vue
+++ b/src/pages/picking/outbound/inner-detail.vue
@@ -1,7 +1,7 @@
-
+
@@ -21,7 +21,8 @@
-
+
+ {{ index + 1 }}.
物资类型:
@@ -73,7 +74,7 @@
{{ finish ? '没有更多数据了~' : '正在加载...' }}
-
+
@@ -124,13 +125,15 @@ const getCodeDeviceListData = async () => {
const res = await getDetailsByIdApi(queryCodeParams.value)
console.log("xxxxxxxxxxxxxx",res)
if(queryParams.value.manageType==0){
- codeDeviceList.value.push(...res.data.rows)
- if (isBack.value&&codeDeviceList.value.length > 0) {
- codeDeviceList.value = codeDeviceList.value.map((e) => {
- return { ...e, checked: false }
- })
- }
+ // codeDeviceList.value.push(...res.data.rows)
+ // if (isBack.value&&codeDeviceList.value.length > 0) {
+ // codeDeviceList.value = codeDeviceList.value.map((e) => {
+ // return { ...e, checked: false }
+ // })
+ // }
+ codeDeviceList.value = res.data.rows || []
total.value = res.data.total;
+ console.log('🚀 ~ getCodeDeviceListData ~ total.value:', total.value)
}else if(queryParams.value.manageType==1){
if(res.data.rows&&res.data.rows.length>0){
formData.value=res.data.rows[0]
@@ -157,7 +160,7 @@ const onCodeSearch = () => {
// 滚动触底事件
const onScrollTolower = debounce(() => {
- // console.log('滚动触底--')
+ console.log('滚动触底--')
if (total.value > codeDeviceList.value.length) {
queryCodeParams.value.pageSize += 5
getCodeDeviceListData()
@@ -229,7 +232,7 @@ const leaseOutBack = async (item) => {