Browse Source

2025-03-27

FQAS任务重载修改
master
fengyuan_yang 11 months ago
parent
commit
67b649e5d7
  1. 11
      src/views/modules/qc/FQASResultEntry.vue
  2. 11
      src/views/modules/qc/IQCResultEntry.vue
  3. 11
      src/views/modules/qc/OQCResultEntry.vue

11
src/views/modules/qc/FQASResultEntry.vue

@ -97,7 +97,7 @@
<el-button v-if="!authSearch" type="primary" @click="getDataList">查询</el-button>
<el-button v-if="!authCheck" type="primary" @click="submitResult">审核</el-button>
<el-button v-if="!authDelete" type="primary" @click="deleteModal">删除</el-button>
<el-button v-if="!authOverLoad" type="primary" @click="overLoadModal">任务重载</el-button>
<el-button v-if="!authOverLoad" type="primary" :loading="overLoading" @click="overLoadModal">任务重载</el-button>
<download-excel
:fields="fields()"
:data="exportData"
@ -1740,7 +1740,8 @@
receiptItemNo: '',
inspectionTypeNo: ''
},
changeModalFlag: false
changeModalFlag: false,
overLoading: false
}
},
@ -2591,6 +2592,7 @@
site: '',
submitList: this.FQASSelections
}
this.overLoading = true
fqasRecordOverLoad(tempData).then(({data}) => {
if (data && data.code === 0) {
this.getDataList()
@ -2601,13 +2603,16 @@
duration: 1500,
onClose: () => {}
})
this.overLoading = false
} else {
this.overLoading = false
this.$alert(data.msg, '错误', {
confirmButtonText: '确定'
})
}
}).catch(() => {
this.overLoading = false
})
}).catch(() => {
})
} else {
this.$message.warning('检验单必须为待检验状态!')

11
src/views/modules/qc/IQCResultEntry.vue

@ -112,7 +112,7 @@
<el-button v-if="!authSearch" type="primary" @click="getDataList">查询</el-button>
<el-button v-if="!authCheck" type="primary" @click="submitResult">审核</el-button>
<el-button v-if="!authDelete" type="primary" @click="deleteModal">删除</el-button>
<el-button v-if="!authOverLoad" type="primary" @click="overLoadModal">任务重载</el-button>
<el-button v-if="!authOverLoad" type="primary" :loading="overLoading" @click="overLoadModal">任务重载</el-button>
<el-button v-if="!authOverLoad" type="primary" @click="batchQualifiedModal">批量合格处理</el-button>
<download-excel
:fields="fields()"
@ -2115,7 +2115,8 @@
inspectionTypeNo: ''
},
changeModalFlag: false,
batchLoading: false
batchLoading: false,
overLoading: false
}
},
@ -3224,6 +3225,7 @@
site: '',
submitList: this.IQCSelections
}
this.overLoading = true
iqcRecordOverLoad(tempData).then(({data}) => {
if (data && data.code === 0) {
this.getDataList()
@ -3234,13 +3236,16 @@
duration: 1500,
onClose: () => {}
})
this.overLoading = false
} else {
this.overLoading = false
this.$alert(data.msg, '错误', {
confirmButtonText: '确定'
})
}
}).catch(() => {
this.overLoading = false
})
}).catch(() => {
})
} else {
this.$message.warning('检验单必须为待检验状态!')

11
src/views/modules/qc/OQCResultEntry.vue

@ -90,7 +90,7 @@
<el-button v-if="!authSearch" type="primary" @click="getDataList">查询</el-button>
<el-button v-if="!authCheck" type="primary" @click="submitResult">审核</el-button>
<el-button v-if="!authDelete" type="primary" @click="deleteModal">删除</el-button>
<el-button v-if="!authOverLoad" type="primary" @click="overLoadModal">任务重载</el-button>
<el-button v-if="!authOverLoad" type="primary" :loading="overLoading" @click="overLoadModal">任务重载</el-button>
<download-excel
:fields="fields()"
:data="exportData"
@ -1714,7 +1714,8 @@
receiptItemNo: '',
inspectionTypeNo: ''
},
changeModalFlag: false
changeModalFlag: false,
overLoading: false
}
},
@ -2558,6 +2559,7 @@
site: '',
submitList: this.FQASSelections
}
this.overLoading = true
fqasRecordOverLoad(tempData).then(({data}) => {
if (data && data.code === 0) {
this.getDataList()
@ -2568,13 +2570,16 @@
duration: 1500,
onClose: () => {}
})
this.overLoading = false
} else {
this.overLoading = false
this.$alert(data.msg, '错误', {
confirmButtonText: '确定'
})
}
}).catch(() => {
this.overLoading = false
})
}).catch(() => {
})
} else {
this.$message.warning('检验单必须为待检验状态!')

Loading…
Cancel
Save