Commit aae4b8dd authored by 张海景's avatar 张海景

update:修改首检确认的逻辑

parent 26481cfc
...@@ -391,10 +391,10 @@ export default { ...@@ -391,10 +391,10 @@ export default {
this.getQcFirstLines(); this.getQcFirstLines();
} }
}, },
async getIpqcList(type, status) { async getIpqcList(type) {
let params = { ipqcType: type } let params = { ipqcType: type }
if (status) { if (this.curQcType == 'SJQR') {
params = {status} params = {status:'PENDING'}
} }
const res = await this.$u.api.ipqcList(params); const res = await this.$u.api.ipqcList(params);
if (res.code === 200) { if (res.code === 200) {
...@@ -552,11 +552,7 @@ export default { ...@@ -552,11 +552,7 @@ export default {
handleClickBtn(type) { handleClickBtn(type) {
this.qcForm = {}; this.qcForm = {};
this.curQcType = type; this.curQcType = type;
if (type == 'SJQR') {
this.getIpqcList(type, 'PENDING');
} else {
this.getIpqcList(type); this.getIpqcList(type);
}
console.log(type, 'type'); console.log(type, 'type');
// if (type === 'QCMSG') { // if (type === 'QCMSG') {
// this.qcMsgVisible = true // this.qcMsgVisible = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment