2.22修改生产质检页面问题

master
LAPTOP-R6EHHS26\86155 1 year ago
parent c62b7266f0
commit a754913163

@ -546,16 +546,16 @@ export default class PurchaseWHSRM extends BasePage {
} }
} }
}); });
this.detaillistceshi.forEach((item) => { // this.detaillistceshi.forEach((item) => {
if (item.defectCode == null || item.defectCode == '') { // if (item.defectCode == null || item.defectCode == '') {
this.isvalue2 = true; // this.isvalue2 = true;
} // }
}); // });
this.detaillistceshi.forEach((item) => { // this.detaillistceshi.forEach((item) => {
if (item.defectQuality == null || item.defectQuality == '') { // if (item.defectQuality == null || item.defectQuality == '') {
this.isvalue3 = true; // this.isvalue3 = true;
} // }
}); // });
this.detaillistdefects.forEach((item) => { this.detaillistdefects.forEach((item) => {
if (item.noOkQuality === null || item.noOkQuality === '') { if (item.noOkQuality === null || item.noOkQuality === '') {
this.isquality = true; this.isquality = true;
@ -570,20 +570,20 @@ export default class PurchaseWHSRM extends BasePage {
}); });
return; return;
} }
if (this.isvalue2) { // if (this.isvalue2) {
(this.$refs.uToast as any).show({ // (this.$refs.uToast as any).show({
title: '请选择不良分类', // title: '',
type: 'default', // type: 'default',
}); // });
return; // return;
} // }
if (this.isvalue3) { // if (this.isvalue3) {
(this.$refs.uToast as any).show({ // (this.$refs.uToast as any).show({
title: '不合格数量不能为空', // title: '',
type: 'default', // type: 'default',
}); // });
return; // return;
} // }
if (this.formdata.sampleQuality === null || this.formdata.sampleQuality === '') { if (this.formdata.sampleQuality === null || this.formdata.sampleQuality === '') {
(this.$refs.uToast as any).show({ (this.$refs.uToast as any).show({
title: '抽样数量不能为空', title: '抽样数量不能为空',

@ -65,7 +65,7 @@ export default class RawHome extends BasePage {
model = model; model = model;
src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg'; src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg';
today = dayjs().format('YYYY-MM-DD dddd'); today = dayjs().format('YYYY-MM-DD dddd');
version = '0.0.40'; version = '0.0.41';
checkversion: any = {}; checkversion: any = {};
sessiondata: any = ''; sessiondata: any = '';
onLoad() { onLoad() {

Loading…
Cancel
Save