From 81d08dbd56c24bebb7fa0c3760a7b5259f005099 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Sun, 1 Mar 2026 03:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/control/automatic.vue | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/pages/home/control/automatic.vue b/pages/home/control/automatic.vue index c7ce711..3ca3ea3 100644 --- a/pages/home/control/automatic.vue +++ b/pages/home/control/automatic.vue @@ -524,9 +524,26 @@ export default { getAgriTerm() { getAgriTerm(this.imei).then(response => { if (response.code === 200) { - this.termList = response.data; } + if (this.termList && this.termList.length>0) { + return; + } + this.termList = []; + for (const [index,value] of this.filmRollerList.entries()) { + this.termList.push({ + terms: [], + config: { + refTemp: '请选择', + refTempCode: null, + autoTotalLen: null, + manualTotalLen: null, + reservedLen: null, + roller: `jm${index+1}`, + imei: this.value + } + }) + } }).catch(err => { }).finally(() => { @@ -946,7 +963,7 @@ export default { } else { uni.showModal({ title: '操作提示:', - content: '', + content: '确定保存自动化条件?', cancelText: '取消', confirmText: '确定', success: (res) => {