自动化条件

feasure
lld 2026-03-01 03:39:25 +08:00
parent 2c053e9f06
commit 81d08dbd56
1 changed files with 19 additions and 2 deletions

View File

@ -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) => {