自动化条件
parent
2c053e9f06
commit
81d08dbd56
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue