From aca7aa9ce32acc4c8795342f945b027d3bc9f62a Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期二, 10 六月 2025 17:37:34 +0800
Subject: [PATCH] feat: 添加时效报工,修复扫码内存泄漏
---
src/pages/production/wire/report/wireForm.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/pages/production/wire/report/wireForm.vue b/src/pages/production/wire/report/wireForm.vue
index b2c4b74..f4e71f6 100644
--- a/src/pages/production/wire/report/wireForm.vue
+++ b/src/pages/production/wire/report/wireForm.vue
@@ -51,9 +51,9 @@
clearable
placeholder="璇疯緭鍏ユ潌鍖呭彿"
>
- <template #label>
- <span style="color: #F56C6C">鏉嗗寘鍙�</span>
- </template>
+ <template #label>
+ <span style="color: #f56c6c">鏉嗗寘鍙�</span>
+ </template>
</wd-input>
<wd-input
v-model="model.dishModel"
@@ -62,9 +62,9 @@
clearable
placeholder="璇疯緭鍏ョ洏鍨嬪彿"
>
- <template #label>
- <span style="color: #F56C6C">鐩樺瀷鍙�</span>
- </template>
+ <template #label>
+ <span style="color: #f56c6c">鐩樺瀷鍙�</span>
+ </template>
</wd-input>
<wd-input
v-model="model.actuallyLength"
@@ -73,9 +73,9 @@
clearable
placeholder="璇疯緭鍏ュ疄闄呴暱搴�"
>
- <template #label>
- <span style="color: #F56C6C">瀹為檯闀垮害(m)</span>
- </template>
+ <template #label>
+ <span style="color: #f56c6c">瀹為檯闀垮害(m)</span>
+ </template>
</wd-input>
<wd-input
v-model="model.actuallyWeight"
@@ -84,9 +84,9 @@
clearable
placeholder="璇疯緭鍏ュ疄闄呴噸閲�"
>
- <template #label>
- <span style="color: #F56C6C">瀹為檯閲嶉噺(kg)</span>
- </template>
+ <template #label>
+ <span style="color: #f56c6c">瀹為檯閲嶉噺(kg)</span>
+ </template>
</wd-input>
</wd-cell-group>
<wd-toast />
@@ -123,7 +123,7 @@
});
if (code == 200) {
toast.success("鎻愪氦鎴愬姛");
- resetForm()
+ resetForm();
return true;
} else {
toast.error("鎻愪氦澶辫触");
@@ -142,7 +142,7 @@
const arr = code.code.split(",");
model.poleNumber = arr[3]; // 棰嗙敤鏉嗗彿
model.poleWeight = arr[4]; // 鏉嗛噸
- model.poleModel = '桅' + arr[1].slice(2); // 鏉嗗瀷鍙�
+ model.poleModel = arr[2]; // 鏉嗗瀷鍙�
};
onLoad((options: any) => {
--
Gitblit v1.9.3