From c949f649c68ea55aedc72f3eeb5bb20d113f9f1e Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Mon, 10 Feb 2025 16:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E9=A2=86=E6=96=99=E5=87=BA=E5=BA=93bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../material/lease/apply/component/homeApply.vue | 12 ++++++++---- src/views/material/lease/outBound/index.vue | 12 ++++++++---- .../purchase/goodsBind/component/bindTools.vue | 4 +++- .../repair/repairManage/component/home.vue | 16 ++++++++-------- 4 files changed, 27 insertions(+), 17 deletions(-) diff --git a/src/views/material/lease/apply/component/homeApply.vue b/src/views/material/lease/apply/component/homeApply.vue index 1f629ce3..998b75d6 100644 --- a/src/views/material/lease/apply/component/homeApply.vue +++ b/src/views/material/lease/apply/component/homeApply.vue @@ -213,19 +213,23 @@ 领料单
-
+
领料单位: {{ leaseApplyData.leaseUnit }}
-
+
工程名称: {{ leaseApplyData.leaseProject }}
-
+
+ 发料单位: + {{ leaseApplyData.sendUnit }} +
+
时间: {{ leaseApplyData.createTime.split(" ")[0] }}
-
+
编号: {{ leaseApplyData.code }}
diff --git a/src/views/material/lease/outBound/index.vue b/src/views/material/lease/outBound/index.vue index 71c617e2..b0c81aea 100644 --- a/src/views/material/lease/outBound/index.vue +++ b/src/views/material/lease/outBound/index.vue @@ -600,19 +600,23 @@ 领料单
-
+
领料单位: {{ leaseApplyData.leaseUnit }}
-
+
工程名称: {{ leaseApplyData.leaseProject }}
-
+
+ 发料单位: + {{ leaseApplyData.sendUnit }} +
+
时间: {{ leaseApplyData.createTime.split(" ")[0] }}
-
+
编号: {{ leaseApplyData.code }}
diff --git a/src/views/material/purchase/goodsBind/component/bindTools.vue b/src/views/material/purchase/goodsBind/component/bindTools.vue index 473e8d34..9ada9bda 100644 --- a/src/views/material/purchase/goodsBind/component/bindTools.vue +++ b/src/views/material/purchase/goodsBind/component/bindTools.vue @@ -794,12 +794,14 @@ export default { this.codeTableList = []; // 1.3 循环生成编码 for (let i = 0; i < passCodeNUm; i++) { + // 计算当前的后缀值,保留前导零 + const currentSuffix = (parseInt(codeSuffixStart) + i).toString().padStart(codeSuffixStart.length, '0'); const codeItem = { typeName, maTypeName, outFacCode: "", // productDate: "", - maCode: `${codePrefix}${parseInt(codeSuffixStart) + i}`, + maCode: `${codePrefix}${currentSuffix}`, }; this.codeTableList.push(codeItem); } diff --git a/src/views/material/repair/repairManage/component/home.vue b/src/views/material/repair/repairManage/component/home.vue index 8c89d3ce..c4729b98 100644 --- a/src/views/material/repair/repairManage/component/home.vue +++ b/src/views/material/repair/repairManage/component/home.vue @@ -85,23 +85,23 @@ 机具设备维修任务单
-
+
日期: {{ repairTicketlLevelOne.createTime }}
-
+
单号: {{ repairTicketlLevelOne.repairCode }}
-
+
承修单位: {{ repairTicketlLevelOne.backUnit }}
-
+ +
项目名称: {{ repairTicketlLevelOne.backPro }}
@@ -109,9 +109,9 @@ 委托单位: {{ repairTicketlLevelOne.backUnit }}
-
+