|
|
@ -324,6 +324,13 @@ |
|
|
searchFunctionButtonList, |
|
|
searchFunctionButtonList, |
|
|
|
|
|
|
|
|
} from "@/api/sysLanguage.js" |
|
|
} from "@/api/sysLanguage.js" |
|
|
|
|
|
import { |
|
|
|
|
|
saveTableDefaultList, |
|
|
|
|
|
getTableDefaultListLanguage, |
|
|
|
|
|
getTableUserListLanguage, |
|
|
|
|
|
removerDefault, |
|
|
|
|
|
removerUser |
|
|
|
|
|
} from "@/api/table.js" |
|
|
var functionId='102001002'; |
|
|
var functionId='102001002'; |
|
|
export default { |
|
|
export default { |
|
|
//查询-SAP采购订单 |
|
|
//查询-SAP采购订单 |
|
|
@ -342,6 +349,20 @@ |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
visible: false, |
|
|
|
|
|
queryTable: { |
|
|
|
|
|
functionId: this.$route.meta.menuId, |
|
|
|
|
|
tableId: "mainTable", |
|
|
|
|
|
languageCode: this.$i18n.locale |
|
|
|
|
|
}, |
|
|
|
|
|
// 用户table 查询参数 |
|
|
|
|
|
queryTableUser: { |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.$route.meta.menuId, |
|
|
|
|
|
tableId: "mainTable", |
|
|
|
|
|
status: true, |
|
|
|
|
|
languageCode: this.$i18n.locale |
|
|
|
|
|
}, |
|
|
tagNo: '', |
|
|
tagNo: '', |
|
|
// 导出 start |
|
|
// 导出 start |
|
|
exportData: [], |
|
|
exportData: [], |
|
|
@ -403,9 +424,9 @@ |
|
|
columnList: [ |
|
|
columnList: [ |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableOrderNo', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableOrderNo', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "orderNo", |
|
|
columnProp: "orderNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -421,9 +442,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableOrderDate', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableOrderDate', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "orderDate", |
|
|
columnProp: "orderDate", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -439,9 +460,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TablePlanReceiptDate', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TablePlanReceiptDate', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "planReceiptDate", |
|
|
columnProp: "planReceiptDate", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -457,9 +478,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableSupplierID', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableSupplierID', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "supplierID", |
|
|
columnProp: "supplierID", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -475,9 +496,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableStatus', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableStatus', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "status", |
|
|
columnProp: "status", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -493,9 +514,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableSupplierName', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableSupplierName', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "supplierName", |
|
|
columnProp: "supplierName", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -511,9 +532,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableOrderItemNo', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableOrderItemNo', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "orderItemNo", |
|
|
columnProp: "orderItemNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -529,9 +550,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TablePartNo', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TablePartNo', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "partNo", |
|
|
columnProp: "partNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -547,9 +568,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TablePartDescription', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TablePartDescription', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "partDescription", |
|
|
columnProp: "partDescription", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -565,9 +586,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableQuantity', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableQuantity', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "quantity", |
|
|
columnProp: "quantity", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -583,9 +604,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableCancelledFlag', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableCancelledFlag', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "cancelledFlag", |
|
|
columnProp: "cancelledFlag", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -601,9 +622,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableSAPOrderNo', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableSAPOrderNo', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "sAPOrderNo", |
|
|
columnProp: "sAPOrderNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -619,9 +640,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032TableSite', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002TableSite', |
|
|
|
|
|
tableId: "102001002Table", |
|
|
tableName: "查询SAP采购订单表", |
|
|
tableName: "查询SAP采购订单表", |
|
|
columnProp: "site", |
|
|
columnProp: "site", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -639,9 +660,9 @@ |
|
|
columnList1: [ |
|
|
columnList1: [ |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table1Number', |
|
|
|
|
|
tableId: "6032Table1", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table1Number', |
|
|
|
|
|
tableId: "102001002Table1", |
|
|
tableName: "查询SAP采购订单待分卷左表", |
|
|
tableName: "查询SAP采购订单待分卷左表", |
|
|
columnProp: "number", |
|
|
columnProp: "number", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -657,9 +678,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table1RollQty', |
|
|
|
|
|
tableId: "6032Table1", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table1RollQty', |
|
|
|
|
|
tableId: "102001002Table1", |
|
|
tableName: "查询SAP采购订单待分卷左表", |
|
|
tableName: "查询SAP采购订单待分卷左表", |
|
|
columnProp: "rollQty", |
|
|
columnProp: "rollQty", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -675,9 +696,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table1RollNumber', |
|
|
|
|
|
tableId: "6032Table1", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table1RollNumber', |
|
|
|
|
|
tableId: "102001002Table1", |
|
|
tableName: "查询SAP采购订单待分卷左表", |
|
|
tableName: "查询SAP采购订单待分卷左表", |
|
|
columnProp: "rollNumber", |
|
|
columnProp: "rollNumber", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -693,9 +714,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table1ALLRollQty', |
|
|
|
|
|
tableId: "6032Table1", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table1ALLRollQty', |
|
|
|
|
|
tableId: "102001002Table1", |
|
|
tableName: "查询SAP采购订单待分卷左表", |
|
|
tableName: "查询SAP采购订单待分卷左表", |
|
|
columnProp: "allRollQty", |
|
|
columnProp: "allRollQty", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -713,9 +734,9 @@ |
|
|
columnList2: [ |
|
|
columnList2: [ |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table2PartNo', |
|
|
|
|
|
tableId: "6032Table2", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table2PartNo', |
|
|
|
|
|
tableId: "102001002Table2", |
|
|
tableName: "查询SAP采购订单待分卷右表", |
|
|
tableName: "查询SAP采购订单待分卷右表", |
|
|
columnProp: "partNo", |
|
|
columnProp: "partNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -731,9 +752,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table2PartDescription', |
|
|
|
|
|
tableId: "6032Table2", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table2PartDescription', |
|
|
|
|
|
tableId: "102001002Table2", |
|
|
tableName: "查询SAP采购订单待分卷右表", |
|
|
tableName: "查询SAP采购订单待分卷右表", |
|
|
columnProp: "partDescription", |
|
|
columnProp: "partDescription", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -749,9 +770,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table2OrderItemNo', |
|
|
|
|
|
tableId: "6032Table2", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table2OrderItemNo', |
|
|
|
|
|
tableId: "102001002Table2", |
|
|
tableName: "查询SAP采购订单待分卷右表", |
|
|
tableName: "查询SAP采购订单待分卷右表", |
|
|
columnProp: "orderItemNo", |
|
|
columnProp: "orderItemNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -767,9 +788,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table2Quantity', |
|
|
|
|
|
tableId: "6032Table2", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table2Quantity', |
|
|
|
|
|
tableId: "102001002Table2", |
|
|
tableName: "查询SAP采购订单待分卷右表", |
|
|
tableName: "查询SAP采购订单待分卷右表", |
|
|
columnProp: "quantity", |
|
|
columnProp: "quantity", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -787,9 +808,9 @@ |
|
|
columnList3: [ |
|
|
columnList3: [ |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table3RollNo', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table3RollNo', |
|
|
|
|
|
tableId: "102001002Table3", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
columnProp: "rollNo", |
|
|
columnProp: "rollNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -805,9 +826,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table3RollQty', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table3RollQty', |
|
|
|
|
|
tableId: "102001002Table3", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
columnProp: "rollQty", |
|
|
columnProp: "rollQty", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -823,9 +844,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table3SuppDeliveryNote', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table3SuppDeliveryNote', |
|
|
|
|
|
tableId: "102001002Table3", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
columnProp: "suppDeliveryNote", |
|
|
columnProp: "suppDeliveryNote", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -841,9 +862,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table3RollDate', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table3RollDate', |
|
|
|
|
|
tableId: "102001002Table3", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
columnProp: "rollDate", |
|
|
columnProp: "rollDate", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -859,9 +880,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table3CreatedDate', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table3CreatedDate', |
|
|
|
|
|
tableId: "102001002Table3", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
columnProp: "createdDate", |
|
|
columnProp: "createdDate", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -877,9 +898,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table3CreatedBy', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table3CreatedBy', |
|
|
|
|
|
tableId: "102001002Table3", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
columnProp: "createdBy", |
|
|
columnProp: "createdBy", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -895,9 +916,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table3SuppRollNoFlag', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table3SuppRollNoFlag', |
|
|
|
|
|
tableId: "102001002Table3", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
columnProp: "suppRollNoFlag", |
|
|
columnProp: "suppRollNoFlag", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -913,9 +934,9 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 6032, |
|
|
|
|
|
serialNumber: '6032Table3SuppRollNo', |
|
|
|
|
|
tableId: "6032Table", |
|
|
|
|
|
|
|
|
functionId: 102001002, |
|
|
|
|
|
serialNumber: '102001002Table3SuppRollNo', |
|
|
|
|
|
tableId: "102001002Table3", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
tableName: "查询SAP采购订单已分卷表", |
|
|
columnProp: "suppRollNo", |
|
|
columnProp: "suppRollNo", |
|
|
headerAlign: "center", |
|
|
headerAlign: "center", |
|
|
@ -1495,6 +1516,16 @@ |
|
|
// this.exportData = this.dataList |
|
|
// this.exportData = this.dataList |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
//获取按钮的权限数据 |
|
|
|
|
|
getButtonAuthData() { |
|
|
|
|
|
let updateFlag = this.isAuth(this.menuId + ":revise"); |
|
|
|
|
|
let fullControFlag = this.isAuth(this.menuId + ":fullContro"); |
|
|
|
|
|
let deleteFlag = this.isAuth(this.menuId + ":remove"); |
|
|
|
|
|
//处理页面的权限数据 |
|
|
|
|
|
this.authEdit = !updateFlag || !fullControFlag; |
|
|
|
|
|
this.authAdd = !fullControFlag; |
|
|
|
|
|
this.authDelete = !deleteFlag; |
|
|
|
|
|
}, |
|
|
finishDownload() { |
|
|
finishDownload() { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
@ -1512,6 +1543,23 @@ |
|
|
|
|
|
|
|
|
return s |
|
|
return s |
|
|
}, |
|
|
}, |
|
|
|
|
|
getMultiLanguageList() { |
|
|
|
|
|
//首先查询当前按钮的多语言 |
|
|
|
|
|
searchFunctionButtonList(this.queryButton).then(({data}) => { |
|
|
|
|
|
if (data.code == 0) { |
|
|
|
|
|
this.buttons = data.data |
|
|
|
|
|
} else { |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
//其次查询当前标签的多语言 |
|
|
|
|
|
searchFunctionButtonList(this.queryLabel).then(({data}) => { |
|
|
|
|
|
if (data.code == 0) { |
|
|
|
|
|
this.labels = data.data |
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
// 导出 end |
|
|
// 导出 end |
|
|
getReferenceData() { |
|
|
getReferenceData() { |
|
|
let inData = { |
|
|
let inData = { |
|
|
@ -1532,44 +1580,71 @@ |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
//获取按钮的权限数据 |
|
|
|
|
|
getButtonAuthData(){ |
|
|
|
|
|
let updateFlag = this.isAuth(this.menuId+":revise"); |
|
|
|
|
|
let fullControFlag = this.isAuth(this.menuId+":fullContro"); |
|
|
|
|
|
let deleteFlag = this.isAuth(this.menuId+":remove"); |
|
|
|
|
|
//处理页面的权限数据 |
|
|
|
|
|
this.authEdit = !updateFlag ||!fullControFlag; |
|
|
|
|
|
this.authAdd = !fullControFlag; |
|
|
|
|
|
this.authDelete = !deleteFlag; |
|
|
|
|
|
}, |
|
|
|
|
|
//多语言 |
|
|
|
|
|
getMultiLanguageList() { |
|
|
|
|
|
//首先查询当前按钮的多语言 |
|
|
|
|
|
searchFunctionButtonList(this.queryButton).then(({data}) => { |
|
|
|
|
|
if (data.code == 0) { |
|
|
|
|
|
this.buttons = data.data |
|
|
|
|
|
|
|
|
// 获取 用户保存的 格式列 |
|
|
|
|
|
async getTableUserColumn(tableId, columnId) { |
|
|
|
|
|
this.queryTableUser.tableId = tableId |
|
|
|
|
|
await getTableUserListLanguage(this.queryTableUser).then(({data}) => { |
|
|
|
|
|
if (data.rows.length > 0) { |
|
|
|
|
|
//this.columnList = [] |
|
|
|
|
|
switch (columnId) { |
|
|
|
|
|
case 1: |
|
|
|
|
|
this.columnList = data.rows |
|
|
|
|
|
break; |
|
|
|
|
|
case 2: |
|
|
|
|
|
this.columnList1 = data.rows |
|
|
|
|
|
break; |
|
|
|
|
|
case 3: |
|
|
|
|
|
this.columnList2 = data.rows |
|
|
|
|
|
break; |
|
|
|
|
|
case 4: |
|
|
|
|
|
this.columnList3 = data.rows |
|
|
|
|
|
break; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
// saveButtonList(this.buttonList).then(({data}) => { |
|
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
this.getColumnList(tableId, columnId) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
// 获取 tableDefault 列 |
|
|
|
|
|
async getColumnList(tableId, columnId) { |
|
|
|
|
|
this.queryTable.tableId = tableId |
|
|
|
|
|
await getTableDefaultListLanguage(this.queryTable).then(({data}) => { |
|
|
|
|
|
if (!data.rows.length == 0) { |
|
|
|
|
|
switch (columnId) { |
|
|
|
|
|
case 1: |
|
|
|
|
|
this.columnList = data.rows |
|
|
|
|
|
break; |
|
|
|
|
|
case 2: |
|
|
|
|
|
this.columnList1 = data.rows |
|
|
|
|
|
break; |
|
|
|
|
|
case 3: |
|
|
|
|
|
this.columnList2 = data.rows |
|
|
|
|
|
break; |
|
|
|
|
|
case 4: |
|
|
|
|
|
this.columnList3 = data.rows |
|
|
|
|
|
break; |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
//其次查询当前标签的多语言 |
|
|
|
|
|
searchFunctionButtonList(this.queryLabel).then(({data}) => { |
|
|
|
|
|
if (data.code == 0) { |
|
|
|
|
|
this.labels = data.data |
|
|
|
|
|
} else { |
|
|
} else { |
|
|
// saveButtonList(this.buttonList).then(({data}) => { |
|
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
// this.showDefault = true |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
this.getMultiLanguageList()//刷新按钮 |
|
|
this.getMultiLanguageList()//刷新按钮 |
|
|
//获取按钮的权限 |
|
|
//获取按钮的权限 |
|
|
this.getButtonAuthData(); |
|
|
this.getButtonAuthData(); |
|
|
|
|
|
this.getTableUserColumn('102001002Table',1); |
|
|
|
|
|
this.getTableUserColumn('102001002Table1',2); |
|
|
|
|
|
this.getTableUserColumn('102001002Table2',3); |
|
|
|
|
|
this.getTableUserColumn('102001002Table3',4); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style scoped > |
|
|
<style scoped > |
|
|
|