|
|
@ -166,11 +166,11 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
console.log(item, value, index, index1);
|
|
|
|
console.log(item, value, index, index1);
|
|
|
|
this.radiomodal = false;
|
|
|
|
this.radiomodal = false;
|
|
|
|
this.inputmodal = false;
|
|
|
|
this.inputmodal = false;
|
|
|
|
if (value == null || value == '') {
|
|
|
|
// if (value == null || value == '') {
|
|
|
|
this.isvalue = true;
|
|
|
|
// this.isvalue = true;
|
|
|
|
} else {
|
|
|
|
// } else {
|
|
|
|
this.isvalue = false;
|
|
|
|
// this.isvalue = false;
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
if (value > item.detailUpLimit || value < item.detailDownLimit) {
|
|
|
|
if (value > item.detailUpLimit || value < item.detailDownLimit) {
|
|
|
|
this.equipmentindex = [];
|
|
|
|
this.equipmentindex = [];
|
|
|
|
this.equipmentindex.push(index);
|
|
|
|
this.equipmentindex.push(index);
|
|
|
@ -373,20 +373,21 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
this.detailsinfolist.detailList.forEach((item) => {
|
|
|
|
this.detailsinfolist.detailList.forEach((item) => {
|
|
|
|
if (item.standardList.length > 0) {
|
|
|
|
if (item.standardList.length > 0) {
|
|
|
|
item.standardList.forEach((item1) => {
|
|
|
|
item.standardList.forEach((item1) => {
|
|
|
|
if (item1.standardType == 'quantify') {
|
|
|
|
if (item1.standardType === 'quantify') {
|
|
|
|
if (item1.actualValue == null || item1.actualValue == '') {
|
|
|
|
if (item1.actualValue == null || item1.actualValue == '') {
|
|
|
|
// console.log(this.isvalue);
|
|
|
|
|
|
|
|
this.isvalue = true;
|
|
|
|
this.isvalue = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
console.log('choubug222', this.isvalue);
|
|
|
|
if (this.isvalue) {
|
|
|
|
if (this.isvalue) {
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
title: '检查标准不能为空',
|
|
|
|
title: '检查标准不能为空',
|
|
|
|
type: 'default',
|
|
|
|
type: 'default',
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
this.isvalue = false;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.detailsinfolist.planPersonName = session.nickName;
|
|
|
|
this.detailsinfolist.planPersonName = session.nickName;
|
|
|
|