Browse Source

2024.12.04 物料成本导入、询价相关文档、邮件跳转链接优化,文档收集所有文档链接全工序SOP

java8
yuejiayang 1 year ago
parent
commit
4a9e93384b
  1. 36
      src/views/modules/eam/eamProjectInfo.vue
  2. 7
      src/views/modules/part/partCostInformation.vue

36
src/views/modules/eam/eamProjectInfo.vue

@ -1618,6 +1618,42 @@ import {searchBusinessInfo7} from "../../../api/factory/site";
fixed: '',
columnWidth: 100,
},
{
userId: this.$store.state.user.name,
functionId: 401003,
serialNumber: '401003Table2CustomerNo',
tableId: "401003Table2",
tableName: "项目信息表",
columnProp: "customerNo",
headerAlign: "center",
align: "left",
columnLabel: "客户编码",
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100
},
{
userId: this.$store.state.user.name,
functionId: 401003,
serialNumber: '401003Table2CustomerDesc',
tableId: "401003Table2",
tableName: "项目信息表",
columnProp: "customerDesc",
headerAlign: "center",
align: "left",
columnLabel: "客户名称",
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 150
},
{
userId: this.$store.state.user.name,
functionId: 401003,

7
src/views/modules/part/partCostInformation.vue

@ -175,7 +175,7 @@
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="saveUploadFile">保存</el-button>
<el-button type="primary" :disabled="isLoading" @click="saveUploadFile">{{ isLoading ? '保存中...' : '保存'}}</el-button>
<el-button type="primary" @click="closeUploadDialog">关闭</el-button>
</span>
</el-dialog>
@ -210,6 +210,7 @@ export default {
//
titleCon: '文件导入',
visible: false,
isLoading: false,
fileList: [],
//
searchData: {
@ -1049,6 +1050,7 @@ export default {
//
saveUploadFile () {
this.isLoading = true
//
if (null == this.fileList || 0 === this.fileList.length) {
this.$message.error("请先上传文件!")
@ -1061,10 +1063,13 @@ export default {
savePartCostComponentByExcel(formData).then(({data}) => {
if (data.code === 0) {
this.$message.success(data.msg)
this.getDataList()
//
this.closeUploadDialog()
this.isLoading = false
} else {
this.$message.warning(data.msg)
this.isLoading = false
}
})
},

Loading…
Cancel
Save