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

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

Loading…
Cancel
Save