diff --git a/apps/hand-factory/api/wms/coil.js b/apps/hand-factory/api/wms/coil.js
index 193f592..1cd2cde 100644
--- a/apps/hand-factory/api/wms/coil.js
+++ b/apps/hand-factory/api/wms/coil.js
@@ -17,9 +17,9 @@ export function exportMaterialCoil(query) {
})
}
-export function getMaterialCoil(CoilMaterialId) {
+export function getMaterialCoil(coilId) {
return request({
- url: '/wms/materialCoil/' + CoilMaterialId,
+ url: '/wms/materialCoil/' + coilId,
method: 'get'
})
}
@@ -50,17 +50,21 @@ export function updateMaterialCoilSimple(data) {
}
// 删除钢卷物料表
-export function delMaterialCoil(CoilMaterialId) {
+export function delMaterialCoil(coilId) {
return request({
- url: '/wms/materialCoil/' + CoilMaterialId,
+ url: '/wms/materialCoil/' + coilId,
method: 'delete'
})
}
// 钢卷溯源查询
-export function getMaterialCoilTrace(CoilMaterialId) {
+export function getMaterialCoilTrace(enterCoilNo, currentCoilNo) {
return request({
- url: '/wms/materialCoil/trace/' + CoilMaterialId,
- method: 'get'
+ url: '/wms/materialCoil/trace',
+ method: 'get',
+ params: {
+ enterCoilNo: enterCoilNo,
+ currentCoilNo: currentCoilNo
+ }
})
}
diff --git a/apps/hand-factory/components/panels/code/apart.vue b/apps/hand-factory/components/panels/code/apart.vue
index 384193c..e228266 100644
--- a/apps/hand-factory/components/panels/code/apart.vue
+++ b/apps/hand-factory/components/panels/code/apart.vue
@@ -1,390 +1,963 @@
-
-
-
-
-
-
-
-
- 分卷数量:{{ form.newCoils.length }} 卷
-
-
-
-
-
-
-
- 卷 {{ index + 1 }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 📷
+
+ 扫描要分卷的钢卷
+
+
+
+
+
+
+
+ 原钢卷信息
+
+
+
+
+ 入场钢卷号
+ {{ coilDetail.enterCoilNo || '-' }}
+
+
+ 当前钢卷号
+ {{ coilDetail.currentCoilNo || '-' }}
+
+
+ 当前库区
+ {{ (coilDetail.warehouse && coilDetail.warehouse.warehouseName) || '未分配' }}
+
+
+
+
+
+
+
+
+ 分卷配置
+
+
+
+
+ 分卷数量
+
+
+ -
+
+ {{ splitCoils.length }}
+
+ +
+
+
+
+
+
+
+
+
+
+
+ 新钢卷号
+
+
+
+ 班组
+
+
+
+ 目标库区
+
+
+ {{ item.warehouseName || '请选择目标库区' }}
+
+ ▼
+
+
+
+ 毛重 (kg)
+
+
+
+ 净重 (kg)
+
+
+
+
+
+
+
+
+ 操作人:
+ {{ operatorName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
diff --git a/apps/hand-factory/components/panels/code/merge.vue b/apps/hand-factory/components/panels/code/merge.vue
index 41f5105..7c6ba18 100644
--- a/apps/hand-factory/components/panels/code/merge.vue
+++ b/apps/hand-factory/components/panels/code/merge.vue
@@ -1,12 +1,887 @@
-
- 合并
+
+
+
+
+
+ 📷
+
+ 扫描要合卷的钢卷
+ 已扫描 {{ scannedCoils.length }} 个钢卷
+
+
+
+
+
+
+
+ 待合卷列表
+
+
+
+
+ {{ index + 1 }}
+
+
+ 入场钢卷号:
+ {{ coil.enterCoilNo }}
+
+
+ 当前钢卷号:
+ {{ coil.currentCoilNo }}
+
+
+ 库区:
+ {{ coil.warehouse.warehouseName }}
+
+
+
+
+ ✕
+
+
+
+
+
+
+
+
+ 合卷配置
+
+
+
+
+ 新钢卷号
+
+
+
+
+
+ 班组
+
+
+
+
+
+ 目标库区
+
+
+ {{ warehouseName || '请选择目标库区' }}
+
+ ▼
+
+
+
+
+
+ 毛重 (kg)
+
+
+
+
+
+ 净重 (kg)
+
+
+
+
+
+ 操作人:
+ {{ operatorName }}
+
+
+
+
+
+
+
+
+
+
+
+ 至少需要扫描 2 个钢卷才能进行合卷操作
+
+
+
+
+
+
-
\ No newline at end of file
+
diff --git a/apps/hand-factory/components/panels/code/trace.vue b/apps/hand-factory/components/panels/code/trace.vue
index 44da829..f303d4a 100644
--- a/apps/hand-factory/components/panels/code/trace.vue
+++ b/apps/hand-factory/components/panels/code/trace.vue
@@ -1,21 +1,852 @@
-
+
+
+
+
+
+
+ 钢卷溯源
+
+
+
+
+ 📷
+ 扫描二维码
+
+
+
+
+ 或
+
+
+
+
+
+
+ 入场钢卷号
+
+
+
+ 当前钢卷号(可选)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 二维码信息
+
+
+
+ 主序列号:
+ {{ (traceResult.qrcode && traceResult.qrcode.serialNumber) || '-' }}
+
+
+ 创建时间:
+ {{ (traceResult.qrcode && traceResult.qrcode.createTime) || '-' }}
+
+
+ 相关二维码:
+ {{ traceResult.all_qrcodes.length }} 个
+
+
+
+
+
+
+
+
+ 操作步骤
+
+
+
+
+ {{ step.display_step || step.step }}
+
+
+
+
+
+
+ 当前钢卷号:
+ {{ step.current_coil_no }}
+
+
+ 原钢卷号:
+ {{ step.old_current_coil_no }}
+
+
+ 新钢卷号:
+ {{ step.new_current_coil_no }}
+
+
+ 分卷列表:
+
+
+
+ {{ coilNo.trim() }}
+
+
+
+
+
+ 合卷来源:
+
+
+
+ {{ coilNo.trim() }}
+
+
+
+
+
+ 子钢卷:
+
+
+
+ {{ coilNo }}
+
+
+
+
+
+ 二维码序列:
+ {{ step.qrcode_serial }}
+
+
+ 操作者:
+ {{ step.operator }}
+
+
+
+
+
+
+
+
+
+
+
+ 钢卷分支图
+
+
+
+
+
+
+
+
+ 入场号:{{ coil.enterCoilNo }}
+ 班组:{{ coil.team }}
+
+ 库区:{{ coil.warehouse.warehouseName }}
+
+ {{ coil.createTime }}
+
+
+
+
+
+
+
+ 未找到相关钢卷记录
+
+
+
-
\ No newline at end of file
+
diff --git a/apps/hand-factory/components/panels/code/typing.vue b/apps/hand-factory/components/panels/code/typing.vue
index 35d21fa..064dc0f 100644
--- a/apps/hand-factory/components/panels/code/typing.vue
+++ b/apps/hand-factory/components/panels/code/typing.vue
@@ -1,238 +1,1099 @@
-
+
-
+
+
+
+ 📷
+
+ 点击扫描二维码
+
+
+
+
+
+
+
+ 钢卷信息
+
+ {{ coilDetail.dataType === 1 ? '当前数据' : '历史数据' }}
+
+
+ ⚙
+ 参数
+
+
+
+
+
+ 入场钢卷号
+ {{ coilDetail.enterCoilNo || '-' }}
+
+
+ 当前库区
+ {{ currentWarehouseName || '未分配' }}
+
+
+ 原材料
+ {{ materialDetail.rawMaterialName || '-' }}
+
+
+ 规格
+ {{ materialDetail.specification || '-' }}
+
+
+
+
+
+
+ ⚠️
+
+ 历史数据
+ 此钢卷为历史数据,仅可查看,无法修改
+
+
-
-
-
-
+
+
+ 录入信息
+
+
+
+
+ 当前钢卷号
+
-
+
-
-
-
-
-
-
-
+
+
+ 班组
-
+
-
-
-
-
+
+
+ 目标库区
+
+
+ {{ currentWarehouseName || '请选择目标库区' }}
+
+ ▼
+
+
-
-
+
+
+ 毛重 (kg)
-
+
-
-
+
+
+ 净重 (kg)
-
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+}
+
diff --git a/apps/hand-factory/config.js b/apps/hand-factory/config.js
index ae83d65..2ed0e74 100644
--- a/apps/hand-factory/config.js
+++ b/apps/hand-factory/config.js
@@ -1,6 +1,6 @@
// 应用全局配置
module.exports = {
- baseUrl: 'http://140.143.206.120/prod-api',
+ baseUrl: 'http://192.168.31.116:8080',
// baseUrl: 'http://localhost:8080',
// 应用信息
appInfo: {
diff --git a/apps/hand-factory/pages/code/code.vue b/apps/hand-factory/pages/code/code.vue
index 2e0a019..98060e7 100644
--- a/apps/hand-factory/pages/code/code.vue
+++ b/apps/hand-factory/pages/code/code.vue
@@ -1,5 +1,6 @@
-
+
+
- {{ item.label }}
+ {{ item.label }}
+
-
+
-
\ No newline at end of file
+/* 组件容器 */
+.component-container {
+ width: 100%;
+ min-height: 400rpx;
+ padding: 0 30rpx;
+}
+
diff --git a/apps/hand-factory/pages/index.vue b/apps/hand-factory/pages/index.vue
index 82a8202..1b95d09 100644
--- a/apps/hand-factory/pages/index.vue
+++ b/apps/hand-factory/pages/index.vue
@@ -1,8 +1,9 @@
-
-
+
-
+
+
+
@@ -13,36 +14,84 @@
\ No newline at end of file
+}
+
+
+
diff --git a/apps/hand-factory/pages/mine/index.vue b/apps/hand-factory/pages/mine/index.vue
index dff9cc9..7965153 100644
--- a/apps/hand-factory/pages/mine/index.vue
+++ b/apps/hand-factory/pages/mine/index.vue
@@ -79,7 +79,7 @@
-
+