From 5b3fc66a3650feb93691f7e2d6dca5e9c6be22bf Mon Sep 17 00:00:00 2001
From: Zones <765289303@qq.com>
Date: Thu, 11 Jun 2026 15:49:17 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8C=85=E8=A3=85=E6=96=B0=E5=A2=9E=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/hj.js | 39 ++++++---
assets/css/page.scss | 27 +++---
pages.json | 15 +++-
pipe/packaging/add.vue | 169 +++++++++++++++++++++++++++++++++++++-
pipe/packaging/detail.vue | 8 ++
pipe/packaging/list.vue | 18 ++--
6 files changed, 239 insertions(+), 37 deletions(-)
create mode 100644 pipe/packaging/detail.vue
diff --git a/api/hj.js b/api/hj.js
index 84d2a3c..3fdfa28 100644
--- a/api/hj.js
+++ b/api/hj.js
@@ -8,17 +8,7 @@ import {
*/
export const reqHJIndexData = (projectId) => get(`HJGLIndex/GetJGLIndexItem?projectId=${projectId}`)
-/**
- * 获取点口管理列表
- */
-export const reqGetNotEndPointBatch = (unitWorkId, projectId) => get(
- `NDETrust/getNotEndPointBatch?unitWorkId=${unitWorkId}&projectId=${projectId}`)
-
-/**
- * 获取点口详情列表
- */
-export const reqGetPointBatchDetail = (id) => get(`NDETrust/getPointBatchDetail?pointBatchId=${id}`)
-
+// ======================= 焊接日报 ==========================================
/**
* 获取焊接日报详情
*/
@@ -30,14 +20,37 @@ export const reqGetWeldJointByWeldJointId = (id) => get(`PipeJoint/getWeldJointB
export const reqSaveWeldingDailyByWeldJointId = (data) => get(
`PreWeldingDaily/SaveWeldingDailyByWeldJointId?WeldJointId=${data.WeldJointId||''}&Personid=${data.Personid||''}&time=${data.time||''}&weldingLocation=${data.weldingLocation||''}&welderType=${data.welderType||''}`
)
-
+// ==================== 点口管理 ================================================
/**
* 点口
*/
export const reqGetManualPointSave = (weldJointId)=>get(`NDETrust/getManualPointSave?weldJointId=${weldJointId}`)
+/**
+ * 获取点口管理列表
+ */
+export const reqGetNotEndPointBatch = (unitWorkId, projectId) => get(
+ `NDETrust/getNotEndPointBatch?unitWorkId=${unitWorkId}&projectId=${projectId}`)
+
+/**
+ * 获取点口详情列表
+ */
+export const reqGetPointBatchDetail = (id) => get(`NDETrust/getPointBatchDetail?pointBatchId=${id}`)
// ========================= 包装管理 ====================================
/**
* 包装管理列表
*/
-export const reqPackagingInformationList = (data)=> get(`PackagingManage/GetPackagingInformationList?unitId=${data.unitId}&projectId=${data.projectId}&pageindex=${data.pageIndex}&pagesize=${data.pageSize}&packagingCode=${data.packagingCode}&hasTrainNumber=${data.hasTrainNumber}`)
\ No newline at end of file
+export const reqPackagingInformationList = (data)=> get(`PackagingManage/GetPackagingInformationList?unitId=${data.unitId}&projectId=${data.projectId}&pageindex=${data.pageIndex}&pagesize=${data.pageSize}&packagingCode=${data.packagingCode}&hasTrainNumber=${data.hasTrainNumber}`)
+/**
+ * 获取包装编号
+ */
+export const reqPackagingNumberByProjectId = (projectId)=>get(`PackagingManage/GetPackagingNumberByProjectId?projectId=${projectId}`)
+/**
+ * 请求包装分类
+ */
+export const reqPackagingManage = ()=>get(`PackagingManage/GetPackagingCategories`)
+
+/**
+ * 保存包装
+ */
+export const reqSavePackaging = (data)=> post(`PackagingManage/SavePackaging`, data)
\ No newline at end of file
diff --git a/assets/css/page.scss b/assets/css/page.scss
index d1b98ef..cac3593 100644
--- a/assets/css/page.scss
+++ b/assets/css/page.scss
@@ -783,7 +783,7 @@
display: flex;
align-items: center;
padding: 28rpx 32rpx;
- border-bottom: 1rpx solid #f5f6f8;
+ border-bottom: 1rpx solid #f0f0f0;
&:last-child {
border-bottom: none;
@@ -794,23 +794,28 @@
font-size: 28rpx;
color: #666;
flex-shrink: 0;
+ display: flex;
+ align-items: center;
+
+ .required {
+ color: #ff4d4f;
+ margin-right: 4rpx;
+ }
}
.info-value {
flex: 1;
font-size: 28rpx;
color: #333;
- text-align: right;
+ text-align: left;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
- &.info-link {
- .info-value {
- color: #999;
- }
-
- &:active {
- background: #f8f9fa;
- }
+ .u-input {
+ flex: 1;
+ background: transparent;
}
}
@@ -829,7 +834,7 @@
height: 80rpx;
font-size: 28rpx;
border-radius: 8rpx;
- width: 45% !important;
+ flex: 1;
margin: 0;
}
diff --git a/pages.json b/pages.json
index c78112c..38d54b6 100644
--- a/pages.json
+++ b/pages.json
@@ -59,8 +59,19 @@
{
"path": "packaging/list",
"style": {
- "navigationBarTitleText": "包装管理",
- "enablePullDownRefresh": true
+ "navigationBarTitleText": "包装管理"
+ }
+ },
+ {
+ "path": "packaging/add",
+ "style": {
+ "navigationBarTitleText": "包装管理"
+ }
+ },
+ {
+ "path": "packaging/detail",
+ "style": {
+ "navigationBarTitleText": "包装管理"
}
}
]
diff --git a/pipe/packaging/add.vue b/pipe/packaging/add.vue
index 02409e3..790d3f6 100644
--- a/pipe/packaging/add.vue
+++ b/pipe/packaging/add.vue
@@ -1,8 +1,169 @@
+
+
+
+
+ 包装编号
+ {{ form.PackagingCode || '保存后显示' }}
+
+
+ 货物类型
+ {{ form.TypeName || '预制组件' }}
+
+
+ *预制工作包
+
+
+
+ *包装分类
+
+
+
+
+
+
+ 保存
+
+
+
+
+
-
+
diff --git a/pipe/packaging/detail.vue b/pipe/packaging/detail.vue
new file mode 100644
index 0000000..02409e3
--- /dev/null
+++ b/pipe/packaging/detail.vue
@@ -0,0 +1,8 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pipe/packaging/list.vue b/pipe/packaging/list.vue
index 8675e62..8f9794d 100644
--- a/pipe/packaging/list.vue
+++ b/pipe/packaging/list.vue
@@ -95,7 +95,6 @@ n
\ No newline at end of file