Browse Source

预留描述

dev
常熟吴彦祖 1 day ago
parent
commit
2b7b6f5348
  1. 18
      src/views/modules/haianWarehouse/warehouse/ifsCallErrorLog54.vue

18
src/views/modules/haianWarehouse/warehouse/ifsCallErrorLog54.vue

@ -232,13 +232,20 @@ export default {
}, },
// - rqrq // - rqrq
markAsProcessed() { markAsProcessed() {
// 使site退site - rqrq
if (this.markProcessedLoading || this.markIgnoredLoading) return
if (!this.currentRow.site || !this.currentRow.id) {
this.$message.error('日志工厂或记录编号缺失,请重新查询后操作')
return
}
if (!this.processRemark || this.processRemark.trim() === '') { if (!this.processRemark || this.processRemark.trim() === '') {
this.$message.warning('请填写处理备注') this.$message.warning('请填写处理备注')
return return
} }
this.markProcessedLoading = true this.markProcessedLoading = true
const params = { const params = {
site: this.$store.state.user.site,
// sitesitesitesiteid - rqrq
site: this.currentRow.site,
id: this.currentRow.id, id: this.currentRow.id,
remark: this.processRemark, remark: this.processRemark,
processedBy: this.$store.state.user.name processedBy: this.$store.state.user.name
@ -259,13 +266,20 @@ export default {
}, },
// - rqrq // - rqrq
markAsIgnored() { markAsIgnored() {
// sitesite - rqrq
if (this.markProcessedLoading || this.markIgnoredLoading) return
if (!this.currentRow.site || !this.currentRow.id) {
this.$message.error('日志工厂或记录编号缺失,请重新查询后操作')
return
}
if (!this.processRemark || this.processRemark.trim() === '') { if (!this.processRemark || this.processRemark.trim() === '') {
this.$message.warning('请填写忽略原因') this.$message.warning('请填写忽略原因')
return return
} }
this.markIgnoredLoading = true this.markIgnoredLoading = true
const params = { const params = {
site: this.$store.state.user.site,
// sitesite - rqrq
site: this.currentRow.site,
id: this.currentRow.id, id: this.currentRow.id,
remark: this.processRemark, remark: this.processRemark,
processedBy: this.$store.state.user.name processedBy: this.$store.state.user.name

Loading…
Cancel
Save