diff --git a/src/views/modules/srmDocument/srmSupplierDocumentListDefinition.vue b/src/views/modules/srmDocument/srmSupplierDocumentListDefinition.vue index d881289..d85f7d6 100644 --- a/src/views/modules/srmDocument/srmSupplierDocumentListDefinition.vue +++ b/src/views/modules/srmDocument/srmSupplierDocumentListDefinition.vue @@ -11,7 +11,7 @@ - + - + - + - - + + - + 文档类型ID - + - - + + - + - - + + @@ -181,8 +181,9 @@ getTableDefaultListLanguage, getTableUserListLanguage, } from "@/api/table.js" - import {EventBus} from "../../main"; + import {updateColumnSize} from "../../../api/table"; + import {EventBus} from '../../../main' export default { components: { @@ -281,7 +282,7 @@ columnProp: 'supplierDocType', headerAlign: "center", align: "left", - columnLabel: '供应商分类', + columnLabel: '供应商类别', columnHidden: false, columnImage: false, columnSortable: false, @@ -692,7 +693,7 @@ site: this.$store.state.user.site, documentTypeId: '', documentType: '', - supplierDocType: '', + supplierDocType: 'common', responsibleDepartment: '', estimatedCompletionDays: '', // active: 'Y', @@ -769,7 +770,7 @@ return } if (this.modalData.supplierDocType === '' || this.modalData.supplierDocType == null) { - this.$message.warning('请选择供应商分类!') + this.$message.warning('请选择供应商类别!') return } if (this.modalData.documentTypeId === '' || this.modalData.documentTypeId == null) { diff --git a/src/views/modules/srmSupplier/com_srmSupplier_DocumentDefinition.vue b/src/views/modules/srmSupplier/com_srmSupplier_DocumentDefinition.vue new file mode 100644 index 0000000..d3eb06a --- /dev/null +++ b/src/views/modules/srmSupplier/com_srmSupplier_DocumentDefinition.vue @@ -0,0 +1,252 @@ + + + + + diff --git a/src/views/modules/srmSupplier/supplierList.vue b/src/views/modules/srmSupplier/supplierList.vue index cb08899..ff9e9e9 100644 --- a/src/views/modules/srmSupplier/supplierList.vue +++ b/src/views/modules/srmSupplier/supplierList.vue @@ -211,6 +211,312 @@ export default { status: true, fixed: false }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1SupplierDocType', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "supplierDocType", + headerAlign: "center", + align: "left", + columnLabel: "供应商类别", + columnWidth: "80", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1TaxCode', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "taxCode", + headerAlign: "center", + align: "left", + columnLabel: "Tax Code", + columnWidth: "200", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1FaxNo', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "faxNo", + headerAlign: "center", + align: "left", + columnLabel: "Fax No", + columnWidth: "150", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1PhoneNo', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "phoneNo", + headerAlign: "center", + align: "left", + columnLabel: "Phone No", + columnWidth: "150", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1Contact', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "contact", + headerAlign: "center", + align: "left", + columnLabel: "Contact", + columnWidth: "150", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1Address', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "address", + headerAlign: "center", + align: "left", + columnLabel: "Address", + columnWidth: "250", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1PaymentTerm', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "paymentTerm", + headerAlign: "center", + align: "left", + columnLabel: "Payment Term", + columnWidth: "120", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1DeliveryTerm', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "deliveryTerm", + headerAlign: "center", + align: "left", + columnLabel: "Delivery Term", + columnWidth: "120", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1Buyer', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "buyer", + headerAlign: "center", + align: "left", + columnLabel: "Buyer", + columnWidth: "100", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1Currency', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "currency", + headerAlign: "center", + align: "left", + columnLabel: "Currency", + columnWidth: "80", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1ABC', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "abc", + headerAlign: "center", + align: "left", + columnLabel: "ABC Classification", + columnWidth: "100", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1Active', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "active", + headerAlign: "center", + align: "center", + columnLabel: "Active", + columnWidth: "100", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1BankName', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "bankName", + headerAlign: "center", + align: "left", + columnLabel: "Bank Name", + columnWidth: "150", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1BankAccount', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "bankAccount", + headerAlign: "center", + align: "left", + columnLabel: "Bank Account", + columnWidth: "100", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1TaxNo', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "taxNo", + headerAlign: "center", + align: "left", + columnLabel: "Tax No", + columnWidth: "100", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1Email', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "email", + headerAlign: "center", + align: "left", + columnLabel: "Email", + columnWidth: "150", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1Memo', + tableId: "811001Table1", + tableName: "供应商信息", + columnProp: "memo", + headerAlign: "center", + align: "left", + columnLabel: "Memo", + columnWidth: "100", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + } ], columnArray3: [ {