mes质量检验校验&样式修改

master
guoshuang 11 months ago
parent 209e6ba547
commit 5a7587ab79

@ -37,7 +37,7 @@
<span v-if="duoyukey"><span>&nbsp;&nbsp;&nbsp;&nbsp;</span>采购单:{{ item[duoyukey] }}</span>
</view>
<view>{{ item[showKey] || item }}</view>
<view style="white-space: pre-wrap; line-height: 16px">{{ item[showKey] || item }}</view>
</view>
</picker-view-column>
</picker-view>
@ -234,6 +234,7 @@ export default {
// border-left:1px solid #000000;
width: 100%;
display: inline-block;
white-space: normal;
}
}

@ -142,7 +142,7 @@ export default class LoginPage extends BasePage {
// console.log('Version////', this.Version);
}
///******************
version = '0.0.82'; //
version = '0.0.83'; //
//version = '0.0.4'; //
//*************** false true ****************
//isTest = true;

@ -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({

Loading…
Cancel
Save