|
|
|
@ -864,6 +864,12 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
async selectischeck(e: any) {
|
|
|
|
|
this.selectischeckType = e.pickerName;
|
|
|
|
|
this.formdata.sfxvzq = this.selectischeckType.value;
|
|
|
|
|
if (this.formdata.sfxvzq == '1') {
|
|
|
|
|
this.selectpgzgList = {};
|
|
|
|
|
this.selectZLType = {};
|
|
|
|
|
this.formdata.pgzg = null;
|
|
|
|
|
this.formdata.pgzr = null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
async selectpgzgCode(e: any) {
|
|
|
|
|
this.selectpgzgList = e.pickerName;
|
|
|
|
@ -1093,6 +1099,20 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.selectischeckType.value == '0' && !this.formdata.pgzg) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请选择QC主管',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.selectischeckType.value === '0' && !this.formdata.pgzr) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请选择质量主管',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1308,7 +1328,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
// sqr: this.model.sqrlist[0].userId,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
console.log(query, this.formdata);
|
|
|
|
|
//console.log('9999ggggg',query);
|
|
|
|
|
await this.model.commitCheckTaskList(query);
|
|
|
|
|
if (this.model.SubmitCode.code == '200') {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|