diff --git a/src/views/modules/port/portInfo.vue b/src/views/modules/port/portInfo.vue index 471c91d..6ef4534 100644 --- a/src/views/modules/port/portInfo.vue +++ b/src/views/modules/port/portInfo.vue @@ -11,6 +11,9 @@ + + + 查询 重置 @@ -97,16 +100,21 @@ label-position="top" class="part-form"> - + - + + + + + + @@ -195,6 +203,7 @@ export default { searchData: { portCode: '', portName: '', + country: '', page: 1, limit: 20 }, @@ -203,6 +212,7 @@ export default { columnArray1: [ { columnProp: 'portCode', columnLabel: '港口编码', columnWidth: '120', headerAlign: 'center', align: 'center', fixed: false, columnHidden: false, columnSortable: false, showOverflowTooltip: true }, { columnProp: 'portName', columnLabel: '港口名称', columnWidth: '180', headerAlign: 'center', align: 'center', fixed: false, columnHidden: false, columnSortable: false, showOverflowTooltip: true }, + { columnProp: 'country', columnLabel: '国家', columnWidth: '180', headerAlign: 'center', align: 'center', fixed: false, columnHidden: false, columnSortable: false, showOverflowTooltip: true }, { columnProp: 'isDeparturePort', columnLabel: '是否起始港', columnWidth: '100', headerAlign: 'center', align: 'center', fixed: false, columnHidden: false, columnSortable: false, showOverflowTooltip: true }, { columnProp: 'isDestinationPort', columnLabel: '是否目的港', columnWidth: '100', headerAlign: 'center', align: 'center', fixed: false, columnHidden: false, columnSortable: false, showOverflowTooltip: true }, { columnProp: 'active', columnLabel: '是否在用', columnWidth: '100', headerAlign: 'center', align: 'center', fixed: false, columnHidden: false, columnSortable: false, showOverflowTooltip: true }, @@ -219,6 +229,7 @@ export default { portForm: { portCode: '', portName: '', + country:'', active: 'Y', isDeparturePort: 'Y', isDestinationPort: 'N', @@ -368,6 +379,7 @@ export default { this.portForm = { portCode: row.portCode, portName: row.portName, + country: row.country || '', active: row.active || 'Y', isDeparturePort: row.isDeparturePort || 'Y', isDestinationPort: row.isDestinationPort || 'N', diff --git a/src/views/modules/srmSupplier/supplierList.vue b/src/views/modules/srmSupplier/supplierList.vue index be3e2f8..0457bf2 100644 --- a/src/views/modules/srmSupplier/supplierList.vue +++ b/src/views/modules/srmSupplier/supplierList.vue @@ -17,6 +17,12 @@ + + + + + + Planner @@ -51,13 +57,18 @@ :min-width="item.columnWidth" :label="item.columnLabel"> @@ -177,11 +188,19 @@ - + + + + + + + + + @@ -399,6 +418,7 @@ export default { supplierNo: '', supplierName: '', active: '', + status: '', currency:'', taxCode:'', paymentTerm:'', @@ -473,6 +493,24 @@ export default { status: true, fixed: false }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '811001Table1SupplierGroup', + tableId: '811001Table1', + tableName: '供应商信息', + columnProp: 'status', + headerAlign: 'center', + align: 'center', + columnLabel: '活跃状态', + columnWidth: '100', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, { userId: this.$store.state.user.name, functionId: this.functionId, @@ -1257,6 +1295,12 @@ export default { } }, methods: { + getStatusClass (status) { + return { + 'status-active': status === 'Active', + 'status-inactive': status === 'Inactive' + } + }, loadMainOrReminder () { const raw = this.$route.query.docExpireSupplierIds if (raw !== undefined && raw !== null && String(raw).trim() !== '') { @@ -1575,6 +1619,7 @@ export default { supplierName: '', supplierDocType: '', active: 'Y', + status: 'Active', supplierGroup: '', abc: '', buyer: '', @@ -1805,4 +1850,9 @@ export default { height: 28px; } } + +.status-active, +.status-inactive { + color: #ff0000; +} diff --git a/src/views/modules/sys/user.vue b/src/views/modules/sys/user.vue index 4ba0bb7..6529506 100644 --- a/src/views/modules/sys/user.vue +++ b/src/views/modules/sys/user.vue @@ -558,13 +558,13 @@ - +
- + - + @@ -574,7 +574,7 @@
- 可选角色 + 可选岗位 + label="岗位编码"> + label="岗位名称"> @@ -616,7 +616,7 @@ - 已有角色 + 已有岗位 + label="岗位编码"> + label="岗位名称">