Browse Source

枚举封装

noToken
安虹睿 1 year ago
parent
commit
148a96aae2
  1. 4
      PC/InterFace.Dash/public/config.js
  2. 9
      PC/InterFace.Dash/src/App.vue
  3. 8
      PC/InterFace.Dash/src/api/wms-interface.js
  4. 40
      PC/InterFace.Dash/src/components/filterForDetailPage/index.vue
  5. 996
      PC/InterFace.Dash/src/components/umyTable/index copy.vue
  6. 381
      PC/InterFace.Dash/src/components/umyTable/index.vue
  7. 119
      PC/InterFace.Dash/src/mixins/TableMixins.js
  8. 18
      PC/InterFace.Dash/src/permission.js
  9. 2
      PC/InterFace.Dash/src/router/index.js
  10. 4
      PC/InterFace.Dash/src/store/getters.js
  11. 33
      PC/InterFace.Dash/src/store/modules/definition.js
  12. 12
      PC/InterFace.Dash/src/store/modules/permission.js
  13. 144
      PC/InterFace.Dash/src/utils/detailsPageColumns_api/index.js
  14. 138
      PC/InterFace.Dash/src/utils/detailsTableColumns_api/index.js
  15. 778
      PC/InterFace.Dash/src/utils/tableColumns_api/index.js
  16. 200
      PC/InterFace.Dash/src/utils/tabsDesTions_api/index.js
  17. 10
      PC/InterFace.Dash/src/views/login/index.vue
  18. 15
      PC/InterFace.Dash/src/views/menuList/AsnMstr.vue
  19. 4
      PC/InterFace.Dash/src/views/menuList/Bom.vue
  20. 4
      PC/InterFace.Dash/src/views/menuList/Cust.vue
  21. 4
      PC/InterFace.Dash/src/views/menuList/CustPart.vue
  22. 5
      PC/InterFace.Dash/src/views/menuList/ExportCustomUserSetting.vue
  23. 4
      PC/InterFace.Dash/src/views/menuList/IncomingData.vue
  24. 5
      PC/InterFace.Dash/src/views/menuList/IncomingDataHistory.vue
  25. 5
      PC/InterFace.Dash/src/views/menuList/Inventory.vue
  26. 5
      PC/InterFace.Dash/src/views/menuList/Loc.vue
  27. 5
      PC/InterFace.Dash/src/views/menuList/MesProductL7PartsNote.vue
  28. 4
      PC/InterFace.Dash/src/views/menuList/MessageReceive.vue
  29. 4
      PC/InterFace.Dash/src/views/menuList/OutgoingData.vue
  30. 4
      PC/InterFace.Dash/src/views/menuList/OutgoingDataHistory.vue
  31. 5
      PC/InterFace.Dash/src/views/menuList/Part.vue
  32. 9
      PC/InterFace.Dash/src/views/menuList/PoMstr.vue
  33. 5
      PC/InterFace.Dash/src/views/menuList/PrhHist.vue
  34. 5
      PC/InterFace.Dash/src/views/menuList/ProdLine.vue
  35. 9
      PC/InterFace.Dash/src/views/menuList/ReceiptMstr.vue
  36. 9
      PC/InterFace.Dash/src/views/menuList/ReturnMstr.vue
  37. 5
      PC/InterFace.Dash/src/views/menuList/Vend.vue
  38. 5
      PC/InterFace.Dash/src/views/menuList/VendPart.vue

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

@ -1,6 +1,6 @@
// dev_win
// 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://dev.ccwin-in.com:60068'
// window.SITE_CONFIG['base'] = 'http://192.168.0.180:60068'
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'

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

@ -17,7 +17,14 @@ localStorage.setItem('isSinglePage',window.SITE_CONFIG['isSinglePage'])
localStorage.setItem('userNameOrEmailAddress',window.SITE_CONFIG['userNameOrEmailAddress'])
localStorage.setItem('client_secret',window.SITE_CONFIG['client_secret'])
localStorage.setItem('menuHiddenConfig',window.SITE_CONFIG['menuHiddenConfig'])
//
const language_brow = (navigator.language || navigator.browserLanguage)
console.log(21,language_brow)
if(language_brow.indexOf('zh')){
localStorage.setItem('browserLanguage','zh-Hans')
}else{
localStorage.setItem('browserLanguage','en')
}
// localStorage.setItem('user',window.SITE_CONFIG['user'])
// localStorage.setItem('print',window.SITE_CONFIG['print'])
// localStorage.setItem('warehouseCode',window.SITE_CONFIG['warehouseCode'])

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

@ -8,7 +8,10 @@ export function getInterfaceBoard() {
return request({
method:'get',
url: base_api + colum_url,
params:{CultureName:'zh-Hans'}
params:{
CultureName:localStorage.getItem('browserLanguage'),
OnlyDynamics:false
}
// params:{IncludeLocalizationResources:true}
})
}
@ -33,8 +36,9 @@ export async function getApiEnumList() {
// 获取dto列数据
export async function getDtoColumnType(api) {
if(!api)return
return request({
method:'post',
url: base_api + '/api/'+ api +'/base/get-dto-column-type',
url: base_api + '/api/'+ api +'/get-dto-column-type',
})
}

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

@ -127,6 +127,7 @@ import { filterSelectMixins } from '@/mixins/filter-Select'
// import { TestSchoolDetailList,TestSchoolDetailList_delete } from "@/api/wms-interface"
import * as interfaceApi from "@/api/wms-interface"
import {getListDesById,getPageListForDetail} from "@/api/wms-api"
import { getDtoColumnType } from "@/api/wms-interface"
import * as allUrlOption from '@/utils/baseData/urlOption'
export default {
name: 'filterForDetailPage',
@ -174,10 +175,10 @@ props: {
default: null
},
// -
listColumns:{
type: Array,
default: null
},
// listColumns:{
// type: Array,
// default: null
// },
// -
parentColumns:{
type: Array,
@ -215,6 +216,7 @@ data () {
showParentTitle:null,//-title
showParentTableData:null,//-
showParentLoading:false,//-
listColumns:[],//
}
},
mounted(){
@ -251,22 +253,32 @@ methods: {
paging(callback){
this.Loading.tableLoading = true
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
getPageListForDetail(this.PageListParams,this.URLOption_detailList)
// interfaceApi[this.URLOption_detailList](this.PageListParams)
.then(result => {
Promise.all([
getDtoColumnType(this.URLOption_detailList),
getPageListForDetail(this.PageListParams,this.URLOption_detailList)
]).then((allData) => {
//
if(allData[0]){
let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/'))
let _Columns = this.initApiColumnsForDto(allData[0],allData[1].items[0],_parentName)
this.listColumns = this.initTableColumns(_Columns)
}
//
if(allData[1]){
this.Loading.tableLoading = false
this.tableData = []
result.items.forEach(item=>{
allData[1].items.forEach(item=>{
item.deleteTipVisible = false
this.tableData.push(item)
})
this.totalCount = result.totalCount
this.pagingCallback(callback)
})
.catch(err => {
this.Loading.tableLoading = false
this.$message.error("数据获取失败")
})
this.totalCount = allData[1].totalCount
}
this.pagingCallback(callback)
}).catch(()=>{
this.Loading.tableLoading = false
this.$message.error("数据获取失败")
})
},
//
showParentHandleForDetail(data){

996
PC/InterFace.Dash/src/components/umyTable/index copy.vue

@ -0,0 +1,996 @@
<template>
<!-- 解决el-table 数据量过大导致卡顿现象 -->
<u-table
:id="_uid"
:key="isUpdate"
v-loading="tableLoading"
element-loading-text="拼命加载中..."
@sort-change="sortChange"
@selection-change="handleSelectionChange"
ref="multipleTable"
:data="tableData"
:row-key="rowKey"
:border="tableBorder"
style="width: 100%"
:cell-style="cellStyle"
use-virtual
:row-height="50"
:height="uTableHeight"
header-row-class-name="uTableHeader"
>
<!-- :tree-props="treeProps" height 不能共存 此组件暂不支持tree的格式-->
<!-- 操作列 左侧-->
<u-table-column
v-if="buttonOperationList_left"
:fixed="'left'"
width="auto"
min-width="120px"
:align="'center'"
:header-align="'center'"
>
<template #header>
<span>操作</span>
</template>
<template slot-scope="scope">
<el-button
v-for="(itemButton, indexButton) in buttonOperationList_left"
:key="indexButton"
type="text"
size="mini"
@click="buttonOperationClick_left(scope.row, itemButton, indexButton)"
>{{itemButton.label}}</el-button>
</template>
</u-table-column>
<!-- 操作列 右侧-->
<u-table-column
v-if="buttonOperationList_right"
:fixed="'right'"
width="auto"
min-width="120px"
:align="'center'"
:header-align="'center'"
>
<template #header>
<span>操作</span>
</template>
<template slot-scope="scope">
<el-button
v-for="(itemButton, indexButton) in buttonOperationList_right(scope.row)"
v-show="!itemButton.hide"
:key="indexButton"
type="text"
size="mini"
@click="buttonOperationClick_right(scope.row, itemButton, indexButton)"
>{{itemButton.label}}</el-button>
</template>
</u-table-column>
<u-table-column v-if="selectionTable" fixed="left" type="selection" :reserve-selection="true" />
<u-table-column v-if="isShowIndex" type="index" fixed="left" label="序号" width="50" />
<template v-for="(item, index) in TableSize">
<u-table-column
min-width="150"
:key="index"
:prop="item.showProp ? item.prop + '.' + item.showProp : item.prop"
:sortable="item.sortable"
:fixed="setItemFixed(item,index)"
:show-overflow-tooltip="showOverflowTooltip"
:width="item.width"
:align="item.tableAlign"
:header-align="item.tableHeaderAlign"
v-if="item.istrue==null?true:item.istrue"
>
<template #header>
<span>{{ item.label }}</span>
<i style="color: #f56c6c" v-if="item.rules && requiredRules">*</i>
</template>
<template slot-scope="scope">
<el-form>
<el-form-item
v-if="item.type == 'input'"
:onkeyup="itemOnKeyUp(item,searchData[item.prop])"
:prop="'details.' + scope.$index + '.' + item.prop"
:rules="item.rules"
>
<el-input
:placeholder="'请输入' + item.label"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
v-model="scope.row[item.prop]"
@blur="
inputPlaceholder($event, item, 'blur',scope.row)
"
@focus="inputPlaceholder($event, item, 'focus')"
clearable
>
</el-input>
</el-form-item>
<!-- 输入框(数字) onkeyup: 正则表达式用于前端输入校验工作-->
<el-form-item
v-if="item.type == 'inputNumber'"
:prop="'details.' + scope.$index + '.' + item.prop"
:rules="item.rules"
>
<el-input
v-model="searchData[item.prop]"
:maxlength="item.maxlength"
:onkeyup="typeNumberOnkeyup(item,searchData[item.prop])"
clearable
:disabled="Boolean(item.disabled)"
:placeholder="'请输入' + item.label"
:prefix-icon="item.icon"
:show-password="item.showPassword"
@change="changeInput(item.prop,$event)"
@clear="clearInput(item.prop,$event)"
@blur="
inputPlaceholder($event, item, 'blur',searchData)
"
@focus="inputPlaceholder($event, item, 'focus')"
></el-input>
</el-form-item>
<el-form-item
v-if="item.type == 'objectInput'"
:prop="
'details.' + scope.$index + '.' + item.prop + '.' + item.showProp
"
:rules="item.rules"
>
<el-input
:placeholder="'请输入' + item.label"
v-model="scope.row[item.prop][item.showProp]"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
@blur="
inputPlaceholder($event, item, 'blur', scope.row)
"
@focus="inputPlaceholder($event, item, 'focus')"
clearable
>
</el-input>
</el-form-item>
<!-- 下拉框 -->
<el-select
v-if="item.type === 'select'"
v-model="scope.row[item.prop]"
:loading="selectLoading"
:clearable="item.clearable"
:multiple="item.multiple"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
:filterable="item.filterable"
:allow-create="item.allowCreate"
style="width: 100%"
:placeholder="'请输入' + item.label"
>
<el-option
v-for="(op, index) in selectOptions(item.options) ||
searchOptions['options']"
:label="op[item.optionsLabel] || op.label"
:value="op[item.optionsValue] || op.value"
:key="index"
></el-option>
</el-select>
<!--对象下拉框 -->
<el-select
v-if="item.type === 'objectSelect'"
v-model="scope.row[item.prop][item.showProp]"
:loading="selectLoading"
:clearable="item.clearable"
:multiple="item.multiple"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
:filterable="item.filterable"
:allow-create="item.allowCreate"
style="width: 100%"
:placeholder="'请输入' + item.label"
>
<el-option
v-for="(op, index) in selectOptions(item.options) ||
searchOptions['options']"
:label="op[item.optionsLabel] || op.label"
:value="op[item.optionsValue] || op.value"
:key="index"
></el-option>
</el-select>
<!--查询下拉-->
<el-form-item
v-if="item.type === 'autocomplete'"
:prop="'details.' + scope.$index + '.' + item.prop"
:rules="item.rules"
>
<el-autocomplete
class="inline-input"
style="width: 100%"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
v-model="scope.row[item.prop]"
:fetch-suggestions="
(queryString, cb) => {
querySearch(queryString, cb, item, scope);
}
"
:placeholder="'请输入' + item.label"
@select="handleSelect($event, item, scope)"
>
<!-- <template slot-scope="{item}">
<div class="name" style="color:green">{{item.value = item.name}}</div>
<div class="name" >{{item.address = item.code}}</div>
</template> -->
<el-button
v-if="item.click"
slot="append"
icon="el-icon-search"
@click="item.click({ scope, item })"
style="color: #1890ff; background-color: #ffffff"
></el-button>
</el-autocomplete>
</el-form-item>
<!-- 对象查询下拉 -->
<el-form-item
v-if="item.type === 'objectAutocomplete'"
:prop="
'details.' + scope.$index + '.' + item.prop + '.' + item.showProp
"
:rules="item.rules"
>
<el-autocomplete
class="inline-input"
style="width: 100%"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
v-model="scope.row[item.prop][item.showProp]"
:fetch-suggestions="
(queryString, cb) => {
querySearch(queryString, cb, item, scope);
}
"
:placeholder="'请输入' + item.label"
@select="handleSelect($event, item, scope)"
>
<!-- <template slot-scope="{item}">
<div class="name" style="color:green">{{item.value = item.name}}</div>
<div class="name" >{{item.address = item.code}}</div>
</template> -->
<el-button
v-if="item.click"
slot="append"
icon="el-icon-search"
@click="item.click({ scope, item })"
style="color: #1890ff; background-color: #ffffff"
></el-button>
</el-autocomplete>
</el-form-item>
<!-- <el-form-item v-if="item.type == 'inputEnum'" :prop="item.prop">
<el-input
placeholder="请输入内容"
v-model="scope.row[item.prop]"
clearable
>
</el-input>
</el-form-item> -->
<el-form-item
v-if="item.type == 'dateTimeInput'"
:prop="'details.' + scope.$index + '.' + item.prop"
:rules="item.rules"
>
<el-date-picker
type="datetime"
v-model="scope.row[item.prop]"
placeholder="选择日期"
style="width: 100%"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
value-format="yyyy-MM-ddTHH:mm:ss.sssZ"
format="yyyy-MM-dd"
></el-date-picker>
</el-form-item>
<el-form-item
v-if="item.type == 'objectDateTimeInput'"
:prop="'details.' + scope.$index + '.' + item.prop + '.' + item.showProp"
:rules="item.rules"
>
<el-date-picker
type="datetime"
v-model="scope.row[item.prop][item.showProp]"
placeholder="选择日期"
style="width: 100%"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
value-format="yyyy-MM-ddTHH:mm:ss.sssZ"
format="yyyy-MM-dd"
></el-date-picker>
</el-form-item>
<!-- table表添加按钮事件 v-show="scope.row.number == 'PRJ202210060001'" -->
<!-- <el-form-item v-if="item.type == 'button'" > -->
<div v-if="item.type == 'button'">
<el-button
v-show="scope.row[item.prop]==undefined?true:false"
type="primary"
size="mini"
@click="buttonClick(scope.row, scope.$index, item.label)"
>{{item.label}}</el-button>
</div>
<!-- </el-form-item> -->
<span v-if="item.type == 'object'">
{{ scope.row[item.prop] ? scope.row[item.prop][item.showProp] : "" }}
</span>
<span v-if="item.type == 'objectDateTime'">
{{ scope.row[item.prop]? scope.row[item.prop][item.showProp]: "" | formatDate }}
</span>
<span v-if="item.type == 'dateTime'">
{{ scope.row[item.prop] | formatDate }}
</span>
<!-- 调用主表信息 -->
<span v-else-if="item.type && item.type == 'outerMainFilter'">
{{ propsData[item.showProp] }}
</span>
<el-tag
v-if="item.type == 'tagFilter'"
:effect="'dark'"
size="medium"
class="tagFilterTypeDarkItem"
:color="scope.row[item.prop] | trigger(item.filters, 'background')"
>
{{ scope.row[item.prop] | trigger(item.filters, "label") }}
</el-tag>
<span
v-if="item.type == 'filter'"
:style="scope.row[item.prop]"
>
{{ scope.row[item.prop] | trigger(item.filters, "label", item.dictType) }}
</span>
<span
v-if="item.type == 'objectFilter'"
:style="scope.row[item.prop][item.showProp]"
>
{{ scope.row[item.prop][item.showProp] | trigger(item.filters, "label") }}
</span>
<span v-else-if="item.type == 'filterList'" >
{{ scope.row[item.prop] | triggerList(item.filters, "label") }}
</span>
<!-- 可点出详情 -->
<span
v-if="item.type == 'showDetail'"
@click="showDetailInfo(scope.row[item.prop])"
style="cursor: pointer;"
:title="'点击查看详情'"
:class="{ showDetailHover: item.type == 'showDetail' }"
>{{ scope.row[item.prop] ? scope.row[item.prop] + "" : scope.row[item.prop] }}</span>
<!-- 可点出json转换的table弹窗 -->
<span
v-if="item.type == 'showJsonTable'"
@click="showJsonTable(scope.row[item.prop])"
style="cursor: pointer;"
:title="'点击查看详情'"
:class="{ showDetailHover: item.type == 'showJsonTable' }"
>{{ scope.row[item.prop] ? scope.row[item.prop] + "" : scope.row[item.prop] }}</span>
<span
v-if="item.type == 'name' || !item.type"
@click="item.type == 'name' && inlineDialog(scope.row)"
:class="{ spamHover: item.type == 'name' }"
>{{ scope.row[item.prop] ? scope.row[item.prop] + "" : scope.row[item.prop] }}</span>
</el-form>
</template>
</u-table-column>
</template>
<slot></slot>
<!-- 点开查看全部弹窗 -->
<el-dialog
:visible.sync="showDetailDialog"
width="35%"
:modal-append-to-body="false"
:append-to-body="true"
:show-close="true"
:title="'内容详情'"
:close-on-click-modal="true"
:close-on-press-escape="true"
>
{{ showDetailData ? showDetailData + "" : showDetailData }}
</el-dialog>
<!-- json弹窗 -->
<el-dialog
id="copyJsonTextarea_dialog_ref"
:visible.sync="showJsonCopy"
:modal-append-to-body="false"
:append-to-body="true"
:show-close="true"
:close-on-click-modal="true"
:close-on-press-escape="true"
:title="'JSON详情'"
>
<el-input
ref="copyJsonTextarea_ref"
type="textarea"
readonly
autosize
placeholder="请输入内容"
v-model="showJsonData_str">
</el-input>
</el-dialog>
<!-- 点开查看Json转换后table弹窗 -->
<el-dialog
:visible.sync="showJsonDialog"
:modal-append-to-body="false"
:append-to-body="true"
:show-close="true"
:close-on-click-modal="true"
:close-on-press-escape="true"
:title="'内容详情'"
>
<el-button
@click="copyJsonHandle()"
type="primary"
style="margin-bottom: 10px;float: right;"
>复制JSON</el-button>
<el-table
:data="showJsonData"
:border="true"
style="width: 100%">
<el-table-column
prop="name"
width="220"
label="属性">
</el-table-column>
<el-table-column
label="值"
>
<template slot-scope="scope">
<!-- DETAILS todo:DETAILS判断条件需要优化使用传参的方式 -->
<span v-if="(scope.row.name).toUpperCase() != 'DETAILS'">{{scope.row.value}}</span>
<el-table
v-else
height="300"
:data="scope.row.value"
:border="true"
style="width: 100%">
<el-table-column
prop="name"
label="子属性"
></el-table-column>
<el-table-column
label="子值"
prop="value"
></el-table-column>
</el-table>
</template>
</el-table-column>
</el-table>
</el-dialog>
</u-table>
</template>
<script>
import { formatTimeStrToStr } from "@/utils/formatTime";
import _ from "lodash";
import { getMatchRegConformValue } from "@/utils/index"
export default {
name: "currenTable",
filters: {
formatDate(time) {
if (time == null) {
return '-'
}
return formatTimeStrToStr(time)
},
},
props: {
//
buttonOperationList_left:{
type: Array,
default: null,
},
// ()
buttonOperationList_right:{
type: Function,
default: null,
},
//
showOverflowTooltip:{
type: Boolean,
default: false,
},
// tableborder
tableBorder: {
type: Boolean,
default: false,
},
// itemfixed
firstFixed: {
type: Boolean,
default: false,
},
propsData: {
type: Object,
default: () => {
return {};
},
},
tableData: {
type: Array,
default: () => {
return [];
},
},
tableLoading: {
type: Boolean,
default: false,
},
tableColumns: {
type: Array,
default: () => {
return [];
},
},
selectionTable: {
type: Boolean,
default: true,
},
requiredRules: {
type: Boolean,
default: true,
},
searchOptions: {
type: Object,
default: () => {
return {};
},
},
treeProps: {
type: Object,
default: () => {
return {};
}
},
// table key
isUpdate: {
type: Boolean,
default: () => {
return false
}
},
rowKey:{
type: String,
default: 'id',
},
isShowIndex: {
type: Boolean,
default: false,
},
cellStyle: {
type: Function,
default: () => {
return Function;
}
},
// app-main100%
setUTableHeight: {
type: Number,
default: () => {
return 280;
}
}
},
data() {
return {
dropCol: null,
selectLoading: false,
random: '',
uTableHeight:null,//
showDetailDialog:false,//
showDetailData:null,//
showJsonDialog:false,//Jsontable
showJsonData:null,//Json
showJsonData_str:null,//Json
showJsonCopy:false,//jsonDialog
};
},
computed: {
selectOptions() {
return (val) => {
if (val) {
let options = this.$staticOptions[val];
if (options) {
return options();
} else {
return [];
}
} else {
return false;
}
};
},
TableSize(){
return this.tableColumnsFilter()
}
},
watch: {
tableData: {
handler(val, oldVal) {
this.$nextTick(() => {
if (this.$refs.multipleTable && this.$refs.multipleTable.doLayout) {
this.$refs.multipleTable.doLayout()
}
});
},
immediate: false,
},
tableColumns: {
handler(val, oldVal) {
this.$nextTick(() => {
if (this.$refs.multipleTable && this.$refs.multipleTable.doLayout) {
this.$refs.multipleTable.doLayout()
}
});
},
immediate: false,
},
setUTableHeight(n,o){
this.setTableHeightHandle(n)
}
},
activated() {
this.$refs.multipleTable.doLayout();
},
mounted() {
this.random = this._uid
this.setTableHeightHandle()
},
methods: {
//
setTableHeightHandle(height){
let _height = height || this.setUTableHeight
let _app_height = document.getElementsByClassName('app-main')[0].clientHeight
this.uTableHeight = Number(_app_height) - Number(_height)
},
//
getTableHeight(){
return this.uTableHeight
},
setItemFixed(item,index){
let _re = false
if(this.firstFixed && item.fixed == 'left'){
if(index == 0)_re = true
}else{
_re = item.fixed
}
return _re
},
// type=input
itemOnKeyUp(item,value){
if(item.onkeyup){
return item.onkeyup()
}else{
if(value && item.validType){
this.searchData[item.prop]=getMatchRegConformValue(item.validType,value,item.pointNumberFixed)
}
}
},
// inputonkeyup
typeNumberOnkeyup(item,value){
if(value){
let _match = String(value).match(/\d+/)//
this.searchData[item.prop] = _match?_match[0]:_match
}
if(this.searchData[item.prop] > item.max){
this.searchData[item.prop] = item.max
}
if(this.searchData[item.prop] && this.searchData[item.prop] < item.min){
this.searchData[item.prop] = item.min
}
if(item.onkeyup)item.onkeyup()
},
tableColumnsFilter() {
let widthSize = _.cloneDeep(this.tableColumns);
for(let i = 0;i<widthSize.length;i++){
let item = widthSize[i]
if (item.type == "autocomplete" || item.type == "objectAutocomplete") {
item.width = item.width ? item.width: "300px";
} else if (item.type == "input" || item.type == "objectInput") {
if (item.width == '100%') {
item.width = ''
} else {
item.width = item.width ? item.width: "200px";
}
} else if (
item.type == "dateTimeInput" ||
item.type == "objectDateTimeInput"
) {
item.width =item.width ? item.width: "200px";
} else if (item.type == "objectDateTime" || item.type == "dateTime") {
item.width =item.width ? item.width: "200px";
} else if (item.width == '100%') {
item.width = ''
} else {
item.width =item.width ? item.width: 'auto';
}
}
return widthSize
},
inputPlaceholder(val, item, type, func) {
if (item.valueType) {
if (type == "focus") {
val.target.placeholder = "请输入" + item.label;
if (val.target.value != "") {
val.target.placeholder = val.target.value;
val.target.value = "";
}
} else if (type == "blur") {
// val.target.value = "0"
val.target.value = val.target.value.toString().replace(/[^\d.]/g,'')
if (val.target.value == "") {
// if (val.target.placeholder.indexOf('') == -1) {
val.target.value = val.target.placeholder;
// }
}
if(item.showProp){
func[item.prop][item.showProp]= Number(val.target.value)
}else{
func[item.prop]= Number(val.target.value)
}
}
}
},
//autocomplete
querySearch(queryString, cb, val, row) {
const { options, optionsValue, optionsLabel } = val;
let func = val.focus;
let data = {
scope: row,
};
if (queryString) {
data.filter = [
{
logic: "And",
column: optionsValue,
action: "Like",
value: queryString,
},
];
}
func(data).then((res) => {
var restaurants = this.searchOptions["options"];
let results = queryString
? restaurants.filter(
this.createFilter(queryString, optionsValue, optionsLabel)
)
: restaurants;
results.forEach((key) => {
if (typeof optionsValue === "string") {
key.value = key[optionsValue] + "----" + key[optionsLabel];
} else {
key.value =
key[optionsValue[0]][optionsValue[1]] +
"----" +
key[optionsLabel];
}
});
// callback
cb(results);
});
},
createFilter(queryString, optionsValue, optionsLabel) {
return (restaurant) => {
if (typeof optionsValue === "string") {
restaurant.value =
restaurant[optionsValue] + "----" + restaurant[optionsLabel];
} else {
restaurant.value =
restaurant[optionsValue[0]][optionsValue[1]] +
"----" +
restaurant[optionsLabel];
}
return (
restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) !=
-1
);
};
},
handleSelect(item, val, scope) {
let data = this.tableData[scope.$index];
if (!val.showProp) {
if (typeof val.optionsValue === "string") {
data[val.prop] = item[val.optionsValue];
} else {
data[val.prop] = item[val.optionsValue[0]][val.optionsValue[1]];
}
} else {
if (typeof val.optionsValue === "string") {
data[val.prop][val.showProp] = item[val.optionsValue];
} else {
data[val.prop][val.showProp] =
item[val.optionsValue[0]][val.optionsValue[1]];
}
}
this.$emit("push", item, scope, val);
},
getMaxLength(arr) {
return arr.reduce((acc, item) => {
if (item) {
const calcLen = this.getTexWidth(item);
if (acc < calcLen) {
acc = calcLen;
}
}
return acc;
}, 0);
},
getTexWidth(str) {
let width = 0;
const html = document.createElement("span");
html.innerText = str;
html.className = "getTextWidth";
document.querySelector("body").appendChild(html);
width = document.querySelector(".getTextWidth").offsetWidth;
document.querySelector(".getTextWidth").remove();
return width;
},
flexColumnWidth(label, prop) {
const arr = this.tableData.map((x) => {
if (typeof prop !== "string") {
return x[prop[0]][prop[1]];
} else {
return x[prop];
}
});
arr.push(label);
return this.getMaxLength(arr) + 60 + "px";
},
//
sortChange(data) {
this.$emit("sortChange", data);
},
//selection
handleSelectionChange(val) {
this.$emit("handleSelectionChange", val);
},
//nameemit
inlineDialog(row) {
this.$emit("inlineDialog", row);
},
//
showDetailInfo(row) {
this.showDetailDialog = true
this.showDetailData = row
this.$emit("showDetailInfo", row);
},
// jsontable
showJsonTable(row){
this.showJsonDialog = true
let _json = eval('(' + row + ')')
let _arr = []
let __initJson = (data) => {
let _init = []
for(let item in data){
_init.push({name:item,value:data[item]})
}
return _init
}
for(let item in _json){
//
if(!_json[item]){
_arr.push({name:item,value:_json[item]})
}else if(_json[item] && typeof _json[item] != 'object'){
_arr.push({name:item,value:_json[item] + ""})
}else{
//
if(Array.isArray(_json[item])){
// DETAILS todo:DETAILS使
let _value = (item).toUpperCase() == 'DETAILS' ? __initJson(_json[item][0]) : (_json[item]).join(",")
_arr.push({name:item,value:_value})
}
//
else{
let _obj_arr = __initJson(_json[item])
//
if(_obj_arr.length > 0){
_arr = [..._obj_arr]
}else{
//
_arr.push({name:item,value:""})
}
}
}
}
this.showJsonData = _arr
this.showJsonData_str = JSON.stringify(JSON.parse(JSON.stringify(this.showJsonData)), null, '\t')
this.$emit("showJsonTable", row);
},
// Json
copyJsonHandle(){
this.showJsonCopy = true
navigator.clipboard.writeText(this.showJsonData_str)
.then(() => {
this.$message.success('复制成功');
})
.catch(err => {
this.$message.error('复制失败');
});
this.$nextTick(()=>{
if(this.$refs.copyJsonTextarea_ref){
this.$refs.copyJsonTextarea_ref.focus()
this.$nextTick(()=>{
document.getElementById('copyJsonTextarea_dialog_ref').scrollTop = 0
})
}
})
},
//
buttonClick(row, index, label) {
this.$emit("buttonClick", row, index, label);
},
//table()
buttonOperationClick_left(row, item, index) {
this.$emit("buttonOperationClick_left", row, item, index);
},
//table()
buttonOperationClick_right(row, item, index) {
this.$emit("buttonOperationClick_right", row, item, index);
},
},
};
</script>
<style lang="scss" scoped>
::v-deep .uTableHeader th{
background: #f6f7fb !important;
border: none !important;
// &:last-child{
// background: unset !important;
// }
}
::v-deep .el-form-item__error{
position: relative;
}
::v-deep .el-table__fixed {
display: block-inline !important;
height: auto !important;
bottom: 13px !important;
.el-table__fixed-header-wrapper {
z-index: auto !important;
}
.el-table__fixed-body-wrapper {
z-index: auto !important;
}
}
::v-deep .el-table__fixed-right {
display: block-inline !important;
height: auto !important;
bottom: 13px !important;
.el-table__fixed-header-wrapper {
z-index: auto !important;
}
.el-table__fixed-body-wrapper {
z-index: auto !important;
}
}
::v-deep .el-table__fixed::before,
.el-table__fixed-right::before {
z-index: auto !important;
}
.spamHover {
color: #409eff;
cursor: pointer;
}
.spamHover:hover {
border-bottom: 1px solid #409eff;
color: blue;
}
.showDetailHover:hover{
color: #409eff;
}
span {
white-space: pre;
}
::v-deep .el-select {
.el-input__inner {
padding: 0 30px 0 15px;
}
.el-input__prefix {
width: 100% !important;
left: 0;
.el-button {
position: absolute;
top: 0;
right: 0;
}
}
}
.u-table::before {
height: 0px;
}
</style>

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

@ -84,285 +84,36 @@
<i style="color: #f56c6c" v-if="item.rules && requiredRules">*</i>
</template>
<template slot-scope="scope">
<el-form>
<el-form-item
v-if="item.type == 'input'"
:onkeyup="itemOnKeyUp(item,searchData[item.prop])"
:prop="'details.' + scope.$index + '.' + item.prop"
:rules="item.rules"
>
<el-input
:placeholder="'请输入' + item.label"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
v-model="scope.row[item.prop]"
@blur="
inputPlaceholder($event, item, 'blur',scope.row)
"
@focus="inputPlaceholder($event, item, 'focus')"
clearable
>
</el-input>
</el-form-item>
<!-- 输入框(数字) onkeyup: 正则表达式用于前端输入校验工作-->
<el-form-item
v-if="item.type == 'inputNumber'"
:prop="'details.' + scope.$index + '.' + item.prop"
:rules="item.rules"
>
<el-input
v-model="searchData[item.prop]"
:maxlength="item.maxlength"
:onkeyup="typeNumberOnkeyup(item,searchData[item.prop])"
clearable
:disabled="Boolean(item.disabled)"
:placeholder="'请输入' + item.label"
:prefix-icon="item.icon"
:show-password="item.showPassword"
@change="changeInput(item.prop,$event)"
@clear="clearInput(item.prop,$event)"
@blur="
inputPlaceholder($event, item, 'blur',searchData)
"
@focus="inputPlaceholder($event, item, 'focus')"
></el-input>
</el-form-item>
<el-form-item
v-if="item.type == 'objectInput'"
:prop="
'details.' + scope.$index + '.' + item.prop + '.' + item.showProp
"
:rules="item.rules"
>
<el-input
:placeholder="'请输入' + item.label"
v-model="scope.row[item.prop][item.showProp]"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
@blur="
inputPlaceholder($event, item, 'blur', scope.row)
"
@focus="inputPlaceholder($event, item, 'focus')"
clearable
>
</el-input>
</el-form-item>
<!-- 下拉框 -->
<el-select
v-if="item.type === 'select'"
v-model="scope.row[item.prop]"
:loading="selectLoading"
:clearable="item.clearable"
:multiple="item.multiple"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
:filterable="item.filterable"
:allow-create="item.allowCreate"
style="width: 100%"
:placeholder="'请输入' + item.label"
>
<el-option
v-for="(op, index) in selectOptions(item.options) ||
searchOptions['options']"
:label="op[item.optionsLabel] || op.label"
:value="op[item.optionsValue] || op.value"
:key="index"
></el-option>
</el-select>
<!--对象下拉框 -->
<el-select
v-if="item.type === 'objectSelect'"
v-model="scope.row[item.prop][item.showProp]"
:loading="selectLoading"
:clearable="item.clearable"
:multiple="item.multiple"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
:filterable="item.filterable"
:allow-create="item.allowCreate"
style="width: 100%"
:placeholder="'请输入' + item.label"
>
<el-option
v-for="(op, index) in selectOptions(item.options) ||
searchOptions['options']"
:label="op[item.optionsLabel] || op.label"
:value="op[item.optionsValue] || op.value"
:key="index"
></el-option>
</el-select>
<!--查询下拉-->
<el-form-item
v-if="item.type === 'autocomplete'"
:prop="'details.' + scope.$index + '.' + item.prop"
:rules="item.rules"
>
<el-autocomplete
class="inline-input"
style="width: 100%"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
v-model="scope.row[item.prop]"
:fetch-suggestions="
(queryString, cb) => {
querySearch(queryString, cb, item, scope);
}
"
:placeholder="'请输入' + item.label"
@select="handleSelect($event, item, scope)"
>
<!-- <template slot-scope="{item}">
<div class="name" style="color:green">{{item.value = item.name}}</div>
<div class="name" >{{item.address = item.code}}</div>
</template> -->
<el-button
v-if="item.click"
slot="append"
icon="el-icon-search"
@click="item.click({ scope, item })"
style="color: #1890ff; background-color: #ffffff"
></el-button>
</el-autocomplete>
</el-form-item>
<!-- 对象查询下拉 -->
<el-form-item
v-if="item.type === 'objectAutocomplete'"
:prop="
'details.' + scope.$index + '.' + item.prop + '.' + item.showProp
"
:rules="item.rules"
>
<el-autocomplete
class="inline-input"
style="width: 100%"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
v-model="scope.row[item.prop][item.showProp]"
:fetch-suggestions="
(queryString, cb) => {
querySearch(queryString, cb, item, scope);
}
"
:placeholder="'请输入' + item.label"
@select="handleSelect($event, item, scope)"
>
<!-- <template slot-scope="{item}">
<div class="name" style="color:green">{{item.value = item.name}}</div>
<div class="name" >{{item.address = item.code}}</div>
</template> -->
<el-button
v-if="item.click"
slot="append"
icon="el-icon-search"
@click="item.click({ scope, item })"
style="color: #1890ff; background-color: #ffffff"
></el-button>
</el-autocomplete>
</el-form-item>
<!-- <el-form-item v-if="item.type == 'inputEnum'" :prop="item.prop">
<el-input
placeholder="请输入内容"
v-model="scope.row[item.prop]"
clearable
>
</el-input>
</el-form-item> -->
<el-form-item
v-if="item.type == 'dateTimeInput'"
:prop="'details.' + scope.$index + '.' + item.prop"
:rules="item.rules"
>
<el-date-picker
type="datetime"
v-model="scope.row[item.prop]"
placeholder="选择日期"
style="width: 100%"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
value-format="yyyy-MM-ddTHH:mm:ss.sssZ"
format="yyyy-MM-dd"
></el-date-picker>
</el-form-item>
<el-form-item
v-if="item.type == 'objectDateTimeInput'"
:prop="'details.' + scope.$index + '.' + item.prop + '.' + item.showProp"
:rules="item.rules"
<!-- 时间转换 -->
<span v-if="item.apiBaseType == 'System.DateTime'"
@click="showDetailInfo(scope.row[item.prop],'time')"
style="cursor: pointer;"
:title="'点击查看详情'"
class="showDetailHover"
>
<el-date-picker
type="datetime"
v-model="scope.row[item.prop][item.showProp]"
placeholder="选择日期"
style="width: 100%"
:disabled="Boolean(item.disabled) || Boolean(scope.row['disabled'])"
value-format="yyyy-MM-ddTHH:mm:ss.sssZ"
format="yyyy-MM-dd"
></el-date-picker>
</el-form-item>
<!-- table表添加按钮事件 v-show="scope.row.number == 'PRJ202210060001'" -->
<!-- <el-form-item v-if="item.type == 'button'" > -->
<div v-if="item.type == 'button'">
<el-button
v-show="scope.row[item.prop]==undefined?true:false"
type="primary"
size="mini"
@click="buttonClick(scope.row, scope.$index, item.label)"
>{{item.label}}</el-button>
</div>
<!-- </el-form-item> -->
<span v-if="item.type == 'object'">
{{ scope.row[item.prop] ? scope.row[item.prop][item.showProp] : "" }}
</span>
<span v-if="item.type == 'objectDateTime'">
{{ scope.row[item.prop]? scope.row[item.prop][item.showProp]: "" | formatDate }}
</span>
<span v-if="item.type == 'dateTime'">
{{ scope.row[item.prop] | formatDate }}
</span>
<!-- 调用主表信息 -->
<span v-else-if="item.type && item.type == 'outerMainFilter'">
{{ propsData[item.showProp] }}
<!-- 枚举 -->
<span v-else-if="item.apiIsEnum">
{{ initApiEnumList(item,scope.row[item.prop]) }}
</span>
<el-tag
v-if="item.type == 'tagFilter'"
:effect="'dark'"
size="medium"
class="tagFilterTypeDarkItem"
:color="scope.row[item.prop] | trigger(item.filters, 'background')"
>
{{ scope.row[item.prop] | trigger(item.filters, "label") }}
</el-tag>
<span
v-if="item.type == 'filter'"
:style="scope.row[item.prop]"
>
{{ scope.row[item.prop] | trigger(item.filters, "label", item.dictType) }}
<!-- 布尔 -->
<span v-else-if="item.apiBaseType == 'System.Boolean'">
{{ scope.row[item.prop] ? '是' : '否' }}
</span>
<span
v-if="item.type == 'objectFilter'"
:style="scope.row[item.prop][item.showProp]"
>
{{ scope.row[item.prop][item.showProp] | trigger(item.filters, "label") }}
<!-- 数值 -->
<span v-else-if="initTypeList.indexOf(item.apiBaseType.toLowerCase()) >= 0">
{{ scope.row[item.prop] }}
</span>
<span v-else-if="item.type == 'filterList'" >
{{ scope.row[item.prop] | triggerList(item.filters, "label") }}
</span>
<!-- 可点出详情 -->
<span
v-if="item.type == 'showDetail'"
@click="showDetailInfo(scope.row[item.prop])"
style="cursor: pointer;"
<!-- 点击可出详情 | 点击可点出json 目前已知String|Guid-->
<span v-else
@click="showTypeHandle(initApiOtherType(scope.row[item.prop])[1],scope.row[item.prop])"
:style="initApiOtherType(scope.row[item.prop])[1] != 'show' ? 'cursor: pointer' : ''"
:title="'点击查看详情'"
:class="{ showDetailHover: item.type == 'showDetail' }"
>{{ scope.row[item.prop] ? scope.row[item.prop] + "" : scope.row[item.prop] }}</span>
<!-- 可点出json转换的table弹窗 -->
<span
v-if="item.type == 'showJsonTable'"
@click="showJsonTable(scope.row[item.prop])"
style="cursor: pointer;"
:title="'点击查看详情'"
:class="{ showDetailHover: item.type == 'showJsonTable' }"
>{{ scope.row[item.prop] ? scope.row[item.prop] + "" : scope.row[item.prop] }}</span>
<span
v-if="item.type == 'name' || !item.type"
@click="item.type == 'name' && inlineDialog(scope.row)"
:class="{ spamHover: item.type == 'name' }"
>{{ scope.row[item.prop] ? scope.row[item.prop] + "" : scope.row[item.prop] }}</span>
</el-form>
:class="{ showDetailHover: initApiOtherType(scope.row[item.prop])[1] != 'show' }"
>
{{ initApiOtherType(scope.row[item.prop])[0] }}
</span>
</template>
</u-table-column>
</template>
@ -577,6 +328,7 @@ export default {
showJsonData:null,//Json
showJsonData_str:null,//Json
showJsonCopy:false,//jsonDialog
initTypeList:['system.decimal','system.int64','system.int32','system.long']
};
},
computed: {
@ -843,14 +595,15 @@ export default {
this.$emit("inlineDialog", row);
},
//
showDetailInfo(row) {
showDetailInfo(row,type) {
this.showDetailDialog = true
this.showDetailData = row
this.$emit("showDetailInfo", row);
this.showDetailData = type == 'time' ? formatTimeStrToStr(row) : row
this.$emit("showDetailInfo", this.showDetailData);
},
// jsontable
showJsonTable(row){
this.showJsonDialog = true
console.log(606,_json)
let _json = eval('(' + row + ')')
let _arr = []
let __initJson = (data) => {
@ -886,28 +639,50 @@ export default {
}
}
}
console.log(666,this.showJsonData)
this.showJsonData = _arr
this.showJsonData_str = JSON.stringify(JSON.parse(JSON.stringify(this.showJsonData)), null, '\t')
this.$emit("showJsonTable", row);
},
// Json
copyJsonHandle(){
console.log(651,window.isSecureContext)
this.showJsonCopy = true
navigator.clipboard.writeText(this.showJsonData_str)
.then(() => {
this.$message.success('复制成功');
})
.catch(err => {
this.$message.error('复制失败');
});
this.$nextTick(()=>{
if(this.$refs.copyJsonTextarea_ref){
this.$refs.copyJsonTextarea_ref.focus()
if (navigator.clipboard && window.isSecureContext) {
navigator.clipboard.writeText(this.showJsonData_str)
.then(() => {
this.$message.success('复制成功');
})
.catch(err => {
this.$message.error('复制失败');
});
}else {
// text area
const textArea = document.createElement('textarea')
textArea.value = this.showJsonData_str
// 使text areaviewport
document.body.appendChild(textArea)
textArea.focus()
textArea.select()
return new Promise((resolve, reject) => {
//
document.execCommand('copy') ? resolve() : reject(new Error('出错了'))
textArea.remove()
}).then(() => {
this.$nextTick(()=>{
document.getElementById('copyJsonTextarea_dialog_ref').scrollTop = 0
if(this.$refs.copyJsonTextarea_ref){
this.$message.success('复制成功');
this.$refs.copyJsonTextarea_ref.focus()
document.getElementById('copyJsonTextarea_dialog_ref').scrollTop = 0
}
})
}
})
},() => {
this.$message.error('复制失败');
})
}
},
//
buttonClick(row, index, label) {
@ -921,6 +696,36 @@ export default {
buttonOperationClick_right(row, item, index) {
this.$emit("buttonOperationClick_right", row, item, index);
},
//
initApiEnumList(item,data){
let _enumListOp = this.$store.getters.enumList[item.apiBaseType]
let _item_enumList = {}
_enumListOp.enumValues.forEach((item,key)=>{
_item_enumList[item] = _enumListOp.enumNames[key]
})
return _item_enumList[data] || '未定义'
},
// | | json
initApiOtherType(data){
try {
let _json = JSON.parse(data)
//
if(typeof _json == 'number' && _json){
return [data,'show']
}else{
return [data,'json']
}
}
//
catch(err){
return [data,'detail']
}
},
//
showTypeHandle(type,row){
if(type == 'detail')this.showDetailInfo(row)
if(type == 'json')this.showJsonTable(row)
},
},
};
</script>

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

@ -48,6 +48,8 @@ export const tableMixins = {
URLOption_base:allUrlOption[this.$route.name].baseURL,
//主表-明细
URLOption_detail:allUrlOption[this.$route.name].detailURL,
//明细列表(主表明细找枚举转义使用)
URLOption_detailList:allUrlOption[this.$route.name].detailListURL,
// 主表-明细-筛选数据同步回显
detailSearchDataFE:null,
// 主表-操作列
@ -56,40 +58,54 @@ export const tableMixins = {
},
methods: {
// 获取通过api的表头数据,不可以在初始化处理,因为接口返回问题
initApiColumns(table,des,detailsTable,detailsPage){
// 赋值表头数据
// if(table && table[this.$route.name])this.apiColumns_Table = this.initTableColumns(table[this.$route.name])
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')
// initApiColumns(table,des,detailsTable,detailsPage){
// // 赋值表头数据
// if(table && table[this.$route.name])this.apiColumns_Table = this.initTableColumns(table[this.$route.name])
// 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 = []
if(_coloums && _coloums.length > 0){
let _data = _coloums[0].columnsTypes
_data.forEach(item=>{
let _item = {
label:initFromApiColumnsLable(titleName + item.z_ColumnName) || item.z_ColumnName,
prop:firstWordSizeChange(item.z_ColumnName),
apiType:item.z_ColumnType,
apiBaseType:item.z_ColumnBaseType,
apiIsEnum:item.isEnum
}
// 如果list接口存在数据 ,与list接口返回字段比较处理,list接口存在的话则追加
let _if = firstWordSizeChange(item.z_ColumnName) != 'details'
if(list && list.length > 0){
_if = firstWordSizeChange(item.z_ColumnName) in list && firstWordSizeChange(item.z_ColumnName) != 'details'
}
if(_if){
_Columns_Table.push(_item)
}
})
}
return _Columns_Table
},
//渲染数据
paging(callback) {
this.Loading.tableLoading = true;
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
Promise.all([
getDtoColumnType(this.$route.name),
getDtoColumnType(this.URLOption_base),
getPageList(this.PageListParams, this.URLOption_base)
]).then((allData) => {
// 表头处理
if(allData[0]){
let _coloums = allData[0].filter(item=>{
return item.dtoType == 'S'
})
let _Columns_Table = []
if(_coloums && _coloums.length > 0){
let _data = _coloums[0].columnsTypes
_data.forEach(item=>{
let _item = {
label:initFromApiColumnsLable(this.$route.name + item.z_ColumnName) || item.z_ColumnName,
prop:firstWordSizeChange(item.z_ColumnName),
apiType:item.z_ColumnType,
isEnum:item.isEnum
}
_Columns_Table.push(_item)
})
}
this.apiColumns_Table = this.initTableColumns(_Columns_Table)
let _Columns = this.initApiColumnsForDto(allData[0],allData[1].items[0] ,this.$route.name)
this.apiColumns_Table = this.initTableColumns(_Columns)
this.apiColumns_DesTions = _Columns
}
// 页面数据处理
if(allData[1]){
@ -97,17 +113,10 @@ export const tableMixins = {
this.totalCount = allData[1].totalCount
}
this.pagingCallback(callback)
console.log(111,this.apiColumns_Table,this.tableData)
}).catch(()=>{
}).catch((err)=>{
this.Loading.tableLoading = false
if(error_callback)error_callback()
})
// getPageList(this.PageListParams, this.URLOption_base).then(res => {
// this.tableData = res.items
// this.totalCount = res.totalCount
// this.pagingCallback(callback)
// }).catch(err => {
// this.Loading.tableLoading = false
// })
},
//接受排序信息并改变视图
sortChange(val) {
@ -147,24 +156,35 @@ export const tableMixins = {
this.Loading.DrawerLoading = true
this.displayDialog.detailsDialog = true;
let _url = this.URLOption_detail ? this.URLOption_detail : this.URLOption_base
getDetailed(val.id, _url).then(res => {
// 打印使用的全部数据存储
this.tableDataDetails = JSON.parse(JSON.stringify(res))
this.propsData = res
if (res.details) {
if(this.$refs.currenDrawer_Ref){
this.$refs.currenDrawer_Ref.getDetailList(res,()=>{
this.inlineDialogCallback()
},()=>{
this.Loading.DrawerLoading = false
})
Promise.all([
getDtoColumnType(this.URLOption_detailList),
getDetailed(val.id, _url)
]).then((allData) => {
// 表头处理
if(allData[0]){
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(allData[0],allData[1].details[0],_parentName))
}
// 页面数据处理
if(allData[1]){
let res = allData[1]
// 打印使用的全部数据存储
this.tableDataDetails = JSON.parse(JSON.stringify(res))
this.propsData = res
if (res.details) {
if(this.$refs.currenDrawer_Ref){
this.$refs.currenDrawer_Ref.getDetailList(res,()=>{
this.inlineDialogCallback()
},()=>{
this.Loading.DrawerLoading = false
})
}
}else{
this.Loading.DrawerLoading = false
}
// 前端分页处理
// this.propsData = this.detailListPageFromFE(res)
}else{
this.Loading.DrawerLoading = false
}
}).catch(err => {
}).catch(()=>{
this.Loading.DrawerLoading = false
})
},
@ -277,7 +297,6 @@ export const tableMixins = {
// if( _item.name == 'search' || _item.name == 'moreList-search'){
// let _searchObj = {}
// let searchData = options.data_moreList.filters;
// console.log(299,searchData)
// searchData.forEach(item=>{
// _searchObj[item.column] = item.value
// })

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

@ -6,7 +6,6 @@ import 'nprogress/nprogress.css' // progress bar style
import { getToken } from '@/utils/auth' // get token from cookie
import getPageTitle from '@/utils/get-page-title'
import { asyncRoutes } from '@/router'
import { getInterfaceBoard } from "@/api/wms-interface"
import { login,getUsersByUserName } from "@/api/wms-auth"
NProgress.configure({
@ -19,6 +18,16 @@ router.beforeEach(async (to, from, next) => {
// set page title
document.title = getPageTitle()
// 获取枚举数据
if(!store.getters.enumList || store.getters.enumList.length <= 0){
await store.dispatch('definition/getEnumList')
}
// // 获取表头转义
// if(!store.getters.columZHList || store.getters.columZHList.length <= 0){
// await store.dispatch('definition/getColumZHList')
// }
// 判断是否自动登录
let isAutoLogin = JSON.parse(localStorage.getItem('isAutoLogin'))
const interfaceBoardColumnsNames = localStorage.getItem("interfaceBoardColumnsNames")
@ -52,11 +61,12 @@ router.beforeEach(async (to, from, next) => {
})
}
}else{
console.log('没有store.getters.currentUserInfo',store.getters.currentUserInfo)
// console.log('没有store.getters.currentUserInfo',store.getters.currentUserInfo)
if(!interfaceBoardColumnsNames){
console.log('没有interfaceBoardColumnsNames',interfaceBoardColumnsNames)
const accessRoutes = await store.dispatch('permission/getApiColumnsNames')
router.addRoutes(accessRoutes)
await store.dispatch('definition/getColumZHList')
// const accessRoutes = await store.dispatch('permission/getApiColumnsNames')
// router.addRoutes(accessRoutes)
next({
...to,
query:{

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

@ -88,7 +88,7 @@ export let constantRoutes = [
name: 'Dashboard',
meta: {
keepAlive : true,
title: '系统首页',
title: localStorage.getItem('browserLanguage') == 'zh-Hans' ? '系统首页' : 'Dashboard',
icon: '系统首页',
outerFirst:true
// affix: true

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

@ -13,6 +13,8 @@ const getters = {
currentUserInfo: state => state.user.userInfo,
permission_routes: state => state.permission.routes,
errorLogs: state => state.errorLog.logs,
dictionaries: state => state.dictionaries.dict
dictionaries: state => state.dictionaries.dict,
enumList: state => state.definition.enumList,
columZHList: state => state.definition.enumList,
}
export default getters

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

@ -1,16 +1,39 @@
import { getInterfaceBoard,getApiEnumList } from "@/api/wms-interface"
const state = {
enumList: []
enumList: [],//枚举
columZHList:null,//表头转义
}
const mutations = {
GET_ENUM_LIST: (state, log) => {
state.logs.push(log)
GET_ENUM_LIST: (state, data) => {
state.enumList=data
},
GET_COLUMZH_LIST: (state, data) => {
state.columZHList=data
},
}
const actions = {
getEnumList({ commit }, log) {
commit('GET_ENUM_LIST', log)
// 获取枚举
getEnumList({ commit }) {
return new Promise(resolve => {
getApiEnumList().then(res=>{
commit('GET_ENUM_LIST', res.types)
resolve(res)
})
})
},
// 获取表头转义
getColumZHList({ commit }) {
return new Promise(resolve => {
getInterfaceBoard().then(res=>{
let _zh = res.resources[localStorage.getItem('columnsApiNamesZh')].texts;
localStorage.setItem("interfaceBoardColumnsNames",JSON.stringify(_zh))
commit('GET_COLUMZH_LIST', _zh)
resolve(res)
})
})
},
}

12
PC/InterFace.Dash/src/store/modules/permission.js

@ -140,14 +140,14 @@ export function generaMenu(routes, data, first) {
}
// todo:接口返回的层级菜单,与查重后最终显示的菜单数组做查重及组合处理
export function initTreeMenusHandle(tree, list,zh,first) {
export function initTreeMenusHandle(tree, list,first) {
let _res = []
tree.forEach(item=>{
if(list.indexOf(item.name) >= 0){
item.title = zh[item.name] || item.name
item.title = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames"))[item.name] || item.name
if(first)item.component = '@/layout'
if (item.children && item.children.length > 0) {
item.children = initTreeMenusHandle(item.children,list,zh)
item.children = initTreeMenusHandle(item.children,list)
}
_res.push(item)
}
@ -168,8 +168,6 @@ const actions = {
// resolve(accessedRoutes)
getDefinitionMenu(true).then(res => {
let _allConfig = res.auth.grantedPolicies;//所有配置
let _zh = res.localization.values[localStorage.getItem('columnsApiNamesZh')];
localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(_zh));
let _menuList = []//接口获取所有的菜单
for(let item in _allConfig){
let point_number = item.split('.').length - 1
@ -235,13 +233,13 @@ const actions = {
let _initTreeMenus = []
if(_treeMenusAll && _treeMenusAll.length > 0){
_initTreeMenus = initTreeMenusHandle(_treeMenusAll,_showMenus,_zh,true)
_initTreeMenus = initTreeMenusHandle(_treeMenusAll,_showMenus,true)
}else{
let _data = []
for(let i in _showMenus){
_data.push({name:_showMenus[i]})
}
_initTreeMenus = initTreeMenusHandle(_data,_showMenus,_zh,true)
_initTreeMenus = initTreeMenusHandle(_data,_showMenus,true)
}
// 最后查重+层级查重后的菜单
let _initEndMenus = generaMenu(asyncRoutes, _initTreeMenus,true)

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

@ -4,82 +4,76 @@
import { initFromApiColumnsLable } from '@/utils/index'
// AsnMstr
export const AsnMstr = [
{ label: initFromApiColumnsLable('AsnDetAsnMstrId'), prop: "asnMstrId",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetAsnNbr'), prop: "asnNbr" ,type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetEntireBarCode'), prop: "entireBarCode",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetLabelCode'), prop: "labelCode",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetLocUm'), prop: "locUm",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetLot'), prop: "lot" ,type:'showDetail'},
{ label: initFromApiColumnsLable('AsnDetPalletLabelCode'), prop: "palletLabelCode",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetPartCode'), prop: "partCode",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetPartType'), prop: "partType",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetPoLine'), prop: "poLine",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetPoNbr'), prop: "poNbr",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetPoUm'), prop: "poUm",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetProductionDate'), prop: "productionDate",type:'dateTime' },
{ label: initFromApiColumnsLable('AsnDetQty'), prop: "qty" },
{ label: initFromApiColumnsLable('AsnDetRemark'), prop: "remark",type:'showDetail' ,type:'showDetail'},
{ label: initFromApiColumnsLable('AsnDetStatus'), prop: "status" },
{ label: initFromApiColumnsLable('AsnDetStdPackQty'), prop: "stdPackQty" ,type:'showDetail'},
{ label: initFromApiColumnsLable('AsnDetSupplierlot'), prop: "supplierlot",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetUmConv'), prop: "umConv",type:'showDetail' },
{ label: initFromApiColumnsLable('AsnDetWareClass'), prop: "wareClass" ,type:'showDetail'},
{ label: initFromApiColumnsLable('AsnDetWareCode'), prop: "wareCode" ,type:'showDetail'},
]
// export const AsnMstr = [
// { label: initFromApiColumnsLable('AsnDetAsnMstrId'), prop: "asnMstrId",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetAsnNbr'), prop: "asnNbr" ,type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetEntireBarCode'), prop: "entireBarCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLabelCode'), prop: "labelCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLocUm'), prop: "locUm",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetLot'), prop: "lot" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetPalletLabelCode'), prop: "palletLabelCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPartType'), prop: "partType",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoLine'), prop: "poLine",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoNbr'), prop: "poNbr",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetPoUm'), prop: "poUm",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('AsnDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('AsnDetRemark'), prop: "remark",type:'showDetail' ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetStatus'), prop: "status" },
// { label: initFromApiColumnsLable('AsnDetStdPackQty'), prop: "stdPackQty" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetSupplierlot'), prop: "supplierlot",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetUmConv'), prop: "umConv",type:'showDetail' },
// { label: initFromApiColumnsLable('AsnDetWareClass'), prop: "wareClass" ,type:'showDetail'},
// { label: initFromApiColumnsLable('AsnDetWareCode'), prop: "wareCode" ,type:'showDetail'},
// ]
// PoMstr
export const PoMstr = [
{ label: initFromApiColumnsLable('PoDetConsignment'), prop: "consignment",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetOrderQty'), prop: "orderQty" },
{ label: initFromApiColumnsLable('PoDetPartCode'), prop: "partCode",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetPoLine'), prop: "poLine",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetPoNbr'), prop: "poNbr",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetRcQty'), prop: "rcQty" },
{ label: initFromApiColumnsLable('PoDetRemark'), prop: "remark",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetStatus'), prop: "status",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetStdPackQty'), prop: "stdPackQty" },
{ label: initFromApiColumnsLable('PoDetStdPackUm'), prop: "stdPackUm",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetUm'), prop: "um",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetUmConv'), prop: "umConv",type:'showDetail' },
{ label: initFromApiColumnsLable('PoDetVendPackQty'), prop: "vendPackQty" },
{ label: initFromApiColumnsLable('PoDetVendPackUm'), prop: "vendPackUm" ,type:'showDetail'},
]
// export const PoMstr = [
// { label: initFromApiColumnsLable('PoDetConsignment'), prop: "consignment",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetOrderQty'), prop: "orderQty" },
// { label: initFromApiColumnsLable('PoDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetPoLine'), prop: "poLine",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetPoNbr'), prop: "poNbr",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetRcQty'), prop: "rcQty" },
// { label: initFromApiColumnsLable('PoDetRemark'), prop: "remark",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetStdPackQty'), prop: "stdPackQty" },
// { label: initFromApiColumnsLable('PoDetStdPackUm'), prop: "stdPackUm",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetUmConv'), prop: "umConv",type:'showDetail' },
// { label: initFromApiColumnsLable('PoDetVendPackQty'), prop: "vendPackQty" },
// { label: initFromApiColumnsLable('PoDetVendPackUm'), prop: "vendPackUm" ,type:'showDetail'},
// ]
// ReceiptMstr
export const ReceiptMstr = [
{ label: initFromApiColumnsLable('ReceiptDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true},
{ label: initFromApiColumnsLable('ReceiptDetLoc'), prop: "loc" ,type:'showDetail' },
{ label: initFromApiColumnsLable('ReceiptDetLot'), prop: "lot",type:'showDetail' },
{ label: initFromApiColumnsLable('ReceiptDetPackingCode'), prop: "packingCode",type:'showDetail' },
{ label: initFromApiColumnsLable('ReceiptDetPartCode'), prop: "partCode",type:'showDetail' },
{ label: initFromApiColumnsLable('ReceiptDetPoLine'), prop: "poLine" ,type:'showDetail'},
{ label: initFromApiColumnsLable('ReceiptDetProductionDate'), prop: "productionDate",type:'dateTime' },
{ label: initFromApiColumnsLable('ReceiptDetQty'), prop: "qty" },
{ label: initFromApiColumnsLable('ReceiptDetRemark'), prop: "remark" ,type:'showDetail' },
{ label: initFromApiColumnsLable('ReceiptDetStatus'), prop: "status",type:'showDetail' },
{ label: initFromApiColumnsLable('ReceiptDetUm'), prop: "um",type:'showDetail' },
{ label: initFromApiColumnsLable('ReceiptDetVendorLot'), prop: "vendorLot",type:'showDetail' },
]
// // ReceiptMstr
// export const ReceiptMstr = [
// { label: initFromApiColumnsLable('ReceiptDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true},
// { label: initFromApiColumnsLable('ReceiptDetLoc'), prop: "loc" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetLot'), prop: "lot",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPackingCode'), prop: "packingCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetPoLine'), prop: "poLine" ,type:'showDetail'},
// { label: initFromApiColumnsLable('ReceiptDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('ReceiptDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('ReceiptDetRemark'), prop: "remark" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('ReceiptDetVendorLot'), prop: "vendorLot",type:'showDetail' },
// ]
// ReturnMstr
export const ReturnMstr = [
{ label: initFromApiColumnsLable('ReturnDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true},
{ label: initFromApiColumnsLable('ReturnDetLoc'), prop: "loc" ,type:'showDetail' },
{ label: initFromApiColumnsLable('ReturnDetLot'), prop: "lot",type:'showDetail' },
{ label: initFromApiColumnsLable('ReturnDetPackingCode'), prop: "packingCode",type:'showDetail' },
{ label: initFromApiColumnsLable('ReturnDetPartCode'), prop: "partCode",type:'showDetail' },
{ label: initFromApiColumnsLable('ReturnDetPoLine'), prop: "poLine" ,type:'showDetail'},
{ label: initFromApiColumnsLable('ReturnDetProductionDate'), prop: "productionDate",type:'dateTime' },
{ label: initFromApiColumnsLable('ReturnDetQty'), prop: "qty" },
{ label: initFromApiColumnsLable('ReturnDetRemark'), prop: "remark" ,type:'showDetail' },
{ label: initFromApiColumnsLable('ReturnDetStatus'), prop: "status",type:'showDetail' },
{ label: initFromApiColumnsLable('ReturnDetUm'), prop: "um",type:'showDetail' },
{ label: initFromApiColumnsLable('ReturnDetVendorLot'), prop: "vendorLot",type:'showDetail' },
]
// 测试数据
export const TestSchool = [
{ label: initFromApiColumnsLable('TestStudentDetailStudentName'), prop: "studentName" },
{ label: initFromApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" },
]
// // ReturnMstr
// export const ReturnMstr = [
// { label: initFromApiColumnsLable('ReturnDetContainerCode'), prop: "containerCode",type:'showDetail' ,showProp:true},
// { label: initFromApiColumnsLable('ReturnDetLoc'), prop: "loc" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetLot'), prop: "lot",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPackingCode'), prop: "packingCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPartCode'), prop: "partCode",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetPoLine'), prop: "poLine" ,type:'showDetail'},
// { label: initFromApiColumnsLable('ReturnDetProductionDate'), prop: "productionDate",type:'dateTime' },
// { label: initFromApiColumnsLable('ReturnDetQty'), prop: "qty" },
// { label: initFromApiColumnsLable('ReturnDetRemark'), prop: "remark" ,type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetStatus'), prop: "status",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetUm'), prop: "um",type:'showDetail' },
// { label: initFromApiColumnsLable('ReturnDetVendorLot'), prop: "vendorLot",type:'showDetail' },
// ]

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

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

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

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

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

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

10
PC/InterFace.Dash/src/views/login/index.vue

@ -70,7 +70,6 @@
</div>
</template>
<script>
import { getInterfaceBoard } from "@/api/wms-interface"
import { login,getUsersByUserName } from "@/api/wms-auth"
export default {
name: 'Login',
@ -191,15 +190,6 @@ export default {
// // store.dispatch('user/setName',res)
// localStorage.setItem("currentUserInfo", JSON.stringify(res));
// })
getInterfaceBoard().then(result => {
localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.resources[_zh].texts));
this.$router.push({ path: '/'})
this.loading = false
})
.catch(err => {
this.$message.error('获取表头失败,请重试')
this.loading = false
})
// this.$router.push({ path: '/'})
// this.loading = false
})

15
PC/InterFace.Dash/src/views/menuList/AsnMstr.vue

@ -48,10 +48,10 @@
:buttonOperationList_left="operationButtonsDetail"
></curren-Drawer>
<!-- 明细查询页面 -->
<!-- :listColumns="apiColumns_DetailsPage" -->
<filterForDetailPage
@rowDropForDetail="rowDrop"
v-if="filterForDetailShow && apiColumns_DetailsPage"
:listColumns="apiColumns_DetailsPage"
v-if="filterForDetailShow"
:parentColumns="apiColumns_Table"
@closeDialog="changeFilterForDetailShow"
></filterForDetailPage>
@ -71,10 +71,10 @@ import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //-
import * as detailsPageColumns_api from "@/utils/detailsPageColumns_api/index" //
// import * as tableColumns_api from "@/utils/tableColumns_api/index" //
// import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
// import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //-
// import * as detailsPageColumns_api from "@/utils/detailsPageColumns_api/index" //
export default {
@ -103,7 +103,8 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api,detailsPageColumns_api)
// 使api()
// this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api,detailsPageColumns_api)
this.paging();
},
}

4
PC/InterFace.Dash/src/views/menuList/Bom.vue

@ -41,9 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
@ -72,7 +69,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

4
PC/InterFace.Dash/src/views/menuList/Cust.vue

@ -41,9 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
@ -72,7 +69,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

4
PC/InterFace.Dash/src/views/menuList/CustPart.vue

@ -41,9 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
@ -72,7 +69,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

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

@ -128,11 +128,7 @@
import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins"
import { filterSelectMixins } from '@/mixins/filter-Select'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
import { initFromApiColumnsLable } from '@/utils/index'
import * as detailsPageColumns_api from "@/utils/detailsPageColumns_api/index" //
// import { getExportConfigList } from '@/api/wms-interface'
@ -207,7 +203,6 @@
};
},
mounted () {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api,detailsPageColumns_api)
this.paging();
},
};

4
PC/InterFace.Dash/src/views/menuList/IncomingData.vue

@ -41,9 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
@ -72,7 +69,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

5
PC/InterFace.Dash/src/views/menuList/IncomingDataHistory.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "IncomingDataHistory",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

5
PC/InterFace.Dash/src/views/menuList/Inventory.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "Inventory",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

5
PC/InterFace.Dash/src/views/menuList/Loc.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "Loc",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

5
PC/InterFace.Dash/src/views/menuList/MesProductL7PartsNote.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "MesProductL7PartsNote",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

4
PC/InterFace.Dash/src/views/menuList/MessageReceive.vue

@ -43,9 +43,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
import { messageReceiveUpdateStatsById } from "@/api/wms-business"
export default {
@ -74,7 +71,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
methods:{

4
PC/InterFace.Dash/src/views/menuList/OutgoingData.vue

@ -43,9 +43,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
import { resetHandle } from "@/api/wms-business"
export default {
@ -74,7 +71,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
methods:{

4
PC/InterFace.Dash/src/views/menuList/OutgoingDataHistory.vue

@ -64,9 +64,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
import { resetHandle } from "@/api/wms-business"
export default {
@ -95,7 +92,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
methods:{

5
PC/InterFace.Dash/src/views/menuList/Part.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "Part",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

9
PC/InterFace.Dash/src/views/menuList/PoMstr.vue

@ -50,8 +50,7 @@
<!-- 明细查询页面 -->
<filterForDetailPage
@rowDropForDetail="rowDrop"
v-if="filterForDetailShow && apiColumns_DetailsPage"
:listColumns="apiColumns_DetailsPage"
v-if="filterForDetailShow"
:parentColumns="apiColumns_Table"
@closeDialog="changeFilterForDetailShow"
></filterForDetailPage>
@ -71,11 +70,6 @@ import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //-
import * as detailsPageColumns_api from "@/utils/detailsPageColumns_api/index" //
export default {
name: "PoMstr",
@ -103,7 +97,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api,detailsPageColumns_api)
this.paging();
},
}

5
PC/InterFace.Dash/src/views/menuList/PrhHist.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "PrhHist",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

5
PC/InterFace.Dash/src/views/menuList/ProdLine.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "ProdLine",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

9
PC/InterFace.Dash/src/views/menuList/ReceiptMstr.vue

@ -50,8 +50,7 @@
<!-- 明细查询页面 -->
<filterForDetailPage
@rowDropForDetail="rowDrop"
v-if="filterForDetailShow && apiColumns_DetailsPage"
:listColumns="apiColumns_DetailsPage"
v-if="filterForDetailShow"
:parentColumns="apiColumns_Table"
@closeDialog="changeFilterForDetailShow"
></filterForDetailPage>
@ -71,11 +70,6 @@ import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //-
import * as detailsPageColumns_api from "@/utils/detailsPageColumns_api/index" //
export default {
name: "ReceiptMstr",
@ -103,7 +97,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api,detailsPageColumns_api)
this.paging();
},
}

9
PC/InterFace.Dash/src/views/menuList/ReturnMstr.vue

@ -50,8 +50,7 @@
<!-- 明细查询页面 -->
<filterForDetailPage
@rowDropForDetail="rowDrop"
v-if="filterForDetailShow && apiColumns_DetailsPage"
:listColumns="apiColumns_DetailsPage"
v-if="filterForDetailShow"
:parentColumns="apiColumns_Table"
@closeDialog="changeFilterForDetailShow"
></filterForDetailPage>
@ -71,11 +70,6 @@ import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //-
import * as detailsPageColumns_api from "@/utils/detailsPageColumns_api/index" //
export default {
name: "ReturnMstr",
@ -103,7 +97,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api,detailsPageColumns_api)
this.paging();
},
}

5
PC/InterFace.Dash/src/views/menuList/Vend.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "Vend",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

5
PC/InterFace.Dash/src/views/menuList/VendPart.vue

@ -41,10 +41,6 @@ import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "VendPart",
@ -72,7 +68,6 @@ export default {
};
},
mounted() {
this.initApiColumns(tableColumns_api,tabsDesTions_api,detailsTableColumns_api)
this.paging();
},
}

Loading…
Cancel
Save