Browse Source

整理api-definition,使用本地化整理,替换掉get-dto-column-type接口

noToken
安虹睿 1 year ago
parent
commit
105d586339
  1. 2
      PC/InterFace.Dash/public/config.js
  2. 1
      PC/InterFace.Dash/src/App.vue
  3. 18
      PC/InterFace.Dash/src/api/wms-interface.js
  4. 40
      PC/InterFace.Dash/src/components/filterForDetailPage/index.vue
  5. 5
      PC/InterFace.Dash/src/components/tablePagination/index.vue
  6. 25
      PC/InterFace.Dash/src/components/umyTable/index.vue
  7. 71
      PC/InterFace.Dash/src/mixins/TableMixins.js
  8. 2
      PC/InterFace.Dash/src/permission-0725.js
  9. 2
      PC/InterFace.Dash/src/permission.js
  10. 1
      PC/InterFace.Dash/src/store/getters.js
  11. 95
      PC/InterFace.Dash/src/store/modules/definition.js
  12. 120
      PC/InterFace.Dash/src/utils/detailsPageColumns_api/index.js
  13. 120
      PC/InterFace.Dash/src/utils/detailsTableColumns_api/index.js
  14. 2
      PC/InterFace.Dash/src/utils/index.js
  15. 650
      PC/InterFace.Dash/src/utils/tableColumns_api/index.js
  16. 172
      PC/InterFace.Dash/src/utils/tabsDesTions_api/index.js
  17. 14
      PC/InterFace.Dash/src/views/menuList/ExportCustomUserSetting copy.vue
  18. 28
      PC/InterFace.Dash/src/views/menuList/ExportCustomUserSetting.vue

2
PC/InterFace.Dash/public/config.js

@ -2,8 +2,6 @@
window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:60068' window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:60068'
// window.SITE_CONFIG['base'] = 'http://192.168.0.180:60068' // window.SITE_CONFIG['base'] = 'http://192.168.0.180:60068'
window.SITE_CONFIG['businessApi'] = 'http://dev.ccwin-in.com:10097' window.SITE_CONFIG['businessApi'] = 'http://dev.ccwin-in.com:10097'
window.SITE_CONFIG['columnsApiNames'] = '/api/abp/application-localization'
// window.SITE_CONFIG['columnsApiNames'] = '/api/abp/application-configuration'
window.SITE_CONFIG['columnsApiNamesZh'] = 'Z' window.SITE_CONFIG['columnsApiNamesZh'] = 'Z'
window.SITE_CONFIG['isAutoLogin'] = true window.SITE_CONFIG['isAutoLogin'] = true
window.SITE_CONFIG['isSinglePage'] = false window.SITE_CONFIG['isSinglePage'] = false

1
PC/InterFace.Dash/src/App.vue

@ -10,7 +10,6 @@ export default {
} }
localStorage.setItem('base',window.SITE_CONFIG['base']) localStorage.setItem('base',window.SITE_CONFIG['base'])
localStorage.setItem('businessApi',window.SITE_CONFIG['businessApi']) localStorage.setItem('businessApi',window.SITE_CONFIG['businessApi'])
localStorage.setItem('columnsApiNames',window.SITE_CONFIG['columnsApiNames'])
localStorage.setItem('columnsApiNamesZh',window.SITE_CONFIG['columnsApiNamesZh']) localStorage.setItem('columnsApiNamesZh',window.SITE_CONFIG['columnsApiNamesZh'])
localStorage.setItem('isAutoLogin',window.SITE_CONFIG['isAutoLogin']) localStorage.setItem('isAutoLogin',window.SITE_CONFIG['isAutoLogin'])
localStorage.setItem('isSinglePage',window.SITE_CONFIG['isSinglePage']) localStorage.setItem('isSinglePage',window.SITE_CONFIG['isSinglePage'])

18
PC/InterFace.Dash/src/api/wms-interface.js

@ -1,13 +1,12 @@
// 接口监控看板相关api // 接口监控看板相关api
import request from '@/utils/request' import request from '@/utils/request'
let base_api = localStorage.getItem('base') let base_api = localStorage.getItem('base')
let colum_url = localStorage.getItem('columnsApiNames')
// 获取表头数据 // 获取表头zh转义数据
export function getInterfaceBoard() { export function getInterfaceBoard() {
return request({ return request({
method:'get', method:'get',
url: base_api + colum_url, url: base_api + '/api/abp/application-localization',
params:{ params:{
CultureName:localStorage.getItem('browserLanguage'), CultureName:localStorage.getItem('browserLanguage'),
OnlyDynamics:false OnlyDynamics:false
@ -25,20 +24,11 @@ export function getDefinitionMenu(IncludeTypes) {
}) })
} }
// 获取枚举数据 // 获取枚举数据/dto列类型等所有配置
export async function getApiEnumList() { export async function getApiDefinition() {
return request({ return request({
method:'get', method:'get',
url: base_api + '/api/abp/api-definition', url: base_api + '/api/abp/api-definition',
params:{IncludeTypes:true} params:{IncludeTypes:true}
}) })
} }
// 获取dto列数据
export async function getDtoColumnType(api) {
if(!api)return
return request({
method:'post',
url: base_api + '/api/'+ api +'/get-dto-column-type',
})
}

40
PC/InterFace.Dash/src/components/filterForDetailPage/index.vue

@ -16,12 +16,13 @@
> >
<!-- 列表 --> <!-- 列表 -->
<tablePagination <tablePagination
v-if="dialogShow" v-if="dialogShow && listColumns && listColumns.length > 0"
:currenButtonData="currenButtonData" :currenButtonData="currenButtonData"
:tableData="tableData" :tableData="tableData"
:tableLoading="Loading.tableLoading" :tableLoading="Loading.tableLoading"
@rowDrop="rowDropForDetail" @rowDrop="rowDropForDetail"
:rowSource="'detailPage_api'" :rowSource="'detailPage_api'"
:rowMaxHeight="rowMaxHeight"
:tableColumns="listColumns" :tableColumns="listColumns"
:totalCount="totalCount" :totalCount="totalCount"
:multipleSelection="multipleSelection" :multipleSelection="multipleSelection"
@ -127,7 +128,6 @@ import { filterSelectMixins } from '@/mixins/filter-Select'
// import { TestSchoolDetailList,TestSchoolDetailList_delete } from "@/api/wms-interface" // import { TestSchoolDetailList,TestSchoolDetailList_delete } from "@/api/wms-interface"
import * as interfaceApi from "@/api/wms-interface" import * as interfaceApi from "@/api/wms-interface"
import {getListDesById,getPageListForDetail} from "@/api/wms-api" import {getListDesById,getPageListForDetail} from "@/api/wms-api"
import { getDtoColumnType } from "@/api/wms-interface"
import * as allUrlOption from '@/utils/baseData/urlOption' import * as allUrlOption from '@/utils/baseData/urlOption'
export default { export default {
name: 'filterForDetailPage', name: 'filterForDetailPage',
@ -202,6 +202,10 @@ props: {
type: String, type: String,
default: 'horizontal' default: 'horizontal'
}, },
rowMaxHeight:{
type:String,
default:'calc(90vh - 450px)'
},
}, },
data () { data () {
return { return {
@ -251,31 +255,27 @@ methods: {
}, },
// //
paging(callback){ paging(callback){
this.Loading.tableLoading = true this.Loading.tableLoading = true;
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
Promise.all([
getDtoColumnType(this.URLOption_detailList),
getPageListForDetail(this.PageListParams,this.URLOption_detailList) getPageListForDetail(this.PageListParams,this.URLOption_detailList)
]).then((allData) => { .then(res=>{
// //
if(allData[0]){
let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/')) let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/'))
let _Columns = this.initApiColumnsForDto(allData[0],allData[1].items[0],_parentName) let _Columns = this.initApiColumnsForDto(res.items[0],_parentName)
this.listColumns = this.initTableColumns(_Columns) this.listColumns = this.initTableColumns(_Columns)
}
// //
if(allData[1]){ if(res){
this.Loading.tableLoading = false this.Loading.tableLoading = false
this.tableData = [] this.tableData = []
allData[1].items.forEach(item=>{ res.items.forEach(item=>{
item.deleteTipVisible = false item.deleteTipVisible = false
this.tableData.push(item) this.tableData.push(item)
}) })
this.pagingCallback(callback) this.totalCount = res.totalCount
this.totalCount = allData[1].totalCount
} }
this.pagingCallback(callback) this.pagingCallback(callback)
}).catch(()=>{ })
.catch(err=>{
this.Loading.tableLoading = false this.Loading.tableLoading = false
this.$message.error("数据获取失败") this.$message.error("数据获取失败")
}) })
@ -318,15 +318,15 @@ methods: {
</script> </script>
<style lang="scss"> <style lang="scss">
.filterForDetailPage { .filterForDetailPage {
.el-dialog__body{ .el-dialog{
height: calc(100% - 100px);
}
.el-dialog__body{
padding-bottom: 20px !important; padding-bottom: 20px !important;
} }
.fullPageCover{
height: calc(100% - 380px) !important;
}
} }
.filterForDetailPage-list{ .filterForDetailPage-list{
height: calc(100% - 320px); height: calc(100%);
overflow: auto; overflow: auto;
} }
</style> </style>

5
PC/InterFace.Dash/src/components/tablePagination/index.vue

@ -36,6 +36,7 @@
:visible="rowDropVisible" :visible="rowDropVisible"
@closeRowDrop="closeRowDrop" @closeRowDrop="closeRowDrop"
:source="rowSource" :source="rowSource"
:innerMaxHeight="rowMaxHeight"
></rowDrop> ></rowDrop>
<!-- 列表 --> <!-- 列表 -->
<div class="uTableOuter" ref="uTableOuterRef" :style="{height:uTableOuterHeight + 'px',overflow:'hidden'}"> <div class="uTableOuter" ref="uTableOuterRef" :style="{height:uTableOuterHeight + 'px',overflow:'hidden'}">
@ -90,6 +91,10 @@ export default {
rowDrop rowDrop
}, },
props: { props: {
rowMaxHeight:{
type:String,
default:'calc(90vh - 280px)'
},
// //
searchOverallCoverHeight:{ searchOverallCoverHeight:{
type: String, type: String,

25
PC/InterFace.Dash/src/components/umyTable/index.vue

@ -86,7 +86,7 @@
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 时间转换 --> <!-- 时间转换 -->
<span v-if="item.apiBaseType == 'System.DateTime'" <span v-if="item.apiBaseType == 'datetime'"
@click="showDetailInfo(scope.row[item.prop],'time')" @click="showDetailInfo(scope.row[item.prop],'time')"
style="cursor: pointer;" style="cursor: pointer;"
:title="'点击查看详情'" :title="'点击查看详情'"
@ -95,15 +95,15 @@
{{ scope.row[item.prop] | formatDate }} {{ scope.row[item.prop] | formatDate }}
</span> </span>
<!-- 枚举 --> <!-- 枚举 -->
<span v-else-if="item.apiIsEnum"> <span v-else-if="item.isEnums">
{{ initApiEnumList(item,scope.row[item.prop]) }} {{ initApiEnumList(item,scope.row[item.prop]) }}
</span> </span>
<!-- 布尔 --> <!-- 布尔 -->
<span v-else-if="item.apiBaseType == 'System.Boolean'"> <span v-else-if="item.apiBaseType == 'boolean'">
{{ scope.row[item.prop] ? '是' : '否' }} {{ scope.row[item.prop] ? '是' : '否' }}
</span> </span>
<!-- 数值 --> <!-- 数值 -->
<span v-else-if="initTypeList.indexOf(item.apiBaseType.toLowerCase()) >= 0"> <span v-else-if="item.apiBaseType == 'number'">
{{ scope.row[item.prop] }} {{ scope.row[item.prop] }}
</span> </span>
<!-- 点击可出详情 | 点击可点出json 目前已知String|Guid--> <!-- 点击可出详情 | 点击可点出json 目前已知String|Guid-->
@ -329,7 +329,6 @@ export default {
showJsonData:null,//Json showJsonData:null,//Json
showJsonData_str:null,//Json showJsonData_str:null,//Json
showJsonCopy:false,//jsonDialog showJsonCopy:false,//jsonDialog
initTypeList:['system.decimal','system.int64','system.int32','system.long']
}; };
}, },
computed: { computed: {
@ -604,7 +603,6 @@ export default {
// jsontable // jsontable
showJsonTable(row){ showJsonTable(row){
this.showJsonDialog = true this.showJsonDialog = true
console.log(606,_json)
let _json = eval('(' + row + ')') let _json = eval('(' + row + ')')
let _arr = [] let _arr = []
let __initJson = (data) => { let __initJson = (data) => {
@ -640,24 +638,24 @@ export default {
} }
} }
} }
console.log(666,this.showJsonData)
this.showJsonData = _arr this.showJsonData = _arr
this.showJsonData_str = JSON.stringify(JSON.parse(JSON.stringify(this.showJsonData)), null, '\t') this.showJsonData_str = JSON.stringify(JSON.parse(JSON.stringify(this.showJsonData)), null, '\t')
this.$emit("showJsonTable", row); this.$emit("showJsonTable", row);
}, },
// Json // Json
copyJsonHandle(){ copyJsonHandle(){
console.log(651,window.isSecureContext)
this.showJsonCopy = true this.showJsonCopy = true
if (navigator.clipboard && window.isSecureContext) { if (navigator.clipboard && window.isSecureContext) {
navigator.clipboard.writeText(this.showJsonData_str) navigator.clipboard.writeText(this.showJsonData_str)
.then(() => { .then(() => {
this.$message.success('复制成功'); this.$message.success('复制成功');
this.$refs.copyJsonTextarea_ref.focus()
document.getElementById('copyJsonTextarea_dialog_ref').scrollTop = 0
}) })
.catch(err => { .catch(err => {
this.$message.error('复制失败'); this.$message.error('复制失败');
this.$refs.copyJsonTextarea_ref.focus()
document.getElementById('copyJsonTextarea_dialog_ref').scrollTop = 0
}); });
}else { }else {
// text area // text area
@ -681,6 +679,8 @@ export default {
}) })
},() => { },() => {
this.$message.error('复制失败'); this.$message.error('复制失败');
this.$refs.copyJsonTextarea_ref.focus()
document.getElementById('copyJsonTextarea_dialog_ref').scrollTop = 0
}) })
} }
@ -699,10 +699,9 @@ export default {
}, },
// //
initApiEnumList(item,data){ initApiEnumList(item,data){
let _enumListOp = this.$store.getters.enumList[item.apiBaseType]
let _item_enumList = {} let _item_enumList = {}
_enumListOp.enumValues.forEach((item,key)=>{ item.enums_list.forEach((item,key)=>{
_item_enumList[item] = _enumListOp.enumNames[key] _item_enumList[item.value] = item.label
}) })
return _item_enumList[data] || '未定义' return _item_enumList[data] || '未定义'
}, },

71
PC/InterFace.Dash/src/mixins/TableMixins.js

@ -3,9 +3,8 @@ import {
getDetailed, getDetailed,
postDelete postDelete
} from '@/api/wms-api' } from '@/api/wms-api'
import { initFromApiColumnsLable,firstWordSizeChange } from '@/utils/index' import { zhApiColumnsLable,firstWordSizeChange } from '@/utils/index'
import * as allUrlOption from '@/utils/baseData/urlOption' import * as allUrlOption from '@/utils/baseData/urlOption'
import { getDtoColumnType } from '@/api/wms-interface'
export const tableMixins = { export const tableMixins = {
data() { data() {
return { return {
@ -104,34 +103,21 @@ export const tableMixins = {
}); });
} }
}, },
// 获取通过api的表头数据,不可以在初始化处理,因为接口返回问题 // 获取通过api的表头转义数据
// initApiColumns(table,des,detailsTable,detailsPage){ initApiColumnsForDto(list,titleName){
// // 赋值表头数据 let data = this.$store.getters.dtoColumnTypes
// if(table && table[this.$route.name])this.apiColumns_Table = this.initTableColumns(table[this.$route.name]) let _coloums = data[titleName].S
// if(des && des[this.$route.name])this.apiColumns_DesTions = des[this.$route.name]
// if(detailsTable && detailsTable[this.$route.name])this.apiColumns_DetailsTable = this.initTableColumns(detailsTable[this.$route.name],'detail_api')
// if(detailsPage && detailsPage[this.$route.name])this.apiColumns_DetailsPage = this.initTableColumns(detailsPage[this.$route.name],'detailPage_api')
// },
// get-dto-column-type接口表头类型初始化
initApiColumnsForDto(data,list,titleName){
let _coloums = data.filter(item=>{
return item.dtoType == 'S'
})
let _Columns_Table = [] let _Columns_Table = []
if(_coloums && _coloums.length > 0){ if(_coloums){
let _data = _coloums[0].columnsTypes let _data = _coloums.dtoList
_data.forEach(item=>{ _data.forEach(item=>{
let _item = { let _item = item
label:initFromApiColumnsLable(titleName + item.z_ColumnName) || item.z_ColumnName, _item.label = zhApiColumnsLable(titleName + item.name) || item.name
prop:firstWordSizeChange(item.z_ColumnName), _item.prop = firstWordSizeChange(item.name)
apiType:item.z_ColumnType,
apiBaseType:item.z_ColumnBaseType,
apiIsEnum:item.isEnum
}
// 如果list接口存在数据 ,与list接口返回字段比较处理,list接口存在的话则追加 // 如果list接口存在数据 ,与list接口返回字段比较处理,list接口存在的话则追加
let _if = firstWordSizeChange(item.z_ColumnName) != 'details' let _if = firstWordSizeChange(item.name) != 'details'
if(list && list.length > 0){ if(list && list.length > 0){
_if = firstWordSizeChange(item.z_ColumnName) in list && firstWordSizeChange(item.z_ColumnName) != 'details' _if = firstWordSizeChange(item.name) in list && firstWordSizeChange(item.name) != 'details'
} }
if(_if){ if(_if){
_Columns_Table.push(_item) _Columns_Table.push(_item)
@ -144,23 +130,20 @@ export const tableMixins = {
paging(callback) { paging(callback) {
this.Loading.tableLoading = true; this.Loading.tableLoading = true;
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
Promise.all([
getDtoColumnType(this.URLOption_base),
getPageList(this.PageListParams, this.URLOption_base) getPageList(this.PageListParams, this.URLOption_base)
]).then((allData) => { .then(res=>{
// 表头处理 // 表头处理
if(allData[0]){ let _Columns = this.initApiColumnsForDto(res,this.$route.name)
let _Columns = this.initApiColumnsForDto(allData[0],allData[1].items[0] ,this.$route.name)
this.apiColumns_Table = this.initTableColumns(_Columns) this.apiColumns_Table = this.initTableColumns(_Columns)
this.apiColumns_DesTions = _Columns this.apiColumns_DesTions = _Columns
}
// 页面数据处理 // 页面数据处理
if(allData[1]){ if(res){
this.tableData = allData[1].items this.tableData = res.items
this.totalCount = allData[1].totalCount this.totalCount = res.totalCount
} }
this.pagingCallback(callback) this.pagingCallback(callback)
}).catch((err)=>{ })
.catch(err=>{
this.Loading.tableLoading = false this.Loading.tableLoading = false
}) })
}, },
@ -202,19 +185,11 @@ export const tableMixins = {
this.Loading.DrawerLoading = true this.Loading.DrawerLoading = true
this.displayDialog.detailsDialog = true; this.displayDialog.detailsDialog = true;
let _url = this.URLOption_detail ? this.URLOption_detail : this.URLOption_base let _url = this.URLOption_detail ? this.URLOption_detail : this.URLOption_base
Promise.all([
getDtoColumnType(this.URLOption_detailList),
getDetailed(val.id, _url) getDetailed(val.id, _url)
]).then((allData) => { .then(res=>{
// 表头处理 // 表头处理
if(allData[0]){
let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/')) let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/'))
this.initApiColumnsForDto(allData[0],allData[1].details[0],_parentName) this.apiColumns_DetailsTable = this.initTableColumns(this.initApiColumnsForDto(res.details[0],_parentName))
this.apiColumns_DetailsTable = this.initTableColumns(this.initApiColumnsForDto(allData[0],allData[1].details[0],_parentName))
}
// 页面数据处理
if(allData[1]){
let res = allData[1]
// 打印使用的全部数据存储 // 打印使用的全部数据存储
this.tableDataDetails = JSON.parse(JSON.stringify(res)) this.tableDataDetails = JSON.parse(JSON.stringify(res))
this.propsData = res this.propsData = res
@ -229,8 +204,8 @@ export const tableMixins = {
}else{ }else{
this.Loading.DrawerLoading = false this.Loading.DrawerLoading = false
} }
} })
}).catch(()=>{ .catch(err=>{
this.Loading.DrawerLoading = false this.Loading.DrawerLoading = false
}) })
}, },

2
PC/InterFace.Dash/src/permission-0725.js

@ -20,7 +20,7 @@ router.beforeEach(async (to, from, next) => {
// 获取枚举数据 // 获取枚举数据
if(!store.getters.enumList || store.getters.enumList.length <= 0){ if(!store.getters.enumList || store.getters.enumList.length <= 0){
await store.dispatch('definition/getEnumList') await store.dispatch('definition/getDefinitionConfig')
} }
// // 获取表头转义 // // 获取表头转义

2
PC/InterFace.Dash/src/permission.js

@ -31,7 +31,7 @@ router.beforeEach(async (to, from, next) => {
// 获取枚举数据 // 获取枚举数据
if(!store.getters.enumList || store.getters.enumList.length <= 0){ if(!store.getters.enumList || store.getters.enumList.length <= 0){
await store.dispatch('definition/getEnumList') await store.dispatch('definition/getDefinitionConfig')
} }
// 是否有用户信息: // 是否有用户信息:

1
PC/InterFace.Dash/src/store/getters.js

@ -16,5 +16,6 @@ const getters = {
dictionaries: state => state.dictionaries.dict, dictionaries: state => state.dictionaries.dict,
enumList: state => state.definition.enumList,//接口获取的枚举 enumList: state => state.definition.enumList,//接口获取的枚举
columZHList: state => state.definition.columZHList,//接口转义的表头 columZHList: state => state.definition.columZHList,//接口转义的表头
dtoColumnTypes: state => state.definition.dtoColumnTypes,//所有页面的dto类型
} }
export default getters export default getters

95
PC/InterFace.Dash/src/store/modules/definition.js

@ -1,25 +1,104 @@
import { getInterfaceBoard,getApiEnumList } from "@/api/wms-interface" import { getInterfaceBoard,getApiDefinition } from "@/api/wms-interface"
const state = { const state = {
enumList: [],//枚举 enumList: [],//枚举
columZHList:null,//表头转义 columZHList:null,//表头转义
dtoColumnTypes:[],//所有页面的dto类型
} }
const mutations = { const mutations = {
GET_ENUM_LIST: (state, data) => { // 设置枚举
SET_ENUM_LIST: (state, data) => {
state.enumList=data state.enumList=data
}, },
GET_COLUMZH_LIST: (state, data) => { // 设置表头转义
SET_COLUMZH_LIST: (state, data) => {
state.columZHList=data state.columZHList=data
}, },
// 所有页面的dto类型
SET_DTOCOLUMN_TYPES: (state, data) => {
state.dtoColumnTypes=data
},
}
// 通过url做方法处理转换(S/C/U/G等)目前只做了S查询。如果有需要在丰富
export function initDtoTypeByUrl(url){
if(url.indexOf('get-list-page-by-filter') >= 0){
return "S"
}else{
return url
}
}
// DTO列类型转义
export function initDtoColumnTypes(res) {
// modules>app>controller>这里是所有的接口
let _controller = res.modules.app.controllers
let _allData = {}
for(let item in _controller){
let _com = 'AppService'
// 获取简单的api(路由,如:IncomingData)
let _api = item.substring(item.lastIndexOf('.') + 1,item.length - _com.length)
let _item = {
S:{
dtoList:[],
dtoType: 'S',
dtoName:item.substring(0,item.length - _com.length),
columnsType:null
}
}
for(let ac in _controller[item].actions){
let _actions = _controller[item].actions[ac]
// actions下通过URL匹配 做特殊处理
// 查询处理
if(initDtoTypeByUrl(_actions.url) == 'S'){
let _type = _actions.returnValue.type
let _type_value = _type.substring(_type.indexOf('<') + 1,_type.indexOf('>'))
_item.S.columnsType=_type_value
// 通过returnValue.type 在 res.types 中获取全部的dto
let _dtos = res.types[_type_value].properties
_dtos.forEach(d=>{
// 如果是枚举做处理(目前枚举只根据Enums做处理,todo:是否需要其他处理)
if(d.type.indexOf('Enums') >= 0){
d.apiBaseType = 'enums'
d.isEnums = true
// -1 是去掉最后的'?'(todo:是否每个Enums类型都有?)
let enums_type = d.type.substring(0,d.type.length - 1)
// 通过type包含Enums的全字段-'?'匹配res.types中的值
let enums_list = res.types[enums_type]
if(enums_list){
d.enums_list = []
enums_list.enumValues.forEach((e,key)=>{
d.enums_list.push({value:e,label:enums_list.enumNames[key]})
})
}
}else{
if(d.typeSimple == 'number' || d.typeSimple == 'number?'){
d.apiBaseType='number'
}else{
let _end_index = d.type.lastIndexOf('?') >= 0 ? d.type.lastIndexOf('?') : d.type.length
d.apiBaseType = d.type.substring(d.type.lastIndexOf('.') + 1, _end_index).toLowerCase()
}
if(d.type.indexOf('Guid') >= 0){
d.apiBaseType='string'
}
}
})
_item.S.dtoList=_dtos
}
}
_allData[_api] = _item
}
return _allData
} }
const actions = { const actions = {
// 获取枚举 // 获取枚举
getEnumList({ commit }) { getDefinitionConfig({ commit }) {
return new Promise(resolve => { return new Promise(resolve => {
getApiEnumList().then(res=>{ getApiDefinition().then(res=>{
commit('GET_ENUM_LIST', res.types) commit('SET_DTOCOLUMN_TYPES', initDtoColumnTypes(res))
commit('SET_ENUM_LIST', res.types)
resolve(res) resolve(res)
}) })
}) })
@ -29,11 +108,11 @@ const actions = {
return new Promise(resolve => { return new Promise(resolve => {
getInterfaceBoard().then(res=>{ getInterfaceBoard().then(res=>{
let _zh = res.resources[localStorage.getItem('columnsApiNamesZh')].texts; let _zh = res.resources[localStorage.getItem('columnsApiNamesZh')].texts;
commit('GET_COLUMZH_LIST', _zh) commit('SET_COLUMZH_LIST', _zh)
resolve(res) resolve(res)
}) })
}) })
}, }
} }
export default { export default {

120
PC/InterFace.Dash/src/utils/detailsPageColumns_api/index.js

@ -1,79 +1,79 @@
// 添加页面需要配置位置 // 添加页面需要配置位置
// 此文件为【列表 - 明细】+【明细 - 列表】表头从接口缓存的表头 // 此文件为【列表 - 明细】+【明细 - 列表】表头从接口缓存的表头
import { initFromApiColumnsLable } from '@/utils/index' import { zhApiColumnsLable } from '@/utils/index'
// AsnMstr // AsnMstr
// export const AsnMstr = [ // export const AsnMstr = [
// { label: initFromApiColumnsLable('AsnDetAsnMstrId'), prop: "asnMstrId",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetAsnMstrId'), prop: "asnMstrId",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetAsnNbr'), prop: "asnNbr" ,type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetAsnNbr'), prop: "asnNbr" ,type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetEntireBarCode'), prop: "entireBarCode",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetEntireBarCode'), prop: "entireBarCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLabelCode'), prop: "labelCode",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetLabelCode'), prop: "labelCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLocUm'), prop: "locUm",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetLocUm'), prop: "locUm",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLot'), prop: "lot" ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetLot'), prop: "lot" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetPalletLabelCode'), prop: "palletLabelCode",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPalletLabelCode'), prop: "palletLabelCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPartCode'), prop: "partCode",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPartType'), prop: "partType",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPartType'), prop: "partType",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoLine'), prop: "poLine",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPoLine'), prop: "poLine",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoNbr'), prop: "poNbr",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPoNbr'), prop: "poNbr",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoUm'), prop: "poUm",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPoUm'), prop: "poUm",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetProductionDate'), prop: "productionDate",type:'dateTime' }, // { label: zhApiColumnsLable('AsnDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('AsnDetQty'), prop: "qty" }, // { label: zhApiColumnsLable('AsnDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('AsnDetRemark'), prop: "remark",type:'showDetail' ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetRemark'), prop: "remark",type:'showDetail' ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetStatus'), prop: "status" }, // { label: zhApiColumnsLable('AsnDetStatus'), prop: "status" },
// { label: initFromApiColumnsLable('AsnDetStdPackQty'), prop: "stdPackQty" ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetStdPackQty'), prop: "stdPackQty" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetSupplierlot'), prop: "supplierlot",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetSupplierlot'), prop: "supplierlot",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetUmConv'), prop: "umConv",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetUmConv'), prop: "umConv",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetWareClass'), prop: "wareClass" ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetWareClass'), prop: "wareClass" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetWareCode'), prop: "wareCode" ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetWareCode'), prop: "wareCode" ,type:'showDetail'},
// ] // ]
// PoMstr // PoMstr
// export const PoMstr = [ // export const PoMstr = [
// { label: initFromApiColumnsLable('PoDetConsignment'), prop: "consignment",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetConsignment'), prop: "consignment",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetOrderQty'), prop: "orderQty" }, // { label: zhApiColumnsLable('PoDetOrderQty'), prop: "orderQty" },
// { label: initFromApiColumnsLable('PoDetPartCode'), prop: "partCode",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetPoLine'), prop: "poLine",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetPoLine'), prop: "poLine",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetPoNbr'), prop: "poNbr",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetPoNbr'), prop: "poNbr",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetRcQty'), prop: "rcQty" }, // { label: zhApiColumnsLable('PoDetRcQty'), prop: "rcQty" },
// { label: initFromApiColumnsLable('PoDetRemark'), prop: "remark",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetRemark'), prop: "remark",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetStatus'), prop: "status",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetStdPackQty'), prop: "stdPackQty" }, // { label: zhApiColumnsLable('PoDetStdPackQty'), prop: "stdPackQty" },
// { label: initFromApiColumnsLable('PoDetStdPackUm'), prop: "stdPackUm",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetStdPackUm'), prop: "stdPackUm",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetUm'), prop: "um",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetUmConv'), prop: "umConv",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetUmConv'), prop: "umConv",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetVendPackQty'), prop: "vendPackQty" }, // { label: zhApiColumnsLable('PoDetVendPackQty'), prop: "vendPackQty" },
// { label: initFromApiColumnsLable('PoDetVendPackUm'), prop: "vendPackUm" ,type:'showDetail'}, // { label: zhApiColumnsLable('PoDetVendPackUm'), prop: "vendPackUm" ,type:'showDetail'},
// ] // ]
// // ReceiptMstr // // ReceiptMstr
// export const ReceiptMstr = [ // export const ReceiptMstr = [
// { label: initFromApiColumnsLable('ReceiptDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true}, // { label: zhApiColumnsLable('ReceiptDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true},
// { label: initFromApiColumnsLable('ReceiptDetLoc'), prop: "loc" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetLoc'), prop: "loc" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetLot'), prop: "lot",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetLot'), prop: "lot",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPackingCode'), prop: "packingCode",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetPackingCode'), prop: "packingCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPartCode'), prop: "partCode",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPoLine'), prop: "poLine" ,type:'showDetail'}, // { label: zhApiColumnsLable('ReceiptDetPoLine'), prop: "poLine" ,type:'showDetail'},
// { label: initFromApiColumnsLable('ReceiptDetProductionDate'), prop: "productionDate",type:'dateTime' }, // { label: zhApiColumnsLable('ReceiptDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('ReceiptDetQty'), prop: "qty" }, // { label: zhApiColumnsLable('ReceiptDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('ReceiptDetRemark'), prop: "remark" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetRemark'), prop: "remark" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetStatus'), prop: "status",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetUm'), prop: "um",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetVendorLot'), prop: "vendorLot",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetVendorLot'), prop: "vendorLot",type:'showDetail' },
// ] // ]
// // ReturnMstr // // ReturnMstr
// export const ReturnMstr = [ // export const ReturnMstr = [
// { label: initFromApiColumnsLable('ReturnDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true}, // { label: zhApiColumnsLable('ReturnDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true},
// { label: initFromApiColumnsLable('ReturnDetLoc'), prop: "loc" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetLoc'), prop: "loc" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetLot'), prop: "lot",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetLot'), prop: "lot",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPackingCode'), prop: "packingCode",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetPackingCode'), prop: "packingCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPartCode'), prop: "partCode",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPoLine'), prop: "poLine" ,type:'showDetail'}, // { label: zhApiColumnsLable('ReturnDetPoLine'), prop: "poLine" ,type:'showDetail'},
// { label: initFromApiColumnsLable('ReturnDetProductionDate'), prop: "productionDate",type:'dateTime' }, // { label: zhApiColumnsLable('ReturnDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('ReturnDetQty'), prop: "qty" }, // { label: zhApiColumnsLable('ReturnDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('ReturnDetRemark'), prop: "remark" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetRemark'), prop: "remark" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetStatus'), prop: "status",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetUm'), prop: "um",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetVendorLot'), prop: "vendorLot",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetVendorLot'), prop: "vendorLot",type:'showDetail' },
// ] // ]

120
PC/InterFace.Dash/src/utils/detailsTableColumns_api/index.js

@ -2,79 +2,79 @@
// 此文件为【列表 - 明细】+【明细 - 列表】表头从接口缓存的表头 // 此文件为【列表 - 明细】+【明细 - 列表】表头从接口缓存的表头
// 如果有父级id字段,请设置showProp,避免明细列表内可查询其他主表的明细 // 如果有父级id字段,请设置showProp,避免明细列表内可查询其他主表的明细
import { initFromApiColumnsLable } from '@/utils/index' import { zhApiColumnsLable } from '@/utils/index'
// AsnMstr // AsnMstr
// export const AsnMstr = [ // export const AsnMstr = [
// { label: initFromApiColumnsLable('AsnDetAsnMstrId'), prop: "asnMstrId",showProp:true}, // { label: zhApiColumnsLable('AsnDetAsnMstrId'), prop: "asnMstrId",showProp:true},
// { label: initFromApiColumnsLable('AsnDetAsnNbr'), prop: "asnNbr" ,type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetAsnNbr'), prop: "asnNbr" ,type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetEntireBarCode'), prop: "entireBarCode",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetEntireBarCode'), prop: "entireBarCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLabelCode'), prop: "labelCode",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetLabelCode'), prop: "labelCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLocUm'), prop: "locUm",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetLocUm'), prop: "locUm",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLot'), prop: "lot" ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetLot'), prop: "lot" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetPalletLabelCode'), prop: "palletLabelCode",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPalletLabelCode'), prop: "palletLabelCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPartCode'), prop: "partCode",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPartType'), prop: "partType",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPartType'), prop: "partType",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoLine'), prop: "poLine",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPoLine'), prop: "poLine",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoNbr'), prop: "poNbr",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPoNbr'), prop: "poNbr",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoUm'), prop: "poUm",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetPoUm'), prop: "poUm",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetProductionDate'), prop: "productionDate",type:'dateTime' }, // { label: zhApiColumnsLable('AsnDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('AsnDetQty'), prop: "qty" }, // { label: zhApiColumnsLable('AsnDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('AsnDetRemark'), prop: "remark",type:'showDetail' ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetRemark'), prop: "remark",type:'showDetail' ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetStatus'), prop: "status" }, // { label: zhApiColumnsLable('AsnDetStatus'), prop: "status" },
// { label: initFromApiColumnsLable('AsnDetStdPackQty'), prop: "stdPackQty" ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetStdPackQty'), prop: "stdPackQty" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetSupplierlot'), prop: "supplierlot",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetSupplierlot'), prop: "supplierlot",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetUmConv'), prop: "umConv",type:'showDetail' }, // { label: zhApiColumnsLable('AsnDetUmConv'), prop: "umConv",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetWareClass'), prop: "wareClass" ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetWareClass'), prop: "wareClass" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetWareCode'), prop: "wareCode" ,type:'showDetail'}, // { label: zhApiColumnsLable('AsnDetWareCode'), prop: "wareCode" ,type:'showDetail'},
// ] // ]
// PoMstr // PoMstr
// export const PoMstr = [ // export const PoMstr = [
// { label: initFromApiColumnsLable('PoDetConsignment'), prop: "consignment",type:'showDetail' ,showProp:true}, // { label: zhApiColumnsLable('PoDetConsignment'), prop: "consignment",type:'showDetail' ,showProp:true},
// { label: initFromApiColumnsLable('PoDetOrderQty'), prop: "orderQty" }, // { label: zhApiColumnsLable('PoDetOrderQty'), prop: "orderQty" },
// { label: initFromApiColumnsLable('PoDetPartCode'), prop: "partCode",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetPoLine'), prop: "poLine",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetPoLine'), prop: "poLine",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetPoNbr'), prop: "poNbr",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetPoNbr'), prop: "poNbr",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetRcQty'), prop: "rcQty" }, // { label: zhApiColumnsLable('PoDetRcQty'), prop: "rcQty" },
// { label: initFromApiColumnsLable('PoDetRemark'), prop: "remark",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetRemark'), prop: "remark",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetStatus'), prop: "status",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetStdPackQty'), prop: "stdPackQty" }, // { label: zhApiColumnsLable('PoDetStdPackQty'), prop: "stdPackQty" },
// { label: initFromApiColumnsLable('PoDetStdPackUm'), prop: "stdPackUm",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetStdPackUm'), prop: "stdPackUm",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetUm'), prop: "um",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetUmConv'), prop: "umConv",type:'showDetail' }, // { label: zhApiColumnsLable('PoDetUmConv'), prop: "umConv",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetVendPackQty'), prop: "vendPackQty" }, // { label: zhApiColumnsLable('PoDetVendPackQty'), prop: "vendPackQty" },
// { label: initFromApiColumnsLable('PoDetVendPackUm'), prop: "vendPackUm" ,type:'showDetail'}, // { label: zhApiColumnsLable('PoDetVendPackUm'), prop: "vendPackUm" ,type:'showDetail'},
// ] // ]
// // ReceiptMstr // // ReceiptMstr
// export const ReceiptMstr = [ // export const ReceiptMstr = [
// { label: initFromApiColumnsLable('ReceiptDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true}, // { label: zhApiColumnsLable('ReceiptDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true},
// { label: initFromApiColumnsLable('ReceiptDetLoc'), prop: "loc" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetLoc'), prop: "loc" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetLot'), prop: "lot",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetLot'), prop: "lot",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPackingCode'), prop: "packingCode",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetPackingCode'), prop: "packingCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPartCode'), prop: "partCode",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPoLine'), prop: "poLine" ,type:'showDetail'}, // { label: zhApiColumnsLable('ReceiptDetPoLine'), prop: "poLine" ,type:'showDetail'},
// { label: initFromApiColumnsLable('ReceiptDetProductionDate'), prop: "productionDate",type:'dateTime' }, // { label: zhApiColumnsLable('ReceiptDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('ReceiptDetQty'), prop: "qty" }, // { label: zhApiColumnsLable('ReceiptDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('ReceiptDetRemark'), prop: "remark" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetRemark'), prop: "remark" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetStatus'), prop: "status",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetUm'), prop: "um",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetVendorLot'), prop: "vendorLot",type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptDetVendorLot'), prop: "vendorLot",type:'showDetail' },
// ] // ]
// // ReturnMstr // // ReturnMstr
// export const ReturnMstr = [ // export const ReturnMstr = [
// { label: initFromApiColumnsLable('ReturnDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true}, // { label: zhApiColumnsLable('ReturnDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true},
// { label: initFromApiColumnsLable('ReturnDetLoc'), prop: "loc" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetLoc'), prop: "loc" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetLot'), prop: "lot",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetLot'), prop: "lot",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPackingCode'), prop: "packingCode",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetPackingCode'), prop: "packingCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPartCode'), prop: "partCode",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPoLine'), prop: "poLine" ,type:'showDetail'}, // { label: zhApiColumnsLable('ReturnDetPoLine'), prop: "poLine" ,type:'showDetail'},
// { label: initFromApiColumnsLable('ReturnDetProductionDate'), prop: "productionDate",type:'dateTime' }, // { label: zhApiColumnsLable('ReturnDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('ReturnDetQty'), prop: "qty" }, // { label: zhApiColumnsLable('ReturnDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('ReturnDetRemark'), prop: "remark" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetRemark'), prop: "remark" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetStatus'), prop: "status",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetUm'), prop: "um",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetVendorLot'), prop: "vendorLot",type:'showDetail' }, // { label: zhApiColumnsLable('ReturnDetVendorLot'), prop: "vendorLot",type:'showDetail' },
// ] // ]

2
PC/InterFace.Dash/src/utils/index.js

@ -560,7 +560,7 @@ export function createNewTabs (url) {
// faster-new // faster-new
// 转义及读取api接口返回的表头信息 // 转义及读取api接口返回的表头信息
export function initFromApiColumnsLable (data) { export function zhApiColumnsLable (data) {
let _list = store.getters.columZHList let _list = store.getters.columZHList
return _list ? _list[data] : data return _list ? _list[data] : data
} }

650
PC/InterFace.Dash/src/utils/tableColumns_api/index.js

@ -1,38 +1,38 @@
// 添加页面需要配置位置 // 添加页面需要配置位置
// 此文件为【主表-列表】表头从接口缓存的表头 // 此文件为【主表-列表】表头从接口缓存的表头
import { initFromApiColumnsLable } from '@/utils/index' import { zhApiColumnsLable } from '@/utils/index'
// ExportCustomUserSetting // ExportCustomUserSetting
// export const ExportCustomUserSetting = [ // export const ExportCustomUserSetting = [
// { label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting" }, // { label: zhApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting" },
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName" }, // { label: zhApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName" },
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName" }, // { label: zhApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName" },
// // { label: initFromApiColumnsLable('ExportCustomUserSettingExportUserId'), prop: "exportUserId" }, // // { label: zhApiColumnsLable('ExportCustomUserSettingExportUserId'), prop: "exportUserId" },
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportUserName'), prop: "exportUserName",type:'dateTime' }, // { label: zhApiColumnsLable('ExportCustomUserSettingExportUserName'), prop: "exportUserName",type:'dateTime' },
// ] // ]
// AsnMstr // AsnMstr
// export const AsnMstr = [ // export const AsnMstr = [
// { label: initFromApiColumnsLable('AsnMstrAsnNbr'), prop: "asnNbr", fixed:'left', type:"showDetail"}, // { label: zhApiColumnsLable('AsnMstrAsnNbr'), prop: "asnNbr", fixed:'left', type:"showDetail"},
// { label: initFromApiColumnsLable('AsnMstrCompany'), prop: "company" , type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrCompany'), prop: "company" , type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrContacts'), prop: "contacts", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrContacts'), prop: "contacts", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrDock'), prop: "dock", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrDock'), prop: "dock", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrDueDate'), prop: "dueDate",type:'dateTime' }, // { label: zhApiColumnsLable('AsnMstrDueDate'), prop: "dueDate",type:'dateTime' },
// { label: initFromApiColumnsLable('AsnMstrErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('AsnMstrErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('AsnMstrErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrPhone'), prop: "phone", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrPhone'), prop: "phone", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrPoNbr'), prop: "poNbr" , type:"showDetail"}, // { label: zhApiColumnsLable('AsnMstrPoNbr'), prop: "poNbr" , type:"showDetail"},
// { label: initFromApiColumnsLable('AsnMstrRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrRpNbr'), prop: "rpNbr", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrRpNbr'), prop: "rpNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrShipDate'), prop: "shipDate" ,type:'dateTime' }, // { label: zhApiColumnsLable('AsnMstrShipDate'), prop: "shipDate" ,type:'dateTime' },
// { label: initFromApiColumnsLable('AsnMstrSite'), prop: "site", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrSite'), prop: "site", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrStatus'), prop: "status", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrStatus'), prop: "status", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrTimeWindow'), prop: "timeWindow" , type:"showDetail"}, // { label: zhApiColumnsLable('AsnMstrTimeWindow'), prop: "timeWindow" , type:"showDetail"},
// { label: initFromApiColumnsLable('AsnMstrTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrTruckNbr'), prop: "truckNbr" , type:"showDetail"}, // { label: zhApiColumnsLable('AsnMstrTruckNbr'), prop: "truckNbr" , type:"showDetail"},
// { label: initFromApiColumnsLable('AsnMstrVendorCode'), prop: "vendorCode", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrVendorCode'), prop: "vendorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrWhse'), prop: "whse", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrWhse'), prop: "whse", type:"showDetail" },
// // { // // {
// // label: '操作', // // label: '操作',
// // type:"buttonOperation", // // type:"buttonOperation",
@ -44,377 +44,377 @@ import { initFromApiColumnsLable } from '@/utils/index'
// IncomingData // IncomingData
// export const IncomingData = [ // export const IncomingData = [
// { label: initFromApiColumnsLable('IncomingDataCompany'), prop: "company", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataCompany'), prop: "company", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataDataContent'), prop: "dataContent", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataDataContent'), prop: "dataContent", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataDataType'), prop: "dataType" , type:"showDetail"}, // { label: zhApiColumnsLable('IncomingDataDataType'), prop: "dataType" , type:"showDetail"},
// { label: initFromApiColumnsLable('IncomingDataDestinationSystem'), prop: "destinationSystem" , type:"showDetail"}, // { label: zhApiColumnsLable('IncomingDataDestinationSystem'), prop: "destinationSystem" , type:"showDetail"},
// { label: initFromApiColumnsLable('IncomingDataEffectiveDate'), prop: "effectiveDate",type:'dateTime' }, // { label: zhApiColumnsLable('IncomingDataEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
// { label: initFromApiColumnsLable('IncomingDataErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataNumber'), prop: "number", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataNumber'), prop: "number", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataReadTime'), prop: "readTime",type:'dateTime' }, // { label: zhApiColumnsLable('IncomingDataReadTime'), prop: "readTime",type:'dateTime' },
// { label: initFromApiColumnsLable('IncomingDataReader'), prop: "reader", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataReader'), prop: "reader", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataRetryTimes'), prop: "retryTimes" , type:"showDetail"}, // { label: zhApiColumnsLable('IncomingDataRetryTimes'), prop: "retryTimes" , type:"showDetail"},
// { label: initFromApiColumnsLable('IncomingDataSourceSystem'), prop: "sourceSystem", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataSourceSystem'), prop: "sourceSystem", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataStatus'), prop: "status", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataStatus'), prop: "status", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataWriteTime'), prop: "writeTime", type:"dateTime" , type:"showDetail"}, // { label: zhApiColumnsLable('IncomingDataWriteTime'), prop: "writeTime", type:"dateTime" , type:"showDetail"},
// { label: initFromApiColumnsLable('IncomingDataWriter'), prop: "writer", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataWriter'), prop: "writer", type:"showDetail" },
// ] // ]
// // IncomingDataHistory // // IncomingDataHistory
// export const IncomingDataHistory = [ // export const IncomingDataHistory = [
// { label: initFromApiColumnsLable('IncomingDataHistoryCompany'), prop: "company" , type:"showDetail"}, // { label: zhApiColumnsLable('IncomingDataHistoryCompany'), prop: "company" , type:"showDetail"},
// { label: initFromApiColumnsLable('IncomingDataHistoryDataContent'), prop: "dataContent", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryDataContent'), prop: "dataContent", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryDataType'), prop: "dataType", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryDataType'), prop: "dataType", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryDestinationSystem'), prop: "destinationSystem", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryDestinationSystem'), prop: "destinationSystem", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' }, // { label: zhApiColumnsLable('IncomingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
// { label: initFromApiColumnsLable('IncomingDataHistoryErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryNumber'), prop: "number", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryNumber'), prop: "number", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryReadTime'), prop: "readTime",type:'dateTime' }, // { label: zhApiColumnsLable('IncomingDataHistoryReadTime'), prop: "readTime",type:'dateTime' },
// { label: initFromApiColumnsLable('IncomingDataHistoryReader'), prop: "reader", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryReader'), prop: "reader", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryRetryTimes'), prop: "retryTimes" , type:"showDetail"}, // { label: zhApiColumnsLable('IncomingDataHistoryRetryTimes'), prop: "retryTimes" , type:"showDetail"},
// { label: initFromApiColumnsLable('IncomingDataHistorySourceSystem'), prop: "sourceSystem" , type:"showDetail"}, // { label: zhApiColumnsLable('IncomingDataHistorySourceSystem'), prop: "sourceSystem" , type:"showDetail"},
// { label: initFromApiColumnsLable('IncomingDataHistoryStatus'), prop: "status", type:"showDetail" }, // { label: zhApiColumnsLable('IncomingDataHistoryStatus'), prop: "status", type:"showDetail" },
// { label: initFromApiColumnsLable('IncomingDataHistoryWriteTime'), prop: "writeTime", type:"dateTime" }, // { label: zhApiColumnsLable('IncomingDataHistoryWriteTime'), prop: "writeTime", type:"dateTime" },
// { label: initFromApiColumnsLable('IncomingDataHistoryWriter'), prop: "writer" , type:"showDetail"}, // { label: zhApiColumnsLable('IncomingDataHistoryWriter'), prop: "writer" , type:"showDetail"},
// ] // ]
// // OutgoingData // // OutgoingData
// export const OutgoingData = [ // export const OutgoingData = [
// { label: initFromApiColumnsLable('OutgoingDataCompany'), prop: "company" , type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataCompany'), prop: "company" , type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataDataContent'), prop: "dataContent", type:"showJsonTable" }, // { label: zhApiColumnsLable('OutgoingDataDataContent'), prop: "dataContent", type:"showJsonTable" },
// { label: initFromApiColumnsLable('OutgoingDataDataType'), prop: "dataType" , type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataDataType'), prop: "dataType" , type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataDestinationSystem'), prop: "destinationSystem", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataDestinationSystem'), prop: "destinationSystem", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataEffectiveDate'), prop: "effectiveDate",type:'dateTime' }, // { label: zhApiColumnsLable('OutgoingDataEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
// { label: initFromApiColumnsLable('OutgoingDataErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataNumber'), prop: "number", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataNumber'), prop: "number", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataReadTime'), prop: "readTime",type:'dateTime' }, // { label: zhApiColumnsLable('OutgoingDataReadTime'), prop: "readTime",type:'dateTime' },
// { label: initFromApiColumnsLable('OutgoingDataReader'), prop: "reader", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataReader'), prop: "reader", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataRetryTimes'), prop: "retryTimes" , type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataRetryTimes'), prop: "retryTimes" , type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataSourceSystem'), prop: "sourceSystem", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataSourceSystem'), prop: "sourceSystem", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataStatus'), prop: "status", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataStatus'), prop: "status", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataWriteTime'), prop: "writeTime", type:"dateTime" }, // { label: zhApiColumnsLable('OutgoingDataWriteTime'), prop: "writeTime", type:"dateTime" },
// { label: initFromApiColumnsLable('OutgoingDataWriter'), prop: "writer", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataWriter'), prop: "writer", type:"showDetail" },
// ] // ]
// // OutgoingDataHistory // // OutgoingDataHistory
// export const OutgoingDataHistory = [ // export const OutgoingDataHistory = [
// { label: initFromApiColumnsLable('OutgoingDataHistoryCompany'), prop: "company", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryCompany'), prop: "company", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryDataContent'), prop: "dataContent", type:"showJsonTable" }, // { label: zhApiColumnsLable('OutgoingDataHistoryDataContent'), prop: "dataContent", type:"showJsonTable" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryDataType'), prop: "dataType", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryDataType'), prop: "dataType", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryDestinationSystem'), prop: "destinationSystem", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryDestinationSystem'), prop: "destinationSystem", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' }, // { label: zhApiColumnsLable('OutgoingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
// { label: initFromApiColumnsLable('OutgoingDataHistoryErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataHistoryErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryNumber'), prop: "number", type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataHistoryNumber'), prop: "number", type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataHistoryReadTime'), prop: "readTime",type:'dateTime' }, // { label: zhApiColumnsLable('OutgoingDataHistoryReadTime'), prop: "readTime",type:'dateTime' },
// { label: initFromApiColumnsLable('OutgoingDataHistoryReader'), prop: "reader", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryReader'), prop: "reader", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataHistoryRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataHistoryRetryTimes'), prop: "retryTimes", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryRetryTimes'), prop: "retryTimes", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistorySourceSystem'), prop: "sourceSystem", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistorySourceSystem'), prop: "sourceSystem", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryStatus'), prop: "status", type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataHistoryStatus'), prop: "status", type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataHistoryWriteTime'), prop: "writeTime", type:"dateTime" }, // { label: zhApiColumnsLable('OutgoingDataHistoryWriteTime'), prop: "writeTime", type:"dateTime" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryWriter'), prop: "writer", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryWriter'), prop: "writer", type:"showDetail" },
// ] // ]
// // MessageReceive // // MessageReceive
// export const MessageReceive = [ // export const MessageReceive = [
// { label: initFromApiColumnsLable('MessageReceiveErrorCount'), prop: "errorCount", type:"showDetail" }, // { label: zhApiColumnsLable('MessageReceiveErrorCount'), prop: "errorCount", type:"showDetail" },
// { label: initFromApiColumnsLable('MessageReceiveErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('MessageReceiveErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('MessageReceiveLastUpdateTime'), prop: "updateTime",type:'dateTime' }, // { label: zhApiColumnsLable('MessageReceiveLastUpdateTime'), prop: "updateTime",type:'dateTime' },
// { label: initFromApiColumnsLable('MessageReceiveMessageContent'), prop: "messageContent", type:"showDetail" }, // { label: zhApiColumnsLable('MessageReceiveMessageContent'), prop: "messageContent", type:"showDetail" },
// { label: initFromApiColumnsLable('MessageReceiveMessageFileName'), prop: "messageFileName", type:"showDetail" }, // { label: zhApiColumnsLable('MessageReceiveMessageFileName'), prop: "messageFileName", type:"showDetail" },
// { label: initFromApiColumnsLable('MessageReceiveMessageFileType'), prop: "messageFileType", type:"showDetail" }, // { label: zhApiColumnsLable('MessageReceiveMessageFileType'), prop: "messageFileType", type:"showDetail" },
// { label: initFromApiColumnsLable('MessageReceiveOperateType'), prop: "operateType" , type:"showDetail"}, // { label: zhApiColumnsLable('MessageReceiveOperateType'), prop: "operateType" , type:"showDetail"},
// { label: initFromApiColumnsLable('MessageReceiveReceiveStatus'), prop: "receiveStatus", type:"showDetail" }, // { label: zhApiColumnsLable('MessageReceiveReceiveStatus'), prop: "receiveStatus", type:"showDetail" },
// { label: initFromApiColumnsLable('MessageReceiveReceiveTime'), prop: "receiveTime", type:"dateTime" }, // { label: zhApiColumnsLable('MessageReceiveReceiveTime'), prop: "receiveTime", type:"dateTime" },
// ] // ]
// // MesProductL7PartsNote // // MesProductL7PartsNote
// export const MesProductL7PartsNote = [ // export const MesProductL7PartsNote = [
// { label: initFromApiColumnsLable('MesProductL7PartsNoteConfiguration'), prop: "configuration" , type:"showDetail"}, // { label: zhApiColumnsLable('MesProductL7PartsNoteConfiguration'), prop: "configuration" , type:"showDetail"},
// { label: initFromApiColumnsLable('MesProductL7PartsNoteCreateDate'), prop: "createDate", type:"dateTime" }, // { label: zhApiColumnsLable('MesProductL7PartsNoteCreateDate'), prop: "createDate", type:"dateTime" },
// { label: initFromApiColumnsLable('MesProductL7PartsNoteFATA'), prop: "fata", type:"showDetail" }, // { label: zhApiColumnsLable('MesProductL7PartsNoteFATA'), prop: "fata", type:"showDetail" },
// { label: initFromApiColumnsLable('MesProductL7PartsNoteL7Part'), prop: "l7Part" , type:"showDetail"}, // { label: zhApiColumnsLable('MesProductL7PartsNoteL7Part'), prop: "l7Part" , type:"showDetail"},
// { label: initFromApiColumnsLable('MesProductL7PartsNotePosition'), prop: "position" , type:"showDetail"}, // { label: zhApiColumnsLable('MesProductL7PartsNotePosition'), prop: "position" , type:"showDetail"},
// { label: initFromApiColumnsLable('MesProductL7PartsNoteProductNo'), prop: "productNo" , type:"showDetail"}, // { label: zhApiColumnsLable('MesProductL7PartsNoteProductNo'), prop: "productNo" , type:"showDetail"},
// { label: initFromApiColumnsLable('MesProductL7PartsNoteProgram'), prop: "program", type:"showDetail" }, // { label: zhApiColumnsLable('MesProductL7PartsNoteProgram'), prop: "program", type:"showDetail" },
// { label: initFromApiColumnsLable('MesProductL7PartsNoteQty'), prop: "qty" , type:"showDetail"}, // { label: zhApiColumnsLable('MesProductL7PartsNoteQty'), prop: "qty" , type:"showDetail"},
// { label: initFromApiColumnsLable('MesProductL7PartsNoteRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('MesProductL7PartsNoteRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('MesProductL7PartsNoteRowID'), prop: "rowID", type:"showDetail" }, // { label: zhApiColumnsLable('MesProductL7PartsNoteRowID'), prop: "rowID", type:"showDetail" },
// { label: initFromApiColumnsLable('MesProductL7PartsNoteState'), prop: "state", type:"showDetail" }, // { label: zhApiColumnsLable('MesProductL7PartsNoteState'), prop: "state", type:"showDetail" },
// ] // ]
// // 测试数据 // // 测试数据
// export const TestSchool = [ // export const TestSchool = [
// { label: initFromApiColumnsLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" }, // { label: zhApiColumnsLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" },
// { label: initFromApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" }, // { label: zhApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" },
// ] // ]
// // MesProductL7PartsNote // // MesProductL7PartsNote
// export const Bom = [ // export const Bom = [
// { label: initFromApiColumnsLable('BomCompany'), prop: "company" , type:"showDetail"}, // { label: zhApiColumnsLable('BomCompany'), prop: "company" , type:"showDetail"},
// { label: initFromApiColumnsLable('BomComponent'), prop: "component", type:"showDetail" }, // { label: zhApiColumnsLable('BomComponent'), prop: "component", type:"showDetail" },
// { label: initFromApiColumnsLable('BomEndDate'), prop: "endDate", type:"dateTime" }, // { label: zhApiColumnsLable('BomEndDate'), prop: "endDate", type:"dateTime" },
// { label: initFromApiColumnsLable('BomErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('BomErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('BomErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('BomErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('BomOp'), prop: "op" , type:"showDetail"}, // { label: zhApiColumnsLable('BomOp'), prop: "op" , type:"showDetail"},
// { label: initFromApiColumnsLable('BomOptionGroup'), prop: "optionGroup", type:"showDetail" }, // { label: zhApiColumnsLable('BomOptionGroup'), prop: "optionGroup", type:"showDetail" },
// { label: initFromApiColumnsLable('BomParent'), prop: "parent" , type:"showDetail"}, // { label: zhApiColumnsLable('BomParent'), prop: "parent" , type:"showDetail"},
// { label: initFromApiColumnsLable('BomPerQty'), prop: "qty" }, // { label: zhApiColumnsLable('BomPerQty'), prop: "qty" },
// { label: initFromApiColumnsLable('BomProcess'), prop: "process", type:"showDetail" }, // { label: zhApiColumnsLable('BomProcess'), prop: "process", type:"showDetail" },
// { label: initFromApiColumnsLable('BomRef2'), prop: "ref2", type:"showDetail" }, // { label: zhApiColumnsLable('BomRef2'), prop: "ref2", type:"showDetail" },
// { label: initFromApiColumnsLable('BomRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('BomRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('BomScrapPct'), prop: "scrapPct", type:"showDetail" }, // { label: zhApiColumnsLable('BomScrapPct'), prop: "scrapPct", type:"showDetail" },
// { label: initFromApiColumnsLable('BomSeqNumber'), prop: "seqNumber", type:"showDetail" }, // { label: zhApiColumnsLable('BomSeqNumber'), prop: "seqNumber", type:"showDetail" },
// { label: initFromApiColumnsLable('BomStartDate'), prop: "startDate", type:"dateTime" }, // { label: zhApiColumnsLable('BomStartDate'), prop: "startDate", type:"dateTime" },
// { label: initFromApiColumnsLable('BomTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('BomTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('BomType'), prop: "type", type:"showDetail" }, // { label: zhApiColumnsLable('BomType'), prop: "type", type:"showDetail" },
// ] // ]
// export const Cust = [ // export const Cust = [
// { label: initFromApiColumnsLable('CustActive'), prop: "active" , type:"showDetail"}, // { label: zhApiColumnsLable('CustActive'), prop: "active" , type:"showDetail"},
// { label: initFromApiColumnsLable('CustAddr1'), prop: "addr1", type:"showDetail" }, // { label: zhApiColumnsLable('CustAddr1'), prop: "addr1", type:"showDetail" },
// { label: initFromApiColumnsLable('CustAddr2'), prop: "addr2", type:"showDetail" }, // { label: zhApiColumnsLable('CustAddr2'), prop: "addr2", type:"showDetail" },
// { label: initFromApiColumnsLable('CustAddr3'), prop: "addr3", type:"showDetail" }, // { label: zhApiColumnsLable('CustAddr3'), prop: "addr3", type:"showDetail" },
// { label: initFromApiColumnsLable('CustCity'), prop: "city" , type:"showDetail"}, // { label: zhApiColumnsLable('CustCity'), prop: "city" , type:"showDetail"},
// { label: initFromApiColumnsLable('CustCode'), prop: "code" , type:"showDetail"}, // { label: zhApiColumnsLable('CustCode'), prop: "code" , type:"showDetail"},
// { label: initFromApiColumnsLable('CustCompany'), prop: "company", type:"showDetail" }, // { label: zhApiColumnsLable('CustCompany'), prop: "company", type:"showDetail" },
// { label: initFromApiColumnsLable('CustContacts'), prop: "contacts" , type:"showDetail"}, // { label: zhApiColumnsLable('CustContacts'), prop: "contacts" , type:"showDetail"},
// { label: initFromApiColumnsLable('CustCountry'), prop: "country" , type:"showDetail"}, // { label: zhApiColumnsLable('CustCountry'), prop: "country" , type:"showDetail"},
// { label: initFromApiColumnsLable('CustCurr'), prop: "curr", type:"showDetail" }, // { label: zhApiColumnsLable('CustCurr'), prop: "curr", type:"showDetail" },
// { label: initFromApiColumnsLable('CustErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('CustErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('CustErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('CustErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('CustFax'), prop: "fax", type:"showDetail" }, // { label: zhApiColumnsLable('CustFax'), prop: "fax", type:"showDetail" },
// { label: initFromApiColumnsLable('CustName'), prop: "name", type:"showDetail" }, // { label: zhApiColumnsLable('CustName'), prop: "name", type:"showDetail" },
// ] // ]
// export const CustPart = [ // export const CustPart = [
// { label: initFromApiColumnsLable('CustPartCompany'), prop: "company", type:"showDetail" }, // { label: zhApiColumnsLable('CustPartCompany'), prop: "company", type:"showDetail" },
// { label: initFromApiColumnsLable('CustPartCustCode'), prop: "custCode" , type:"showDetail"}, // { label: zhApiColumnsLable('CustPartCustCode'), prop: "custCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('CustPartCustPackQty'), prop: "custPackQty" , type:"showDetail"}, // { label: zhApiColumnsLable('CustPartCustPackQty'), prop: "custPackQty" , type:"showDetail"},
// { label: initFromApiColumnsLable('CustPartCustPackUm'), prop: "custPackUm", type:"showDetail" }, // { label: zhApiColumnsLable('CustPartCustPackUm'), prop: "custPackUm", type:"showDetail" },
// { label: initFromApiColumnsLable('CustPartCustPartCode'), prop: "custPartCode", type:"showDetail" }, // { label: zhApiColumnsLable('CustPartCustPartCode'), prop: "custPartCode", type:"showDetail" },
// { label: initFromApiColumnsLable('CustPartErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('CustPartErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('CustPartErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('CustPartErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('CustPartPartCode'), prop: "partCode", type:"showDetail" }, // { label: zhApiColumnsLable('CustPartPartCode'), prop: "partCode", type:"showDetail" },
// { label: initFromApiColumnsLable('CustPartRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('CustPartRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('CustPartSite'), prop: "site", type:"showDetail" }, // { label: zhApiColumnsLable('CustPartSite'), prop: "site", type:"showDetail" },
// { label: initFromApiColumnsLable('CustPartTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('CustPartTraceId'), prop: "traceId", type:"showDetail" },
// ] // ]
// export const Inventory = [ // export const Inventory = [
// { label: initFromApiColumnsLable('InventoryCompany'), prop: "company" , type:"showDetail"}, // { label: zhApiColumnsLable('InventoryCompany'), prop: "company" , type:"showDetail"},
// { label: initFromApiColumnsLable('InventoryCustConsignQty'), prop: "custConsignQty" }, // { label: zhApiColumnsLable('InventoryCustConsignQty'), prop: "custConsignQty" },
// { label: initFromApiColumnsLable('InventoryErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('InventoryErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('InventoryErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('InventoryErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('InventoryLoc'), prop: "loc" , type:"showDetail"}, // { label: zhApiColumnsLable('InventoryLoc'), prop: "loc" , type:"showDetail"},
// { label: initFromApiColumnsLable('InventoryLot'), prop: "lot", type:"showDetail" }, // { label: zhApiColumnsLable('InventoryLot'), prop: "lot", type:"showDetail" },
// { label: initFromApiColumnsLable('InventoryPart'), prop: "part" , type:"showDetail"}, // { label: zhApiColumnsLable('InventoryPart'), prop: "part" , type:"showDetail"},
// { label: initFromApiColumnsLable('InventoryQty'), prop: "qty" }, // { label: zhApiColumnsLable('InventoryQty'), prop: "qty" },
// { label: initFromApiColumnsLable('InventoryReference'), prop: "reference", type:"showDetail" }, // { label: zhApiColumnsLable('InventoryReference'), prop: "reference", type:"showDetail" },
// { label: initFromApiColumnsLable('InventoryRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('InventoryRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('InventorySite'), prop: "site", type:"showDetail" }, // { label: zhApiColumnsLable('InventorySite'), prop: "site", type:"showDetail" },
// { label: initFromApiColumnsLable('InventoryStatus'), prop: "status", type:"showDetail" }, // { label: zhApiColumnsLable('InventoryStatus'), prop: "status", type:"showDetail" },
// { label: initFromApiColumnsLable('InventorySuppConsignQty'), prop: "suppConsignQty" }, // { label: zhApiColumnsLable('InventorySuppConsignQty'), prop: "suppConsignQty" },
// { label: initFromApiColumnsLable('InventoryTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('InventoryTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('InventoryUm'), prop: "um", type:"showDetail" }, // { label: zhApiColumnsLable('InventoryUm'), prop: "um", type:"showDetail" },
// ] // ]
// export const Loc = [ // export const Loc = [
// { label: initFromApiColumnsLable('LocCode'), prop: "code" , type:"showDetail"}, // { label: zhApiColumnsLable('LocCode'), prop: "code" , type:"showDetail"},
// { label: initFromApiColumnsLable('LocCompany'), prop: "company" }, // { label: zhApiColumnsLable('LocCompany'), prop: "company" },
// { label: initFromApiColumnsLable('LocDesc'), prop: "desc" , type:"showDetail"}, // { label: zhApiColumnsLable('LocDesc'), prop: "desc" , type:"showDetail"},
// { label: initFromApiColumnsLable('LocErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('LocErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('LocErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('LocErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('LocRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('LocRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('LocSite'), prop: "site", type:"showDetail" }, // { label: zhApiColumnsLable('LocSite'), prop: "site", type:"showDetail" },
// { label: initFromApiColumnsLable('LocTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('LocTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('LocType'), prop: "type", type:"showDetail" }, // { label: zhApiColumnsLable('LocType'), prop: "type", type:"showDetail" },
// { label: initFromApiColumnsLable('LocWhse'), prop: "whse" }, // { label: zhApiColumnsLable('LocWhse'), prop: "whse" },
// ] // ]
// export const Part = [ // export const Part = [
// { label: initFromApiColumnsLable('PartCode'), prop: "code" , type:"showDetail"}, // { label: zhApiColumnsLable('PartCode'), prop: "code" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartName'), prop: "name" , type:"showDetail"}, // { label: zhApiColumnsLable('PartName'), prop: "name" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartDesc1'), prop: "desc1", type:"showDetail" }, // { label: zhApiColumnsLable('PartDesc1'), prop: "desc1", type:"showDetail" },
// { label: initFromApiColumnsLable('PartDesc2'), prop: "desc2", type:"showDetail" }, // { label: zhApiColumnsLable('PartDesc2'), prop: "desc2", type:"showDetail" },
// { label: initFromApiColumnsLable('PartAbcClass'), prop: "abcClass" , type:"showDetail"}, // { label: zhApiColumnsLable('PartAbcClass'), prop: "abcClass" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartCanBuy'), prop: "canBuy" }, // { label: zhApiColumnsLable('PartCanBuy'), prop: "canBuy" },
// { label: initFromApiColumnsLable('PartCanMake'), prop: "canMake" }, // { label: zhApiColumnsLable('PartCanMake'), prop: "canMake" },
// { label: initFromApiColumnsLable('PartColor'), prop: "color" , type:"showDetail"}, // { label: zhApiColumnsLable('PartColor'), prop: "color" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartCompany'), prop: "company", type:"showDetail" }, // { label: zhApiColumnsLable('PartCompany'), prop: "company", type:"showDetail" },
// { label: initFromApiColumnsLable('PartConfig'), prop: "config", type:"showDetail" }, // { label: zhApiColumnsLable('PartConfig'), prop: "config", type:"showDetail" },
// { label: initFromApiColumnsLable('PartEco'), prop: "eco" , type:"showDetail"}, // { label: zhApiColumnsLable('PartEco'), prop: "eco" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('PartErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('PartErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartExtPackQty'), prop: "extPackQty" }, // { label: zhApiColumnsLable('PartExtPackQty'), prop: "extPackQty" },
// { label: initFromApiColumnsLable('PartExtPackUm'), prop: "extPackUm" , type:"showDetail"}, // { label: zhApiColumnsLable('PartExtPackUm'), prop: "extPackUm" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartIsPhantom'), prop: "isPhantom" , type:"showDetail"}, // { label: zhApiColumnsLable('PartIsPhantom'), prop: "isPhantom" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartPartCatalog'), prop: "partCatalog" , type:"showDetail"}, // { label: zhApiColumnsLable('PartPartCatalog'), prop: "partCatalog" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartPartGroup'), prop: "partGroup" , type:"showDetail"}, // { label: zhApiColumnsLable('PartPartGroup'), prop: "partGroup" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartPartType'), prop: "partType" , type:"showDetail"}, // { label: zhApiColumnsLable('PartPartType'), prop: "partType" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartProdKind'), prop: "prodKind" , type:"showDetail"}, // { label: zhApiColumnsLable('PartProdKind'), prop: "prodKind" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartProject'), prop: "project" , type:"showDetail"}, // { label: zhApiColumnsLable('PartProject'), prop: "project" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('PartRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('PartSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartStatus'), prop: "status" , type:"showDetail"}, // { label: zhApiColumnsLable('PartStatus'), prop: "status" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartStdPackQty'), prop: "stdPackQty" }, // { label: zhApiColumnsLable('PartStdPackQty'), prop: "stdPackQty" },
// { label: initFromApiColumnsLable('PartStdPackUm'), prop: "stdPackUm" , type:"showDetail"}, // { label: zhApiColumnsLable('PartStdPackUm'), prop: "stdPackUm" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartTraceId'), prop: "traceId" , type:"showDetail"}, // { label: zhApiColumnsLable('PartTraceId'), prop: "traceId" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartUm'), prop: "um" , type:"showDetail"}, // { label: zhApiColumnsLable('PartUm'), prop: "um" , type:"showDetail"},
// { label: initFromApiColumnsLable('PartVersion'), prop: "version" , type:"showDetail"}, // { label: zhApiColumnsLable('PartVersion'), prop: "version" , type:"showDetail"},
// ] // ]
// // PoMstr // // PoMstr
// export const PoMstr = [ // export const PoMstr = [
// { label: initFromApiColumnsLable('PoMstrPoNbr'), prop: "poNbr" ,type:'showDetail', fixed:'left' }, // { label: zhApiColumnsLable('PoMstrPoNbr'), prop: "poNbr" ,type:'showDetail', fixed:'left' },
// { label: initFromApiColumnsLable('PoMstrBuyer'), prop: "buyer", type:"showDetail"}, // { label: zhApiColumnsLable('PoMstrBuyer'), prop: "buyer", type:"showDetail"},
// { label: initFromApiColumnsLable('PoMstrCompany'), prop: "company" , type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrCompany'), prop: "company" , type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrConsignment'), prop: "consignment", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrConsignment'), prop: "consignment", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrContacts'), prop: "contacts", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrContacts'), prop: "contacts", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrContract'), prop: "contract",type:'showDetail' }, // { label: zhApiColumnsLable('PoMstrContract'), prop: "contract",type:'showDetail' },
// { label: initFromApiColumnsLable('PoMstrDueDate'), prop: "dueDate", type:"dateTime" }, // { label: zhApiColumnsLable('PoMstrDueDate'), prop: "dueDate", type:"dateTime" },
// { label: initFromApiColumnsLable('PoMstrErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('PoMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('PoMstrModType'), prop: "modType", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrModType'), prop: "modType", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrOrderDate'), prop: "orderDate", type:"dateTime" }, // { label: zhApiColumnsLable('PoMstrOrderDate'), prop: "orderDate", type:"dateTime" },
// { label: initFromApiColumnsLable('PoMstrProject'), prop: "project", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrProject'), prop: "project", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('PoMstrSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('PoMstrStatus'), prop: "status", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrStatus'), prop: "status", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrTaxRate'), prop: "taxRate" , type:"showDetail"}, // { label: zhApiColumnsLable('PoMstrTaxRate'), prop: "taxRate" , type:"showDetail"},
// { label: initFromApiColumnsLable('PoMstrTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrVendorCode'), prop: "vendorCode", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrVendorCode'), prop: "vendorCode", type:"showDetail" },
// ] // ]
// // PrhHist // // PrhHist
// export const PrhHist = [ // export const PrhHist = [
// { label: initFromApiColumnsLable('PrhHistAsnNumber'), prop: "asnNumber" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistAsnNumber'), prop: "asnNumber" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistAsnQty'), prop: "asnQty" }, // { label: zhApiColumnsLable('PrhHistAsnQty'), prop: "asnQty" },
// { label: initFromApiColumnsLable('PrhHistBuyer'), prop: "buyer", type:"showDetail" }, // { label: zhApiColumnsLable('PrhHistBuyer'), prop: "buyer", type:"showDetail" },
// { label: initFromApiColumnsLable('PrhHistCompany'), prop: "company", type:"showDetail" }, // { label: zhApiColumnsLable('PrhHistCompany'), prop: "company", type:"showDetail" },
// { label: initFromApiColumnsLable('PrhHistDock'), prop: "dock" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistDock'), prop: "dock" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistLine'), prop: "line" }, // { label: zhApiColumnsLable('PrhHistLine'), prop: "line" },
// { label: initFromApiColumnsLable('PrhHistLocationCode'), prop: "locationCode" }, // { label: zhApiColumnsLable('PrhHistLocationCode'), prop: "locationCode" },
// { label: initFromApiColumnsLable('PrhHistLot'), prop: "lot" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistLot'), prop: "lot" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistOrderQty'), prop: "orderQty" }, // { label: zhApiColumnsLable('PrhHistOrderQty'), prop: "orderQty" },
// { label: initFromApiColumnsLable('PrhHistPackageNumber'), prop: "packageNumber", type:"showDetail" }, // { label: zhApiColumnsLable('PrhHistPackageNumber'), prop: "packageNumber", type:"showDetail" },
// { label: initFromApiColumnsLable('PrhHistPalletNumber'), prop: "palletNumber" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistPalletNumber'), prop: "palletNumber" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistPart'), prop: "part", type:"showDetail" }, // { label: zhApiColumnsLable('PrhHistPart'), prop: "part", type:"showDetail" },
// { label: initFromApiColumnsLable('PrhHistPoNumber'), prop: "poNumber" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistPoNumber'), prop: "poNumber" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistPoSite'), prop: "poSite" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistPoSite'), prop: "poSite" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistProductionDate'), prop: "productionDate" , type:"dateTime"}, // { label: zhApiColumnsLable('PrhHistProductionDate'), prop: "productionDate" , type:"dateTime"},
// { label: initFromApiColumnsLable('PrhHistQty'), prop: "qty" }, // { label: zhApiColumnsLable('PrhHistQty'), prop: "qty" },
// { label: initFromApiColumnsLable('PrhHistReason'), prop: "reason" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistReason'), prop: "reason" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistReceiveDate'), prop: "receiveDate" , type:"dateTime"}, // { label: zhApiColumnsLable('PrhHistReceiveDate'), prop: "receiveDate" , type:"dateTime"},
// { label: initFromApiColumnsLable('PrhHistReceiveNumber'), prop: "receiveNumber" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistReceiveNumber'), prop: "receiveNumber" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistReceiveType'), prop: "receiveType" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistReceiveType'), prop: "receiveType" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistRequest'), prop: "request" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistRequest'), prop: "request" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistRev'), prop: "rev" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistRev'), prop: "rev" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistRma_type'), prop: "rma_type" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistRma_type'), prop: "rma_type" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistShipDate'), prop: "shipDate" , type:"dateTime"}, // { label: zhApiColumnsLable('PrhHistShipDate'), prop: "shipDate" , type:"dateTime"},
// { label: initFromApiColumnsLable('PrhHistShipTo'), prop: "shipTo" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistShipTo'), prop: "shipTo" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistStatus'), prop: "status" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistStatus'), prop: "status" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistTraceId'), prop: "traceId" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistTraceId'), prop: "traceId" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistType'), prop: "type" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistType'), prop: "type" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistUm'), prop: "um" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistUm'), prop: "um" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistUmConv'), prop: "umConv" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistUmConv'), prop: "umConv" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistVendor'), prop: "vendor" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistVendor'), prop: "vendor" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistVendorLot'), prop: "vendorLot" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistVendorLot'), prop: "vendorLot" , type:"showDetail"},
// { label: initFromApiColumnsLable('PrhHistWhse'), prop: "whse" , type:"showDetail"}, // { label: zhApiColumnsLable('PrhHistWhse'), prop: "whse" , type:"showDetail"},
// ] // ]
// // ProdLine // // ProdLine
// export const ProdLine = [ // export const ProdLine = [
// { label: initFromApiColumnsLable('ProdLineCode'), prop: "code" , type:"showDetail"}, // { label: zhApiColumnsLable('ProdLineCode'), prop: "code" , type:"showDetail"},
// { label: initFromApiColumnsLable('ProdLineCompany'), prop: "company" }, // { label: zhApiColumnsLable('ProdLineCompany'), prop: "company" },
// { label: initFromApiColumnsLable('ProdLineDesc'), prop: "desc", type:"showDetail" }, // { label: zhApiColumnsLable('ProdLineDesc'), prop: "desc", type:"showDetail" },
// { label: initFromApiColumnsLable('ProdLineErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('ProdLineErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('ProdLineErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('ProdLineErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('ProdLinePart'), prop: "part", type:"showDetail" }, // { label: zhApiColumnsLable('ProdLinePart'), prop: "part", type:"showDetail" },
// { label: initFromApiColumnsLable('ProdLineRate'), prop: "rate" , type:"showDetail"}, // { label: zhApiColumnsLable('ProdLineRate'), prop: "rate" , type:"showDetail"},
// { label: initFromApiColumnsLable('ProdLineRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('ProdLineRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('ProdLineSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('ProdLineSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('ProdLineTraceId'), prop: "traceId" , type:"showDetail"}, // { label: zhApiColumnsLable('ProdLineTraceId'), prop: "traceId" , type:"showDetail"},
// ] // ]
// // ReceiptMstr // // ReceiptMstr
// export const ReceiptMstr = [ // export const ReceiptMstr = [
// { label: initFromApiColumnsLable('ReceiptMstrAsnNbr'), prop: "asnNbr" ,type:'showDetail', fixed:'left' }, // { label: zhApiColumnsLable('ReceiptMstrAsnNbr'), prop: "asnNbr" ,type:'showDetail', fixed:'left' },
// { label: initFromApiColumnsLable('ReceiptMstrCompany'), prop: "company" , type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrCompany'), prop: "company" , type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('ReceiptMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReceiptMstrPoNbr'), prop: "poNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrPoNbr'), prop: "poNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrRcNbr'), prop: "rcNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrRcNbr'), prop: "rcNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrRcTime'), prop: "rcTime", type:"dateTime" }, // { label: zhApiColumnsLable('ReceiptMstrRcTime'), prop: "rcTime", type:"dateTime" },
// { label: initFromApiColumnsLable('ReceiptMstrRcWorker'), prop: "rcWorker", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrRcWorker'), prop: "rcWorker", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('ReceiptMstrRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReceiptMstrRpNbr'), prop: "rpNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrRpNbr'), prop: "rpNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('ReceiptMstrSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReceiptMstrTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrVendorCode'), prop: "vendorCode", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrVendorCode'), prop: "vendorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrWhse'), prop: "whse", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrWhse'), prop: "whse", type:"showDetail" },
// ] // ]
// // ReturnMstr // // ReturnMstr
// export const ReturnMstr = [ // export const ReturnMstr = [
// { label: initFromApiColumnsLable('ReturnMstrAsnNbr'), prop: "asnNbr" ,type:'showDetail', fixed:'left' }, // { label: zhApiColumnsLable('ReturnMstrAsnNbr'), prop: "asnNbr" ,type:'showDetail', fixed:'left' },
// { label: initFromApiColumnsLable('ReturnMstrCompany'), prop: "company" , type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrCompany'), prop: "company" , type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('ReturnMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReturnMstrPoNbr'), prop: "poNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrPoNbr'), prop: "poNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('ReturnMstrRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReturnMstrRtNbr'), prop: "rtNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrRtNbr'), prop: "rtNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrRtTime'), prop: "rtTime", type:"dateTime" }, // { label: zhApiColumnsLable('ReturnMstrRtTime'), prop: "rtTime", type:"dateTime" },
// { label: initFromApiColumnsLable('ReturnMstrRtWorker'), prop: "rtWorker", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrRtWorker'), prop: "rtWorker", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('ReturnMstrSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReturnMstrTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrVendorCode'), prop: "vendorCode", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrVendorCode'), prop: "vendorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrWhse'), prop: "whse", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrWhse'), prop: "whse", type:"showDetail" },
// ] // ]
// // VendPart // // VendPart
// export const VendPart = [ // export const VendPart = [
// { label: initFromApiColumnsLable('VendPartCompany'), prop: "company" , type:"showDetail" }, // { label: zhApiColumnsLable('VendPartCompany'), prop: "company" , type:"showDetail" },
// { label: initFromApiColumnsLable('VendPartErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('VendPartErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('VendPartErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('VendPartErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('VendPartPartCode'), prop: "partCode", type:"showDetail" }, // { label: zhApiColumnsLable('VendPartPartCode'), prop: "partCode", type:"showDetail" },
// { label: initFromApiColumnsLable('VendPartRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('VendPartRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('VendPartSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('VendPartSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('VendPartTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('VendPartTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('VendPartVendPackQty'), prop: "vendPackQty", type:"showDetail" }, // { label: zhApiColumnsLable('VendPartVendPackQty'), prop: "vendPackQty", type:"showDetail" },
// { label: initFromApiColumnsLable('VendPartVendPackUm'), prop: "vendPackUm", type:"showDetail" }, // { label: zhApiColumnsLable('VendPartVendPackUm'), prop: "vendPackUm", type:"showDetail" },
// { label: initFromApiColumnsLable('VendPartVendPartCode'), prop: "vendPartCode", type:"showDetail" }, // { label: zhApiColumnsLable('VendPartVendPartCode'), prop: "vendPartCode", type:"showDetail" },
// { label: initFromApiColumnsLable('VendPartVendorCode'), prop: "vendorCode", type:"showDetail" }, // { label: zhApiColumnsLable('VendPartVendorCode'), prop: "vendorCode", type:"showDetail" },
// ] // ]
// // Vend // // Vend
// export const Vend = [ // export const Vend = [
// { label: initFromApiColumnsLable('VendActive'), prop: "active" , type:"showDetail" }, // { label: zhApiColumnsLable('VendActive'), prop: "active" , type:"showDetail" },
// { label: initFromApiColumnsLable('VendAddr1'), prop: "addr1", type:"showDetail" }, // { label: zhApiColumnsLable('VendAddr1'), prop: "addr1", type:"showDetail" },
// { label: initFromApiColumnsLable('VendAddr2'), prop: "addr2" , type:"showDetail"}, // { label: zhApiColumnsLable('VendAddr2'), prop: "addr2" , type:"showDetail"},
// { label: initFromApiColumnsLable('VendAddr3'), prop: "addr3", type:"showDetail" }, // { label: zhApiColumnsLable('VendAddr3'), prop: "addr3", type:"showDetail" },
// { label: initFromApiColumnsLable('VendBank'), prop: "bank" , type:"showDetail"}, // { label: zhApiColumnsLable('VendBank'), prop: "bank" , type:"showDetail"},
// { label: initFromApiColumnsLable('VendCity'), prop: "city" , type:"showDetail"}, // { label: zhApiColumnsLable('VendCity'), prop: "city" , type:"showDetail"},
// { label: initFromApiColumnsLable('VendCode'), prop: "code", type:"showDetail" }, // { label: zhApiColumnsLable('VendCode'), prop: "code", type:"showDetail" },
// { label: initFromApiColumnsLable('VendCompany'), prop: "company", type:"showDetail" }, // { label: zhApiColumnsLable('VendCompany'), prop: "company", type:"showDetail" },
// { label: initFromApiColumnsLable('VendContacts'), prop: "contacts", type:"showDetail" }, // { label: zhApiColumnsLable('VendContacts'), prop: "contacts", type:"showDetail" },
// { label: initFromApiColumnsLable('VendCountry'), prop: "country", type:"showDetail" }, // { label: zhApiColumnsLable('VendCountry'), prop: "country", type:"showDetail" },
// { label: initFromApiColumnsLable('VendCurr'), prop: "curr", type:"showDetail" }, // { label: zhApiColumnsLable('VendCurr'), prop: "curr", type:"showDetail" },
// { label: initFromApiColumnsLable('VendErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('VendErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('VendErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('VendErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('VendFax'), prop: "fax", type:"showDetail" }, // { label: zhApiColumnsLable('VendFax'), prop: "fax", type:"showDetail" },
// { label: initFromApiColumnsLable('VendName'), prop: "name", type:"showDetail" }, // { label: zhApiColumnsLable('VendName'), prop: "name", type:"showDetail" },
// ] // ]
// 字段说明 // 字段说明

172
PC/InterFace.Dash/src/utils/tabsDesTions_api/index.js

@ -1,113 +1,113 @@
// 添加页面需要配置位置 // 添加页面需要配置位置
// 此文件为【主表-明细】表头从接口缓存的表头 // 此文件为【主表-明细】表头从接口缓存的表头
import { initFromApiColumnsLable } from '@/utils/index' import { zhApiColumnsLable } from '@/utils/index'
// ExportCustomUserSetting // ExportCustomUserSetting
// export const ExportCustomUserSetting = [ // export const ExportCustomUserSetting = [
// { label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", type:'name' }, // { label: zhApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", type:'name' },
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName" }, // { label: zhApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName" },
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName" }, // { label: zhApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName" },
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportUserId'), prop: "exportUserId" }, // { label: zhApiColumnsLable('ExportCustomUserSettingExportUserId'), prop: "exportUserId" },
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportUserName'), prop: "exportUserName",type:'dateTime' }, // { label: zhApiColumnsLable('ExportCustomUserSettingExportUserName'), prop: "exportUserName",type:'dateTime' },
// ] // ]
// AsnMstr // AsnMstr
// export const AsnMstr = [ // export const AsnMstr = [
// { label: initFromApiColumnsLable('AsnMstrAsnNbr'), prop: "asnNbr" }, // { label: zhApiColumnsLable('AsnMstrAsnNbr'), prop: "asnNbr" },
// { label: initFromApiColumnsLable('AsnMstrCompany'), prop: "company" }, // { label: zhApiColumnsLable('AsnMstrCompany'), prop: "company" },
// { label: initFromApiColumnsLable('AsnMstrContacts'), prop: "contacts" }, // { label: zhApiColumnsLable('AsnMstrContacts'), prop: "contacts" },
// { label: initFromApiColumnsLable('AsnMstrDock'), prop: "dock" }, // { label: zhApiColumnsLable('AsnMstrDock'), prop: "dock" },
// { label: initFromApiColumnsLable('AsnMstrDueDate'), prop: "dueDate",type:'dateTime' }, // { label: zhApiColumnsLable('AsnMstrDueDate'), prop: "dueDate",type:'dateTime' },
// { label: initFromApiColumnsLable('AsnMstrErrorCode'), prop: "errorCode" }, // { label: zhApiColumnsLable('AsnMstrErrorCode'), prop: "errorCode" },
// { label: initFromApiColumnsLable('AsnMstrErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('AsnMstrErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('AsnMstrPhone'), prop: "phone" }, // { label: zhApiColumnsLable('AsnMstrPhone'), prop: "phone" },
// { label: initFromApiColumnsLable('AsnMstrPoNbr'), prop: "poNbr",type:'dateTime' }, // { label: zhApiColumnsLable('AsnMstrPoNbr'), prop: "poNbr",type:'dateTime' },
// { label: initFromApiColumnsLable('AsnMstrRemark'), prop: "remark" }, // { label: zhApiColumnsLable('AsnMstrRemark'), prop: "remark" },
// { label: initFromApiColumnsLable('AsnMstrRpNbr'), prop: "rpNbr" }, // { label: zhApiColumnsLable('AsnMstrRpNbr'), prop: "rpNbr" },
// { label: initFromApiColumnsLable('AsnMstrShipDate'), prop: "shipDate" ,type:'dateTime' }, // { label: zhApiColumnsLable('AsnMstrShipDate'), prop: "shipDate" ,type:'dateTime' },
// { label: initFromApiColumnsLable('AsnMstrSite'), prop: "site" }, // { label: zhApiColumnsLable('AsnMstrSite'), prop: "site" },
// { label: initFromApiColumnsLable('AsnMstrStatus'), prop: "status" }, // { label: zhApiColumnsLable('AsnMstrStatus'), prop: "status" },
// { label: initFromApiColumnsLable('AsnMstrTimeWindow'), prop: "timeWindow" }, // { label: zhApiColumnsLable('AsnMstrTimeWindow'), prop: "timeWindow" },
// { label: initFromApiColumnsLable('AsnMstrTraceId'), prop: "traceId" }, // { label: zhApiColumnsLable('AsnMstrTraceId'), prop: "traceId" },
// { label: initFromApiColumnsLable('AsnMstrTruckNbr'), prop: "truckNbr" }, // { label: zhApiColumnsLable('AsnMstrTruckNbr'), prop: "truckNbr" },
// { label: initFromApiColumnsLable('AsnMstrVendorCode'), prop: "vendorCode" }, // { label: zhApiColumnsLable('AsnMstrVendorCode'), prop: "vendorCode" },
// { label: initFromApiColumnsLable('AsnMstrWhse'), prop: "whse" }, // { label: zhApiColumnsLable('AsnMstrWhse'), prop: "whse" },
// ] // ]
// OutgoingDataHistory // OutgoingDataHistory
// export const OutgoingDataHistory = [ // export const OutgoingDataHistory = [
// { label: initFromApiColumnsLable('OutgoingDataHistoryCompany'), prop: "company", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryCompany'), prop: "company", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryDataContent'), prop: "dataContent", type:"showJsonTable" }, // { label: zhApiColumnsLable('OutgoingDataHistoryDataContent'), prop: "dataContent", type:"showJsonTable" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryDataType'), prop: "dataType", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryDataType'), prop: "dataType", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryDestinationSystem'), prop: "destinationSystem", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryDestinationSystem'), prop: "destinationSystem", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' }, // { label: zhApiColumnsLable('OutgoingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
// { label: initFromApiColumnsLable('OutgoingDataHistoryErrorCode'), prop: "errorCode" , type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataHistoryErrorCode'), prop: "errorCode" , type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryNumber'), prop: "number", type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataHistoryNumber'), prop: "number", type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataHistoryReadTime'), prop: "readTime",type:'dateTime' }, // { label: zhApiColumnsLable('OutgoingDataHistoryReadTime'), prop: "readTime",type:'dateTime' },
// { label: initFromApiColumnsLable('OutgoingDataHistoryReader'), prop: "reader", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryReader'), prop: "reader", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataHistoryRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataHistoryRetryTimes'), prop: "retryTimes", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryRetryTimes'), prop: "retryTimes", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistorySourceSystem'), prop: "sourceSystem", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistorySourceSystem'), prop: "sourceSystem", type:"showDetail" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryStatus'), prop: "status", type:"showDetail"}, // { label: zhApiColumnsLable('OutgoingDataHistoryStatus'), prop: "status", type:"showDetail"},
// { label: initFromApiColumnsLable('OutgoingDataHistoryWriteTime'), prop: "writeTime", type:"dateTime" }, // { label: zhApiColumnsLable('OutgoingDataHistoryWriteTime'), prop: "writeTime", type:"dateTime" },
// { label: initFromApiColumnsLable('OutgoingDataHistoryWriter'), prop: "writer", type:"showDetail" }, // { label: zhApiColumnsLable('OutgoingDataHistoryWriter'), prop: "writer", type:"showDetail" },
// ] // ]
// // PoMstr // // PoMstr
// export const PoMstr = [ // export const PoMstr = [
// { label: initFromApiColumnsLable('PoMstrPoNbr'), prop: "poNbr" ,type:'showDetail' }, // { label: zhApiColumnsLable('PoMstrPoNbr'), prop: "poNbr" ,type:'showDetail' },
// { label: initFromApiColumnsLable('PoMstrBuyer'), prop: "buyer", type:"showDetail"}, // { label: zhApiColumnsLable('PoMstrBuyer'), prop: "buyer", type:"showDetail"},
// { label: initFromApiColumnsLable('PoMstrCompany'), prop: "company" , type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrCompany'), prop: "company" , type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrConsignment'), prop: "consignment", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrConsignment'), prop: "consignment", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrContacts'), prop: "contacts", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrContacts'), prop: "contacts", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrContract'), prop: "contract",type:'dateTime' }, // { label: zhApiColumnsLable('PoMstrContract'), prop: "contract",type:'dateTime' },
// { label: initFromApiColumnsLable('PoMstrDueDate'), prop: "dueDate", type:"dateTime" }, // { label: zhApiColumnsLable('PoMstrDueDate'), prop: "dueDate", type:"dateTime" },
// { label: initFromApiColumnsLable('PoMstrErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('PoMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('PoMstrModType'), prop: "modType", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrModType'), prop: "modType", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrOrderDate'), prop: "orderDate", type:"dateTime" }, // { label: zhApiColumnsLable('PoMstrOrderDate'), prop: "orderDate", type:"dateTime" },
// { label: initFromApiColumnsLable('PoMstrProject'), prop: "project", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrProject'), prop: "project", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrRemark'), prop: "remark", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrRemark'), prop: "remark", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('PoMstrSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('PoMstrStatus'), prop: "status", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrStatus'), prop: "status", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrTaxRate'), prop: "taxRate" , type:"showDetail"}, // { label: zhApiColumnsLable('PoMstrTaxRate'), prop: "taxRate" , type:"showDetail"},
// { label: initFromApiColumnsLable('PoMstrTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('PoMstrVendorCode'), prop: "vendorCode", type:"showDetail" }, // { label: zhApiColumnsLable('PoMstrVendorCode'), prop: "vendorCode", type:"showDetail" },
// ] // ]
// // ReceiptMstr // // ReceiptMstr
// export const ReceiptMstr = [ // export const ReceiptMstr = [
// { label: initFromApiColumnsLable('ReceiptMstrAsnNbr'), prop: "asnNbr" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReceiptMstrAsnNbr'), prop: "asnNbr" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptMstrCompany'), prop: "company" , type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrCompany'), prop: "company" , type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('ReceiptMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReceiptMstrPoNbr'), prop: "poNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrPoNbr'), prop: "poNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrRcNbr'), prop: "rcNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrRcNbr'), prop: "rcNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrRcTime'), prop: "rcTime", type:"dateTime" }, // { label: zhApiColumnsLable('ReceiptMstrRcTime'), prop: "rcTime", type:"dateTime" },
// { label: initFromApiColumnsLable('ReceiptMstrRcWorker'), prop: "rcWorker", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrRcWorker'), prop: "rcWorker", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('ReceiptMstrRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReceiptMstrRpNbr'), prop: "rpNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrRpNbr'), prop: "rpNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('ReceiptMstrSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReceiptMstrTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrVendorCode'), prop: "vendorCode", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrVendorCode'), prop: "vendorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('ReceiptMstrWhse'), prop: "whse", type:"showDetail" }, // { label: zhApiColumnsLable('ReceiptMstrWhse'), prop: "whse", type:"showDetail" },
// ] // ]
// // ReturnMstr // // ReturnMstr
// export const ReturnMstr = [ // export const ReturnMstr = [
// { label: initFromApiColumnsLable('ReturnMstrAsnNbr'), prop: "asnNbr" ,type:'showDetail' }, // { label: zhApiColumnsLable('ReturnMstrAsnNbr'), prop: "asnNbr" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnMstrCompany'), prop: "company" , type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrCompany'), prop: "company" , type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrErrorCode'), prop: "errorCode", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrErrorCode'), prop: "errorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"}, // { label: zhApiColumnsLable('ReturnMstrErrorMessage'), prop: "errorMessage" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReturnMstrPoNbr'), prop: "poNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrPoNbr'), prop: "poNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrRemark'), prop: "remark" , type:"showDetail"}, // { label: zhApiColumnsLable('ReturnMstrRemark'), prop: "remark" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReturnMstrRtNbr'), prop: "rtNbr", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrRtNbr'), prop: "rtNbr", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrRtTime'), prop: "rtTime", type:"dateTime" }, // { label: zhApiColumnsLable('ReturnMstrRtTime'), prop: "rtTime", type:"dateTime" },
// { label: initFromApiColumnsLable('ReturnMstrRtWorker'), prop: "rtWorker", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrRtWorker'), prop: "rtWorker", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrSite'), prop: "site" , type:"showDetail"}, // { label: zhApiColumnsLable('ReturnMstrSite'), prop: "site" , type:"showDetail"},
// { label: initFromApiColumnsLable('ReturnMstrTraceId'), prop: "traceId", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrTraceId'), prop: "traceId", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrVendorCode'), prop: "vendorCode", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrVendorCode'), prop: "vendorCode", type:"showDetail" },
// { label: initFromApiColumnsLable('ReturnMstrWhse'), prop: "whse", type:"showDetail" }, // { label: zhApiColumnsLable('ReturnMstrWhse'), prop: "whse", type:"showDetail" },
// ] // ]

14
PC/InterFace.Dash/src/views/menuList/ExportCustomUserSetting copy.vue

@ -128,7 +128,7 @@
import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins" import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins" import { mixins } from "@/mixins/mixins"
import { filterSelectMixins } from '@/mixins/filter-Select' import { filterSelectMixins } from '@/mixins/filter-Select'
import { initFromApiColumnsLable } from '@/utils/index' import { zhApiColumnsLable } from '@/utils/index'
// import { getExportConfigList } from '@/api/wms-interface' // import { getExportConfigList } from '@/api/wms-interface'
@ -179,14 +179,14 @@
}, },
editOptions: {}, editOptions: {},
CreateForm: [ CreateForm: [
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", colSpan: 12 }, { type: "input", label: zhApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", colSpan: 12 },
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName", colSpan: 12 }, { type: "input", label: zhApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName", colSpan: 12 },
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName", colSpan: 12 }, { type: "input", label: zhApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName", colSpan: 12 },
], ],
editForm: [ editForm: [
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", colSpan: 12 }, { type: "input", label: zhApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", colSpan: 12 },
{ type: "input", label:initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName", colSpan: 12 }, { type: "input", label:zhApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName", colSpan: 12 },
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName", colSpan: 12 }, { type: "input", label: zhApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName", colSpan: 12 },
], ],
editRules: { editRules: {
cerateRule: { cerateRule: {

28
PC/InterFace.Dash/src/views/menuList/ExportCustomUserSetting.vue

@ -116,7 +116,7 @@ import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins" import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins" import { mixins } from "@/mixins/mixins"
import { filterSelectMixins } from '@/mixins/filter-Select' import { filterSelectMixins } from '@/mixins/filter-Select'
import { initFromApiColumnsLable,firstWordSizeChange } from '@/utils/index' import { zhApiColumnsLable,firstWordSizeChange } from '@/utils/index'
import { getPageList } from '@/api/wms-api' import { getPageList } from '@/api/wms-api'
import { import {
postCreate, postCreate,
@ -185,17 +185,17 @@ export default {
}, },
editOptions: {}, editOptions: {},
CreateForm: [ CreateForm: [
// { type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", colSpan: 12 }, // { type: "input", label: zhApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", colSpan: 12 },
// { type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName", colSpan: 12 }, // { type: "input", label: zhApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName", colSpan: 12 },
// { type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName", colSpan: 12 }, // { type: "input", label: zhApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName", colSpan: 12 },
{ type: "select", label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", options: "whetherOrNotForNum", colSpan: 12 }, { type: "select", label: zhApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", options: "whetherOrNotForNum", colSpan: 12 },
{ type: "select", label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName_old", userOptions: this.initTablesName(), colSpan: 12 }, { type: "select", label: zhApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName_old", userOptions: this.initTablesName(), colSpan: 12 },
{ type: "select", disabled:true, multiple:true, label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnNameArr", userOptions:null, colSpan: 12 }, { type: "select", disabled:true, multiple:true, label: zhApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnNameArr", userOptions:null, colSpan: 12 },
], ],
editForm: [ editForm: [
{ type: "select", label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", options: "whetherOrNotForNum", colSpan: 12 }, { type: "select", label: zhApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", options: "whetherOrNotForNum", colSpan: 12 },
{ type: "select", label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName_old", userOptions: this.initTablesName(), colSpan: 12 }, { type: "select", label: zhApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName_old", userOptions: this.initTablesName(), colSpan: 12 },
{ type: "select", multiple:true, label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnNameArr", userOptions:null, colSpan: 12 }, { type: "select", multiple:true, label: zhApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnNameArr", userOptions:null, colSpan: 12 },
], ],
editRules: { editRules: {
cerateRule: { cerateRule: {
@ -221,11 +221,11 @@ export default {
this.tableData.forEach(item=>{ this.tableData.forEach(item=>{
item.exportTableName_old = item.exportTableName item.exportTableName_old = item.exportTableName
item.exportColumnName_old = item.exportColumnName item.exportColumnName_old = item.exportColumnName
item.exportTableName = initFromApiColumnsLable(item.exportTableName) item.exportTableName = zhApiColumnsLable(item.exportTableName)
let _arr = item.exportColumnName.split(" ") let _arr = item.exportColumnName.split(" ")
let _zhArr = [] let _zhArr = []
_arr.forEach(item2=>{ _arr.forEach(item2=>{
let _item2 = initFromApiColumnsLable(item.exportTableName_old+firstWordSizeChange(item2,'Upper')) || item2 let _item2 = zhApiColumnsLable(item.exportTableName_old+firstWordSizeChange(item2,'Upper')) || item2
_zhArr.push(_item2) _zhArr.push(_item2)
}) })
item.exportColumnName = _zhArr.join(',') item.exportColumnName = _zhArr.join(',')
@ -237,7 +237,7 @@ export default {
let tablesList = [] let tablesList = []
_names.forEach(item=>{ _names.forEach(item=>{
let _item = { let _item = {
label:initFromApiColumnsLable(item), label:zhApiColumnsLable(item),
value:item value:item
} }
tablesList.push(_item) tablesList.push(_item)
@ -267,7 +267,7 @@ export default {
for(let item in _column){ for(let item in _column){
if(item != 'detail' || item != 'details'){ if(item != 'detail' || item != 'details'){
let _item = { let _item = {
label:initFromApiColumnsLable(val+firstWordSizeChange(item,'Upper')), label:zhApiColumnsLable(val+firstWordSizeChange(item,'Upper')),
value:item value:item
} }
this.columsList.push(_item) this.columsList.push(_item)

Loading…
Cancel
Save