|
|
|
@ -1283,9 +1283,9 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
this.detaillistceshi.forEach((item) => {
|
|
|
|
|
if (item.status == 'N') {
|
|
|
|
|
if (item.remark == null || item.remark == '') {
|
|
|
|
|
this.isremark = true;
|
|
|
|
|
}
|
|
|
|
|
// if (item.remark == null || item.remark == '') {
|
|
|
|
|
this.isremark = true;
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// this.detaillistceshi.forEach((item) => {
|
|
|
|
@ -1318,12 +1318,21 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (this.selectList.value != 'checkTypeLL') {
|
|
|
|
|
if (this.isremark) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '不合格描述不能为空',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
// if (this.isremark) {
|
|
|
|
|
// (this.$refs.uToast as any).show({
|
|
|
|
|
// title: '不合格描述不能为空',
|
|
|
|
|
// type: 'default',
|
|
|
|
|
// });
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
if (this.formdata.checkResult == 'N') {
|
|
|
|
|
if (this.formdata.remark === null || this.formdata.remark === '') {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '不合格描述不能为空',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// if (this.isvalue2) {
|
|
|
|
@ -1693,7 +1702,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
// sqr: this.model.sqrlist[0].userId,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
//console.log('9999ggggg',query);
|
|
|
|
|
// console.log('9999ggggg', this.detaillistceshi);
|
|
|
|
|
await this.model.commitCheckTaskList(query);
|
|
|
|
|
if (this.model.SubmitCode.code == '200') {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|