Browse Source

样式调整

master
han\hanst 3 weeks ago
parent
commit
b35c2a68e3
  1. 4
      src/views/modules/erf/components/expRawMaterialList.vue
  2. 5
      src/views/modules/erf/expApplyApproval.vue
  3. 8
      src/views/modules/part/quicklyCreateBom.vue

4
src/views/modules/erf/components/expRawMaterialList.vue

@ -53,7 +53,7 @@
prop="partNo" prop="partNo"
label="物料编码" label="物料编码"
min-width="150" min-width="150"
align="left"
align="center"
header-align="center" header-align="center"
show-overflow-tooltip> show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
@ -66,7 +66,7 @@
prop="partDesc" prop="partDesc"
label="物料描述" label="物料描述"
min-width="200" min-width="200"
align="left"
align="center"
header-align="center" header-align="center"
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>

5
src/views/modules/erf/expApplyApproval.vue

@ -830,7 +830,7 @@ export default {
if (attachmentList.length === 0) { if (attachmentList.length === 0) {
// //
this.$message.info('该申请单暂无附件')
this.$message.warning('该申请单暂无附件')
} else if (attachmentList.length === 1) { } else if (attachmentList.length === 1) {
// //
this.previewAttachment(attachmentList[0]) this.previewAttachment(attachmentList[0])
@ -842,9 +842,6 @@ export default {
} else { } else {
this.$message.warning(data.msg || '查询附件失败') this.$message.warning(data.msg || '查询附件失败')
} }
}).catch(error => {
this.attachmentLoading = false
this.$message.error('查询附件异常')
}) })
}, },

8
src/views/modules/part/quicklyCreateBom.vue

@ -5838,7 +5838,7 @@ export default {
const allItems = data.items || [] const allItems = data.items || []
if (ptmConditions.length === 0) { if (ptmConditions.length === 0) {
this.$message.info('该商品组下未配置PTM参数')
this.$message.warning('该商品组下未配置PTM参数')
// //
this.ptmDataList = [] this.ptmDataList = []
this.filteredPtmDataList = [] this.filteredPtmDataList = []
@ -5849,7 +5849,7 @@ export default {
} }
if (allItems.length === 0) { if (allItems.length === 0) {
this.$message.info('该商品组的PTM配置中没有参数')
this.$message.warning('该商品组的PTM配置中没有参数')
// //
this.ptmDataList = [] this.ptmDataList = []
this.filteredPtmDataList = [] this.filteredPtmDataList = []
@ -6014,7 +6014,7 @@ export default {
}) })
if (this.filteredPtmDataList.length === 0) { if (this.filteredPtmDataList.length === 0) {
this.$message.info('没有找到匹配的ProcessTimeMatrix')
this.$message.warning('没有找到匹配的ProcessTimeMatrix')
} else { } else {
this.$message.success(`找到 ${this.filteredPtmDataList.length} 条匹配的ProcessTimeMatrix`) this.$message.success(`找到 ${this.filteredPtmDataList.length} 条匹配的ProcessTimeMatrix`)
} }
@ -6026,7 +6026,7 @@ export default {
resetPtmFilter() { resetPtmFilter() {
this.ptmSearchCode = '' this.ptmSearchCode = ''
this.filteredPtmDataList = this.ptmDataList this.filteredPtmDataList = this.ptmDataList
this.$message.info('已重置筛选条件')
this.$message.warning('已重置筛选条件')
}, },
/** /**

Loading…
Cancel
Save