From 3f3a908305c7fc13da16df3c0905469fb0d1caba Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Wed, 3 Sep 2025 17:08:48 +0800
Subject: [PATCH] add
---
common/style/layout.styl | 15 +-
pages/General/distribution-box.vue | 156 +++++++++++++++-
pages/General/line-transfer.vue | 96 +++++++++-
pages/General/machine-order.vue | 154 +++++++++++++++-
pages/General/material.vue | 128 ++++++++++++-
pages/General/operation.vue | 169 ++++++++++++++++-
pages/General/ops-mgmt.vue | 106 ++++++++++-
pages/General/pick-place-goods.vue | 159 +++++++++++++++-
pages/General/pt-update.vue | 155 +++++++++++++++-
pages/General/supplier.vue | 122 ++++++++++++-
pages/General/warehouse-box.vue | 284 ++++++++---------------------
pages/home/home.vue | 1 -
utils/utils.js | 19 ++
13 files changed, 1281 insertions(+), 283 deletions(-)
diff --git a/common/style/layout.styl b/common/style/layout.styl
index c5961d5..d1cf7c4 100644
--- a/common/style/layout.styl
+++ b/common/style/layout.styl
@@ -85,6 +85,11 @@ uni-button:after {
white-space: pre-wrap;
overflow-wrap: break-word;
}
+.filter_picker {
+ line-height: 80rpx;
+ font-size: 28rpx;
+ color: #606266;
+}
.filter_input_disabled {
background-color: #eee;
}
@@ -98,6 +103,11 @@ uni-button:after {
justify-content: flex-start;
align-items: center;
}
+.filter_unit {
+ font-size: 28rpx;
+ color: #ff6a00;
+ font-weight: bold;
+}
.tab-line {
_wh(32rpx, 10rpx)
background-color #fff
@@ -272,8 +282,11 @@ uni-button:after {
box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7);
}
.button-default {
+ display: grid;
+ place-items: center; /* 垂直和水平居中 */
font-size: 34rpx;
- line-height: 88rpx;
+ line-height: 34rpx;
+ height: 88rpx;
color: #ff6a00;
text-align: center;
letter-spacing: 4rpx;
diff --git a/pages/General/distribution-box.vue b/pages/General/distribution-box.vue
index 239d03a..8bd8659 100644
--- a/pages/General/distribution-box.vue
+++ b/pages/General/distribution-box.vue
@@ -1,19 +1,159 @@
-
-
+
+
+
+
+
+
+
+ 载具编码
+
+
+
+
+
+
+
+ 所属机台
+
+
+
+
+
+
+
+
+ 工单
+
+
+
+
+
+
+
+ 物料编码
+
+
+
+
+
+
+
+ 重量
+
+
+
+
+ KG
+
+
+
+
+
+
+
+ | 序号 |
+ 物料编码 |
+ 物料名称 |
+ 批次 |
+ 重量(kg) |
+ 生产日期 |
+ 供应商编码 |
+ 供应商名称 |
+ 规格 |
+ 型号 |
+ 有效期(天) |
+ 执行标准 |
+ 品质类型 |
+ 烘干次数 |
+
+
+
+
+ | {{i+1}} |
+ {{e.source_form_type}} |
+ {{e.source_form_date}} |
+ {{e.material_code}} |
+ {{e.material_spec}} |
+ {{e.pcsn}} |
+ {{e.assign_qty}} |
+ {{e.qty}} |
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/General/line-transfer.vue b/pages/General/line-transfer.vue
index 239d03a..8100e49 100644
--- a/pages/General/line-transfer.vue
+++ b/pages/General/line-transfer.vue
@@ -1,19 +1,99 @@
-
-
+
+
+
+
+
+
+
+ 起点
+
+
+
+
+
+
+
+ 终点
+
+
+
+
+
+
+
+ 载具类型
+
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/General/machine-order.vue b/pages/General/machine-order.vue
index 239d03a..9548808 100644
--- a/pages/General/machine-order.vue
+++ b/pages/General/machine-order.vue
@@ -1,19 +1,157 @@
-
-
+
+
+
+
+
+
+
+ 日期
+
+
+
+ {{date}}
+
+
+
+
+
+ 关键字
+
+
+
+
+
+
+
+
+
+
+
+
+ | 物料编码 |
+ 物料名称 |
+ 物料规格 |
+ 型号 |
+ 有效期(天) |
+ 执行标准 |
+
+
+
+
+ | {{e.material_code}} |
+ {{e.material_name}} |
+ {{e.material_spec}} |
+ {{e.unit_id}} |
+ {{e.single_weight}} |
+ {{e.pcsn}} |
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/General/material.vue b/pages/General/material.vue
index 239d03a..c622f10 100644
--- a/pages/General/material.vue
+++ b/pages/General/material.vue
@@ -1,19 +1,131 @@
-
-
+
+
+
+
+
+
+
+ 关键字
+
+
+
+
+
+
+
+
+
+
+
+
+ | 物料编码 |
+ 物料名称 |
+ 物料规格 |
+ 型号 |
+ 有效期(天) |
+ 执行标准 |
+
+
+
+
+ | {{e.material_code}} |
+ {{e.material_name}} |
+ {{e.material_spec}} |
+ {{e.unit_id}} |
+ {{e.single_weight}} |
+ {{e.pcsn}} |
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/General/operation.vue b/pages/General/operation.vue
index 239d03a..bae061e 100644
--- a/pages/General/operation.vue
+++ b/pages/General/operation.vue
@@ -1,19 +1,176 @@
-
-
+
+
+
+
+
+
+
+ 日期
+
+
+
+ {{date1}}
+
+
+ -
+
+
+ {{date2}}
+
+
+
+
+
+ 关键字
+
+
+
+
+
+
+
+
+
+
+
+
+ | 作业日期 |
+ 载具号 |
+ 起点 |
+ 终点 |
+ 状态 |
+ 作业号 |
+ 作业类型 |
+ 设备号 |
+ 备注 |
+
+
+
+
+ | {{e.material_code}} |
+ {{e.material_name}} |
+ {{e.material_spec}} |
+ {{e.unit_id}} |
+ {{e.single_weight}} |
+ {{e.pcsn}} |
+
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/pages/General/ops-mgmt.vue b/pages/General/ops-mgmt.vue
index 239d03a..d551341 100644
--- a/pages/General/ops-mgmt.vue
+++ b/pages/General/ops-mgmt.vue
@@ -1,19 +1,109 @@
-
-
+
+
+
+
+
+
+
+ 关键字
+
+
+
+
+
+
+
+
+
+
+
+
+ | 载具号 |
+ 起点 |
+ 终点 |
+ 状态 |
+ 作业号 |
+ 作业类型 |
+ 设备号 |
+ 当前步骤 |
+ 异常信息 |
+
+
+
+
+ | {{e.material_code}} |
+ {{e.material_name}} |
+ {{e.material_spec}} |
+ {{e.unit_id}} |
+ {{e.single_weight}} |
+ {{e.pcsn}} |
+
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/General/pick-place-goods.vue b/pages/General/pick-place-goods.vue
index 239d03a..092ab41 100644
--- a/pages/General/pick-place-goods.vue
+++ b/pages/General/pick-place-goods.vue
@@ -1,19 +1,162 @@
-
-
+
+
+
+
+
+
+
+ 点位/载具
+
+
+
+
+
+
+
+ 当前站点
+
+
+
+
+
+
+
+ 任务号
+
+
+
+
+
+ AGV
+
+
+
+
+
+
+
+ 起点
+
+
+
+
+
+ 终点
+
+
+
+
+
+
+
+
+
+
+
+ | 序号 |
+ 载具 |
+ 物料编码 |
+ 物料名称 |
+ 批次 |
+ 重量(kg) |
+ 生产日期 |
+ 供应商编码 |
+ 供应商名称 |
+ 品质类型 |
+ 烘干次数 |
+ 来源库区 |
+ 机台 |
+ 工单 |
+
+
+
+
+ | {{i+1}} |
+ {{e.source_form_type}} |
+ {{e.source_form_date}} |
+ {{e.material_code}} |
+ {{e.material_spec}} |
+ {{e.pcsn}} |
+ {{e.assign_qty}} |
+ {{e.qty}} |
+
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/General/pt-update.vue b/pages/General/pt-update.vue
index 239d03a..fbe6b08 100644
--- a/pages/General/pt-update.vue
+++ b/pages/General/pt-update.vue
@@ -1,19 +1,158 @@
-
-
+
+
+
+
+
+
+
+ 点位
+
+
+
+
+
+
+
+ 载具编码
+
+
+
+
+
+
+
+
+
+
+
+
+ | 序号 |
+ 物料编码 |
+ 物料名称 |
+ 批次 |
+ 数量 |
+ 单位 |
+
+
+
+
+ | {{e.material_code}} |
+ {{e.material_name}} |
+ {{e.material_spec}} |
+ {{e.unit_id}} |
+ {{e.single_weight}} |
+ {{e.pcsn}} |
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/General/supplier.vue b/pages/General/supplier.vue
index 239d03a..5bc6734 100644
--- a/pages/General/supplier.vue
+++ b/pages/General/supplier.vue
@@ -1,19 +1,125 @@
-
-
+
+
+
+
+
+
+
+ 关键字
+
+
+
+
+
+
+
+
+
+
+
+
+ | 供应商编码 |
+ 供应商名称 |
+ 备注 |
+
+
+
+
+ | {{e.material_code}} |
+ {{e.material_name}} |
+ {{e.material_spec}} |
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/pages/General/warehouse-box.vue b/pages/General/warehouse-box.vue
index 228d94e..db7e2d6 100644
--- a/pages/General/warehouse-box.vue
+++ b/pages/General/warehouse-box.vue
@@ -5,131 +5,104 @@
-
- 入库单类型
+
+ 载具编码
-
-
+
+
- 单据编码
+ 物料编码
-
-
+
+
-
+
物料名称
-
+
- 物料规格
+ 供应商编码
+
+
+
+
+
+
+
+
+ 供应商名称
-
+
- 单位
+ 批次
-
+
- 物料批次
+ 生产日期
-
-
+
+
+ {{date}}
+
- 物料数量
+ 重量
-
-
+
+
+ KG
- 载具编码
-
-
-
-
-
-
-
- 仓库编码
+ 品质类型
-
-
+
+
+
+
+
+ 烘干次数
+
+
+
-
-
+
+
+
-
-
-
-
-
-
-
-
- | 序号 |
- 物料编码 |
- 物料名称 |
- 物料数量 |
- 单位 |
- 单据状态 |
- 物料批次 |
-
-
-
-
-
- | {{i+1}} |
- {{e.material_code}} |
- {{e.material_name}} |
- {{e.qty}} |
- {{e.unit_name}} |
- {{e.bill_status}} |
- {{e.pcsn}} |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 0d6f19d..b001c83 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -46,7 +46,6 @@
{title: '入库组箱', path: '/pages/General/warehouse-box'},
{title: '配送组箱', path: '/pages/General/distribution-box'},
{title: '点对点转运', path: '/pages/General/line-transfer'},
- {title: '点对点转运', path: '/pages/General/line-transfer'},
{title: '确认取放货', path: '/pages/General/pick-place-goods'},
{title: '作业管理', path: '/pages/General/ops-mgmt'},
{title: '点位更新', path: '/pages/General/pt-update'}
diff --git a/utils/utils.js b/utils/utils.js
index 6f94817..a28107e 100644
--- a/utils/utils.js
+++ b/utils/utils.js
@@ -36,4 +36,23 @@ export const dateFtt = date => {
}
return new Date(Date.parse(date))
}
+
+ /**
+ * 获取当前日期
+ */
+ export const getDate = type => {
+ const date = new Date();
+ let year = date.getFullYear();
+ let month = date.getMonth() + 1;
+ let day = date.getDate();
+
+ if (type === 'start') {
+ year = year - 10;
+ } else if (type === 'end') {
+ year = year + 10;
+ }
+ month = month > 9 ? month : '0' + month;
+ day = day > 9 ? day : '0' + day;
+ return `${year}-${month}-${day}`;
+ }
\ No newline at end of file