Browse Source

refactor(order): 优化PO订单表格列配置

- 移除不必要的item列配置项
- 统一列标签命名规范,将下划线分隔改为空格分隔
- 更新多个日期字段的列宽以适应新标签长度
- 将部分缩写标签替换为完整描述性标签
- 调整部分列的显示标签以提高可读性
master
qiankanghui 4 weeks ago
parent
commit
69d03ad4dc
  1. 93
      src/views/modules/order/poOrder.vue

93
src/views/modules/order/poOrder.vue

@ -457,29 +457,6 @@ export default {
editType: 'text',
selectOptionsKey: '',
selectOptions: null
},
{
userId: this.$store.state.user.name,
functionId: 812003,
serialNumber: '812003Table1Item',
tableId: '812003Table1',
tableName: 'PO Order',
columnProp: 'item',
headerAlign: 'center',
align: 'center',
columnLabel: 'Item',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 70,
showOverflowTooltip: true,
editAble: true,
editType: 'text',
selectOptionsKey: '',
selectOptions: null
},
{
userId: this.$store.state.user.name,
@ -490,7 +467,7 @@ export default {
columnProp: 'partNo',
headerAlign: 'center',
align: 'center',
columnLabel: 'Part_No',
columnLabel: 'Part No',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -559,7 +536,7 @@ export default {
columnProp: 'price',
headerAlign: 'center',
align: 'center',
columnLabel: 'Unit_Price',
columnLabel: 'Unit Price',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -582,7 +559,7 @@ export default {
columnProp: 'qty',
headerAlign: 'center',
align: 'center',
columnLabel: 'P_Qty',
columnLabel: 'PO Qty',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -605,7 +582,7 @@ export default {
columnProp: 'value',
headerAlign: 'center',
align: 'center',
columnLabel: 'P_Value',
columnLabel: 'PO Value',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -628,7 +605,7 @@ export default {
columnProp: 'shipQty',
headerAlign: 'center',
align: 'center',
columnLabel: 'A_Qty',
columnLabel: 'A-Qty',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -651,7 +628,7 @@ export default {
columnProp: 'sumPrice',
headerAlign: 'center',
align: 'center',
columnLabel: 'A_Value',
columnLabel: 'A-Value',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -674,7 +651,7 @@ export default {
columnProp: 'departure',
headerAlign: 'center',
align: 'center',
columnLabel: 'P_Departure',
columnLabel: 'Departure Port',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -697,7 +674,7 @@ export default {
columnProp: 'destination',
headerAlign: 'center',
align: 'center',
columnLabel: 'P_Destination',
columnLabel: 'Destination Port',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -720,7 +697,7 @@ export default {
columnProp: 'shipVia',
headerAlign: 'center',
align: 'center',
columnLabel: 'S_Method',
columnLabel: 'Method',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -743,14 +720,14 @@ export default {
columnProp: 'orderDate',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_Issue',
columnLabel: 'Buyer Release Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
columnWidth: 130,
showOverflowTooltip: true,
editAble: true,
editType: 'date',
@ -766,14 +743,14 @@ export default {
columnProp: 'enquiry',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_Enquiry',
columnLabel: 'Planner Release Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
columnWidth: 140,
showOverflowTooltip: true,
editAble: true,
editType: 'date',
@ -812,14 +789,14 @@ export default {
columnProp: 'confirmed',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_Confirmed',
columnLabel: 'PI Confirmed Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
columnWidth: 120,
showOverflowTooltip: true,
editAble: true,
editType: 'date',
@ -835,14 +812,14 @@ export default {
columnProp: 'wantReceiveDate',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_Need',
columnLabel: 'Original Arrival Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
columnWidth: 130,
showOverflowTooltip: true,
editAble: true,
editType: 'date',
@ -858,14 +835,14 @@ export default {
columnProp: 'narrival',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_Narrival',
columnLabel: 'Final Confirmed Arrival Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
columnWidth: 110,
showOverflowTooltip: true,
editAble: true,
editType: 'date',
@ -881,14 +858,14 @@ export default {
columnProp: 'crd',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_CRD',
columnLabel: 'PI Confirmed CRD',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
columnWidth: 120,
showOverflowTooltip: true,
editAble: true,
editType: 'date',
@ -904,7 +881,7 @@ export default {
columnProp: 'inspection',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_Inspection',
columnLabel: 'Inspection Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -927,14 +904,14 @@ export default {
columnProp: 'realCrd',
headerAlign: 'center',
align: 'center',
columnLabel: 'A_CRD',
columnLabel: 'Actual Completion Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
columnWidth: 150,
showOverflowTooltip: true,
editAble: true,
editType: 'date',
@ -973,7 +950,7 @@ export default {
columnProp: 'flexid',
headerAlign: 'center',
align: 'center',
columnLabel: 'FLEXID',
columnLabel: 'FLEXPORT ID',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -996,7 +973,7 @@ export default {
columnProp: 'obd',
headerAlign: 'center',
align: 'center',
columnLabel: 'A_OBD',
columnLabel: 'On Board Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1019,7 +996,7 @@ export default {
columnProp: 'docSent',
headerAlign: 'center',
align: 'center',
columnLabel: 'Doc_Sent',
columnLabel: 'Doc Sent',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1042,7 +1019,7 @@ export default {
columnProp: 'telexRelease',
headerAlign: 'center',
align: 'center',
columnLabel: 'Telex_Release',
columnLabel: 'Telex Release',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1065,7 +1042,7 @@ export default {
columnProp: 'advancePayment',
headerAlign: 'center',
align: 'center',
columnLabel: 'Advance_Payment',
columnLabel: 'Advance Payment',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1088,7 +1065,7 @@ export default {
columnProp: 'advancePaid',
headerAlign: 'center',
align: 'center',
columnLabel: 'Advance_Paid',
columnLabel: 'Advanc Paid',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1111,7 +1088,7 @@ export default {
columnProp: 'createTime',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_Create',
columnLabel: 'Create Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1134,7 +1111,7 @@ export default {
columnProp: 'planner',
headerAlign: 'center',
align: 'center',
columnLabel: 'M_Planner',
columnLabel: 'M-Planner',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1157,7 +1134,7 @@ export default {
columnProp: 'edit',
headerAlign: 'center',
align: 'center',
columnLabel: 'D_Edit',
columnLabel: 'Edit Date',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1180,7 +1157,7 @@ export default {
columnProp: 'endPlanner',
headerAlign: 'center',
align: 'center',
columnLabel: 'E_Planner',
columnLabel: 'Last Editor',
columnHidden: false,
columnImage: false,
columnSortable: false,
@ -1203,7 +1180,7 @@ export default {
columnProp: 'remarkDelay',
headerAlign: 'center',
align: 'center',
columnLabel: 'Remark_Delay',
columnLabel: 'Remark Delay',
columnHidden: false,
columnImage: false,
columnSortable: false,

Loading…
Cancel
Save