Browse Source

【store】查看主表封装-暂存

master
安虹睿 12 months ago
parent
commit
39e1d80d99
  1. 24
      PC/UI.WinIn.FasterZ.Store/README.md
  2. 54
      PC/UI.WinIn.FasterZ.Store/src/components/commonTabel-drawer/index.vue
  3. 7
      PC/UI.WinIn.FasterZ.Store/src/components/filterForDetailPage/index.vue
  4. 146
      PC/UI.WinIn.FasterZ.Store/src/mixins/TableMixins.js
  5. 6
      PC/UI.WinIn.FasterZ.Store/src/mixins/mixins.js
  6. 307
      PC/UI.WinIn.FasterZ.Store/src/utils/baseData/urlOption.js
  7. 99
      PC/UI.WinIn.FasterZ.Store/src/utils/index.js

24
PC/UI.WinIn.FasterZ.Store/README.md

@ -124,3 +124,27 @@ pointNumberFixed 组合上方validType值仅等于pointNumber时:
小数点后方保留位数,如不填写默认为100位 小数点后方保留位数,如不填写默认为100位
<validType>+<pointNumberFixed>示例: <validType>+<pointNumberFixed>示例:
{ type:"input", label:"金额", prop:"money", validType:'pointNumber',pointNumberFixed:2}, { type:"input", label:"金额", prop:"money", validType:'pointNumber',pointNumberFixed:2},
[urlOpion示例]
// 添加页面需要配置位置
// 示例数据
export const TestSchool = {
baseURL:'TestSchool/base',//主表-列表
detailURL:'app/test-school',//主表-明细 + 明细-查看主表
// detailInfoName:'asnNbr',//主表-明细查看详情的title名称
detailListURL:'TestStudentDetail/base',//明细-列表,
masterId:'masterId',//明细获取主表信息的masterId,默认依次为[默认配置defalutMasterId,固定值masterId]
masterName:'studentName'//明细获取主表信息的title名称
// parentURL:null,//明细-查看主表:特殊接口,如果没有则走detailURL
// deleteURL:null,//删除特殊URL
// addURL:null,//新增特殊URL
// editURL:null,//编辑特殊URL
// exportURL:'exportURL',//导出特殊URL
<!-- 20231124 有主表的子列表 查看详情的主表信息处理 -->
//有主表的子表单页的主表信息接口,默认为当前的[detailURL]去掉[-Detail]
// mainShowMasterUrl:null,
//有主表的子表单页的主表链接参数,默认依次为[默认配置defalutMasterId,上方配置中masterId,固定值masterId]
// mainShowMasterId:'masterId',
//有主表的子表单页的主表路由[用于显示列转义],默认为[当前路由]去掉[Detail]
// masterRoute:null,
}

54
PC/UI.WinIn.FasterZ.Store/src/components/commonTabel-drawer/index.vue

@ -49,6 +49,7 @@
@handleClick="handleClick" @handleClick="handleClick"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 详情 -->
<curren-descriptions <curren-descriptions
border border
v-if="scope.value == 'xq'" v-if="scope.value == 'xq'"
@ -59,6 +60,17 @@
:propsData="propsData" :propsData="propsData"
> >
</curren-descriptions> </curren-descriptions>
<!-- 主表信息 -->
<curren-descriptions
border
v-if="scope.value == 'masterInfo'"
:column="column"
:direction="direction"
:colon="false"
:tabsDesTions="masterColums"
:propsData="propsData.masterInfo"
>
</curren-descriptions>
<!-- 明细 包含分页 头部按钮等 --> <!-- 明细 包含分页 头部按钮等 -->
<tablePagination <tablePagination
ref="tablePaginationForMX_Ref" ref="tablePaginationForMX_Ref"
@ -104,11 +116,12 @@
</template> </template>
</umyTable> </umyTable>
<!-- 自定义扩展 --> <!-- 自定义扩展 -->
<umyTable <!-- <umyTable
v-if=" v-if="
scope.value == zdyValue && scope.value == zdyValue &&
scope.value != 'xq' && scope.value != 'xq' &&
scope.value != 'mx' && scope.value != 'mx' &&
scope.value != 'masterInfo' &&
scope.value != 'hz' && scope.value != 'hz' &&
scope.value != 'zwlcj' scope.value != 'zwlcj'
" "
@ -127,7 +140,7 @@
<template> <template>
<slot></slot> <slot></slot>
</template> </template>
</umyTable> </umyTable> -->
</template> </template>
</curren-tabs> </curren-tabs>
</div> </div>
@ -171,6 +184,10 @@ import pagination from "@/components/Pagination"
import rowDrop from "@/components/rowDrop/index.vue" import rowDrop from "@/components/rowDrop/index.vue"
import * as allUrlOption from '@/utils/baseData/urlOption' import * as allUrlOption from '@/utils/baseData/urlOption'
import { LoadingMixins } from "@/mixins/LoadingMixins"; import { LoadingMixins } from "@/mixins/LoadingMixins";
import {
initApiColumnsForDto,
sliceStrEndDelete
} from '@/utils/index'
export default { export default {
name: 'currenTabel-drawer', name: 'currenTabel-drawer',
components: { components: {
@ -309,7 +326,8 @@ export default {
// tabs // tabs
if (this.dropdownTabsData.length !== 0) { if (this.dropdownTabsData.length !== 0) {
return this.dropdownTabsData return this.dropdownTabsData
} else { }
else {
// //
// if (Object.keys(this.propsData).length != 0) { // if (Object.keys(this.propsData).length != 0) {
if (Object.keys(this.propsData)) { if (Object.keys(this.propsData)) {
@ -317,6 +335,14 @@ export default {
label: "详情", label: "详情",
name: 'xq' name: 'xq'
}] }]
if(this.propsData.masterInfo && this.propsData.masterInfo.length > 0){
this.initDropdownTabsData.push({
label: "主表信息",
name: 'masterInfo'
})
let _master_name = this.URLOption.masterRoute || sliceStrEndDelete(this.$route.name,'Detail')
this.masterColums = initApiColumnsForDto(this.propsData.masterInfo,_master_name,this)
}
// 使 // 使
if(this.propsData.details){ if(this.propsData.details){
this.initDropdownTabsData.push({ this.initDropdownTabsData.push({
@ -343,9 +369,9 @@ export default {
detailHeaderButton:null,//- detailHeaderButton:null,//-
detailInfoTableData:null,//- detailInfoTableData:null,//-
detailInfoTitle:null,//-title detailInfoTitle:null,//-title
otherData:[], // tabs // otherData:[], // tabs
zdyTableColumns:[], // // zdyTableColumns:[], //
zdyValue:'', // // zdyValue:'', //
// firstTabs:'xq', // firstTabs:'xq',
initDropdownTabsData:[ initDropdownTabsData:[
{ {
@ -376,9 +402,13 @@ export default {
}, },
totalCountForDetail:0, totalCountForDetail:0,
//-id //-id
URLOption_masterId:allUrlOption[this.$route.name].masterId || 'masterId', URLOption:allUrlOption[this.$route.name],
//-id
URLOption_masterId:allUrlOption[this.$route.name].masterId || allUrlOption.defalutMasterId || 'masterId',
//- //-
URLOption_detailList:allUrlOption[this.$route.name].detailListURL, URLOption_detailList:allUrlOption[this.$route.name].detailListURL,
//
masterColums:null
} }
}, },
methods: { methods: {
@ -574,7 +604,7 @@ export default {
// tabs // tabs
handleClick (val) { handleClick (val) {
this.$emit("currenTabsChange", val);//tab this.$emit("currenTabsChange", val);//tab
this.zdyValue = val.name // this.zdyValue = val.name
this.dropdownTabsData.forEach( item => { this.dropdownTabsData.forEach( item => {
if (item.name == val.name) { if (item.name == val.name) {
let parent = this.$parent let parent = this.$parent
@ -582,12 +612,12 @@ export default {
// //
parent.firstTabs = val.name parent.firstTabs = val.name
if (val.name == 'xq' || val.name == 'mx' || val.name == 'hz') { if (val.name == 'xq' || val.name == 'mx' || val.name == 'hz') {
this.zdyTableColumns = [] // this.zdyTableColumns = []
this.otherData = [] // this.otherData = []
parent.tableLoading = false parent.tableLoading = false
} else { } else {
this.zdyTableColumns = [] // this.zdyTableColumns = []
this.otherData = [] // this.otherData = []
// this.firstTabs = val.name // this.firstTabs = val.name
// tab // tab
// if (item.functionName == 'getListByItemcode') { // if (item.functionName == 'getListByItemcode') {

7
PC/UI.WinIn.FasterZ.Store/src/components/filterForDetailPage/index.vue

@ -129,6 +129,7 @@
import { mixins } from "@/mixins/mixins"; import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select' import { filterSelectMixins } from '@/mixins/filter-Select'
import {getListDesById,getPageListForDetail} from "@/api/wms-api" import {getListDesById,getPageListForDetail} from "@/api/wms-api"
import { initApiColumnsForDto } from '@/utils/index'
export default { export default {
name: 'filterForDetailPage', name: 'filterForDetailPage',
mixins: [ mixins: [
@ -204,10 +205,6 @@
data () { data () {
return { return {
dialogShow:true, dialogShow:true,
// URLOption_detailList:allUrlOption[this.$route.name].detailListURL,//-
// URLOption_masterId:allUrlOption[this.$route.name].masterId || 'masterId',//-id
// URLOption_masterName:allUrlOption[this.$route.name].masterName,//-//-title
// URLOption_parent:allUrlOption[this.$route.name].parentURL ? allUrlOption[this.$route.name].parentURL : allUrlOption[this.$route.name].detailURL,//-
currenButtonData: [],// currenButtonData: [],//
operaButtons:[],// operaButtons:[],//
showParentDialog:false,// showParentDialog:false,//
@ -263,7 +260,7 @@
.then(res=>{ .then(res=>{
// //
let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/')) let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/'))
let _Columns = this.initApiColumnsForDto(res.items[0],_parentName) let _Columns = initApiColumnsForDto(res.items[0],_parentName,this)
this.listColumns = this.initTableColumns(_Columns,'detailPage_api') this.listColumns = this.initTableColumns(_Columns,'detailPage_api')
// //
if(res){ if(res){

146
PC/UI.WinIn.FasterZ.Store/src/mixins/TableMixins.js

@ -1,11 +1,13 @@
import i18n from "@/lang"
import { import {
getPageList, getPageList,
getDetailed, getDetailed,
postDelete, postDelete,
ApiTypeDelete ApiTypeDelete
} from '@/api/wms-api' } from '@/api/wms-api'
import { zhApiColumnsLable,firstWordSizeChange } from '@/utils/index' import {
initApiColumnsForDto,
sliceStrEndDelete
} from '@/utils/index'
export const tableMixins = { export const tableMixins = {
data() { data() {
return { return {
@ -103,9 +105,22 @@ export const tableMixins = {
} }
// 编辑 api // 编辑 api
else if (item.name == "editFromApi") { else if (item.name == "editFromApi") {
// this.addEditApiType = 'edit'
// this.editFromApiRowData = row
// this.displayDialog.addEditApiDialog = true;
let _url = this.URLOption_detail ? this.URLOption_detail : this.URLOption_base
this.Loading.tableLoading = true
getDetailed(row.id, _url)
.then(res=>{
this.addEditApiType = 'edit' this.addEditApiType = 'edit'
this.editFromApiRowData = row this.editFromApiRowData = res
this.displayDialog.addEditApiDialog = true; this.displayDialog.addEditApiDialog = true;
this.Loading.tableLoading = false
})
.catch(err=>{
this.Loading.tableLoading = false
})
} }
// 删除 // 删除
else if (item.name == "delete"){ else if (item.name == "delete"){
@ -158,95 +173,6 @@ export const tableMixins = {
// if(detailsTable && detailsTable[this.$route.name])this.apiColumns_DetailsTable = this.initTableColumns(detailsTable[this.$route.name],'detail_api') // 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') // if(detailsPage && detailsPage[this.$route.name])this.apiColumns_DetailsPage = this.initTableColumns(detailsPage[this.$route.name],'detailPage_api')
// }, // },
// get-dto-column-type接口表头类型初始化
initApiColumnsForDto(list,titleName){
let data = this.$store.getters.dtoColumnTypes
let _coloums = data[titleName].S
let _Columns_Table = []
if(_coloums){
let _data = _coloums.dtoList
_data.forEach(item=>{
// 如果list接口存在数据 ,与list接口返回字段比较处理,list接口存在的话则追加
let _if = firstWordSizeChange(item.name) != 'details'
if(list){
_if = firstWordSizeChange(item.name) in list && firstWordSizeChange(item.name) != 'details'
}
if(_if){
_Columns_Table.push(item)
}
})
}
if(list){
_Columns_Table = _Columns_Table.concat(this.specialAddColumns(list,titleName))
}
return _Columns_Table
},
// 添加特殊字段(api中没有的字段特殊处理)
specialAddColumns(list,titleName){
let _apiName = titleName
let _special_list=[]
// creationTime
if('creationTime' in list){
_special_list.push(
{
"name": "CreationTime",
"apiBaseType": "datetime",
"baseApiName": _apiName + 'CreationTime',
"label": zhApiColumnsLable(_apiName + 'CreationTime') || i18n.t('columNames.CreationTime'),
"prop": "creationTime",
}
)
}
// creatorId
if('creatorId' in list){
_special_list.push(
{
"name": "CreatorId",
"apiBaseType": "string",
"baseApiName": _apiName + 'CreatorId',
"label": zhApiColumnsLable(_apiName + 'CreatorId') || i18n.t('columNames.CreatorId'),
"prop": "creatorId",
}
)
}
// lastModificationTime
if('lastModificationTime' in list){
_special_list.push(
{
"name": "LastModificationTime",
"apiBaseType": "datetime",
"baseApiName": _apiName + 'LastModificationTime',
"label": zhApiColumnsLable(_apiName + 'LastModificationTime') || i18n.t('columNames.LastModificationTime'),
"prop": "lastModificationTime",
}
)
}
// lastModifierId
if('lastModifierId' in list){
_special_list.push(
{
"name": "LastModifierId",
"apiBaseType": "string",
"baseApiName": _apiName + 'LastModifierId',
"label": zhApiColumnsLable(_apiName + 'LastModifierId') || i18n.t('columNames.LastModifierId'),
"prop": "lastModifierId",
}
)
}
// tenantId
if('tenantId' in list){
_special_list.push(
{
"name": "TenantId",
"apiBaseType": "string",
"baseApiName": _apiName + 'TenantId',
"label": zhApiColumnsLable(_apiName + 'TenantId') || i18n.t('columNames.TenantId'),
"prop": "tenantId",
}
)
}
return _special_list
},
//渲染数据 //渲染数据
paging(callback,repeat) { paging(callback,repeat) {
this.Loading.tableLoading = true; this.Loading.tableLoading = true;
@ -255,7 +181,7 @@ export const tableMixins = {
.then(res=>{ .then(res=>{
// 表头处理 // 表头处理
let _list = res.items && res.items.length > 0 ? res.items[0] : null let _list = res.items && res.items.length > 0 ? res.items[0] : null
let _Columns = this.initApiColumnsForDto(_list,this.$route.name) let _Columns = initApiColumnsForDto(_list,this.$route.name,this)
this.apiColumns_Table = this.initTableColumns(_Columns) this.apiColumns_Table = this.initTableColumns(_Columns)
this.apiColumns_DesTions = _Columns this.apiColumns_DesTions = _Columns
// 页面数据处理 // 页面数据处理
@ -312,8 +238,36 @@ export const tableMixins = {
this.Loading.DrawerLoading = true this.Loading.DrawerLoading = true
this.displayDialog.detailsDialog = true; this.displayDialog.detailsDialog = true;
let _url = this.URLOption_detail ? this.URLOption_detail : this.URLOption_base let _url = this.URLOption_detail ? this.URLOption_detail : this.URLOption_base
// 有主表信息子表(表头处理)
if(!this.URLOption.isMaster && this.URLOption.hasDetail){
let _showMasterUrl = this.URLOption.mainShowMasterUrl
if(!this.URLOption.mainShowMasterUrl){
_showMasterUrl = sliceStrEndDelete(this.URLOption_detail,'-Detail')
}
Promise.all([
getDetailed(val.id, _url),
getDetailed(val[this.URLOption.mainShowMasterId || this.URLOption.masterId || this.allUrlOption.defalutMasterId || 'masterId'], _showMasterUrl)
]).then((res) => {
let _allRes = JSON.parse(JSON.stringify(res[0]))
_allRes.masterInfo = res[1]
this.initInlineHttpBack(_allRes)
}).catch(()=>{
this.Loading.DrawerLoading = false
})
}
// 没有主表信息
else{
getDetailed(val.id, _url) getDetailed(val.id, _url)
.then(res=>{ .then(res=>{
this.initInlineHttpBack(res)
})
.catch(err=>{
this.Loading.DrawerLoading = false
})
}
},
// 查看详情获取返回值后处理
initInlineHttpBack(res){
// 打印使用的全部数据存储 // 打印使用的全部数据存储
this.tableDataDetails = JSON.parse(JSON.stringify(res)) this.tableDataDetails = JSON.parse(JSON.stringify(res))
// 数据处理 // 数据处理
@ -321,7 +275,7 @@ export const tableMixins = {
if (res.details) { if (res.details) {
// 表头处理 // 表头处理
let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/')) let _parentName = this.URLOption_detailList.substr(0,this.URLOption_detailList.indexOf('/'))
this.apiColumns_DetailsTable = this.initTableColumns(this.initApiColumnsForDto(res.details[0],_parentName),'detail_api') this.apiColumns_DetailsTable = this.initTableColumns(initApiColumnsForDto(res.details[0],_parentName,this),'detail_api')
if(this.$refs.currenDrawer_Ref){ if(this.$refs.currenDrawer_Ref){
this.$refs.currenDrawer_Ref.getDetailList(res,()=>{ this.$refs.currenDrawer_Ref.getDetailList(res,()=>{
this.inlineDialogCallback() this.inlineDialogCallback()
@ -332,10 +286,6 @@ export const tableMixins = {
}else{ }else{
this.Loading.DrawerLoading = false this.Loading.DrawerLoading = false
} }
})
.catch(err=>{
this.Loading.DrawerLoading = false
})
}, },
// 前端分页处理 // 前端分页处理
// detailListPageFromFE(data){ // detailListPageFromFE(data){

6
PC/UI.WinIn.FasterZ.Store/src/mixins/mixins.js

@ -8,6 +8,9 @@ import { getLoginName } from "@/utils/auth"
export const mixins = { export const mixins = {
data() { data() {
return { return {
allUrlOption:allUrlOption,
// 当前路由配置
URLOption:allUrlOption[this.$route.name],
//主表-列表 //主表-列表
URLOption_base:allUrlOption[this.$route.name].baseURL, URLOption_base:allUrlOption[this.$route.name].baseURL,
//主表-明细 //主表-明细
@ -23,7 +26,7 @@ export const mixins = {
//明细-查看主表 //明细-查看主表
URLOption_parent:allUrlOption[this.$route.name].parentURL ? allUrlOption[this.$route.name].parentURL : allUrlOption[this.$route.name].detailURL, URLOption_parent:allUrlOption[this.$route.name].parentURL ? allUrlOption[this.$route.name].parentURL : allUrlOption[this.$route.name].detailURL,
//明细-查看主表的连接id //明细-查看主表的连接id
URLOption_masterId:allUrlOption[this.$route.name].masterId || 'masterId', URLOption_masterId:allUrlOption[this.$route.name].masterId || allUrlOption.defalutMasterId || 'masterId',
//明细-查看主表的连接title名称 //明细-查看主表的连接title名称
URLOption_masterName:allUrlOption[this.$route.name].masterName, URLOption_masterName:allUrlOption[this.$route.name].masterName,
// 列表-明细-查看详情标题名称 // 列表-明细-查看详情标题名称
@ -65,7 +68,6 @@ export const mixins = {
name: "determine" name: "determine"
}, },
], ],
addEditApiType: null,//Api新增编辑方式(add,edit) addEditApiType: null,//Api新增编辑方式(add,edit)
editFromApiRowData:null,//Api编辑方式的默认值 editFromApiRowData:null,//Api编辑方式的默认值
} }

307
PC/UI.WinIn.FasterZ.Store/src/utils/baseData/urlOption.js

@ -1,3 +1,6 @@
// 默认配置
export const defalutMasterId = 'masterID'
// 示例数据 // 示例数据
export const TestSchool = { export const TestSchool = {
baseURL:'TestSchool/base',//主表-列表 baseURL:'TestSchool/base',//主表-列表
@ -17,189 +20,235 @@ export const TestSchool = {
export const ExportCustomUserSetting = { export const ExportCustomUserSetting = {
baseURL:'ExportCustomUserSetting/base',//主表-列表 baseURL:'ExportCustomUserSetting/base',//主表-列表
detailURL:'app/export-custom-user-setting',//主表-明细 + 明细-查看主表 detailURL:'app/export-custom-user-setting',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const ArriveNotice = { export const ArriveNotice = {
baseURL:'ArriveNotice/base',//主表-列表 baseURL:'ArriveNotice/base',//主表-列表
detailURL:'app/arrive-notice',//主表-明细 + 明细-查看主表 detailURL:'app/arrive-notice',//主表-明细 + 明细-查看主表
detailListURL:'ArriveNoticeDetail/base',//明细-列表, detailListURL:'ArriveNoticeDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ArriveNoticeDetail = { export const ArriveNoticeDetail = {
baseURL:'ArriveNoticeDetail/base',//主表-列表 baseURL:'ArriveNoticeDetail/base',//主表-列表
detailURL:'app/arrive-notice-detail',//主表-明细 + 明细-查看主表 detailURL:'app/arrive-notice-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ContainerBindNote = { export const ContainerBindNote = {
baseURL:'ContainerBindNote/base',//主表-列表 baseURL:'ContainerBindNote/base',//主表-列表
detailURL:'app/container-bind-note',//主表-明细 + 明细-查看主表 detailURL:'app/container-bind-note',//主表-明细 + 明细-查看主表
detailListURL:'ContainerBindNoteDetail/base',//明细-列表, detailListURL:'ContainerBindNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ContainerBindNoteDetail = { export const ContainerBindNoteDetail = {
baseURL:'ContainerBindNoteDetail/base',//主表-列表 baseURL:'ContainerBindNoteDetail/base',//主表-列表
detailURL:'app/container-bind-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/container-bind-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const CountAdjustNote = { export const CountAdjustNote = {
baseURL:'CountAdjustNote/base',//主表-列表 baseURL:'CountAdjustNote/base',//主表-列表
detailURL:'app/count-adjust-note',//主表-明细 + 明细-查看主表 detailURL:'app/count-adjust-note',//主表-明细 + 明细-查看主表
detailListURL:'CountAdjustNoteDetail/base',//明细-列表, detailListURL:'CountAdjustNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const CountAdjustNoteDetail = { export const CountAdjustNoteDetail = {
baseURL:'CountAdjustNoteDetail/base',//主表-列表 baseURL:'CountAdjustNoteDetail/base',//主表-列表
detailURL:'app/count-adjust-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/count-adjust-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const CountNote = { export const CountNote = {
baseURL:'CountNote/base',//主表-列表 baseURL:'CountNote/base',//主表-列表
detailURL:'app/count-note',//主表-明细 + 明细-查看主表 detailURL:'app/count-note',//主表-明细 + 明细-查看主表
detailListURL:'CountNoteDetail/base',//明细-列表, detailListURL:'CountNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const CountNoteDetail = { export const CountNoteDetail = {
baseURL:'CountNoteDetail/base',//主表-列表 baseURL:'CountNoteDetail/base',//主表-列表
detailURL:'app/count-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/count-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const CountPlan = { export const CountPlan = {
baseURL:'CountPlan/base',//主表-列表 baseURL:'CountPlan/base',//主表-列表
detailURL:'app/count-plan',//主表-明细 + 明细-查看主表 detailURL:'app/count-plan',//主表-明细 + 明细-查看主表
detailListURL:'CountPlanDetail/base',//明细-列表, detailListURL:'CountPlanDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const CountPlanDetail = { export const CountPlanDetail = {
baseURL:'CountPlanDetail/base',//主表-列表 baseURL:'CountPlanDetail/base',//主表-列表
detailURL:'app/count-plan-detail',//主表-明细 + 明细-查看主表 detailURL:'app/count-plan-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const CustomerAsn = { export const CustomerAsn = {
baseURL:'CustomerAsn/base',//主表-列表 baseURL:'CustomerAsn/base',//主表-列表
detailURL:'app/customer-asn',//主表-明细 + 明细-查看主表 detailURL:'app/customer-asn',//主表-明细 + 明细-查看主表
detailListURL:'CustomerAsnDetail/base',//明细-列表, detailListURL:'CustomerAsnDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const CustomerAsnDetail = { export const CustomerAsnDetail = {
baseURL:'CustomerAsnDetail/base',//主表-列表 baseURL:'CustomerAsnDetail/base',//主表-列表
detailURL:'app/customer-asn-detail',//主表-明细 + 明细-查看主表 detailURL:'app/customer-asn-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const CustomerReturnNote = { export const CustomerReturnNote = {
baseURL:'CustomerReturnNote/base',//主表-列表 baseURL:'CustomerReturnNote/base',//主表-列表
detailURL:'app/customer-return-note',//主表-明细 + 明细-查看主表 detailURL:'app/customer-return-note',//主表-明细 + 明细-查看主表
detailListURL:'CustomerReturnNoteDetail/base',//明细-列表, detailListURL:'CustomerReturnNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const CustomerReturnNoteDetail = { export const CustomerReturnNoteDetail = {
baseURL:'CustomerReturnNoteDetail/base',//主表-列表 baseURL:'CustomerReturnNoteDetail/base',//主表-列表
detailURL:'app/customer-return-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/customer-return-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const DeliverNote = { export const DeliverNote = {
baseURL:'DeliverNote/base',//主表-列表 baseURL:'DeliverNote/base',//主表-列表
detailURL:'app/deliver-note',//主表-明细 + 明细-查看主表 detailURL:'app/deliver-note',//主表-明细 + 明细-查看主表
detailListURL:'DeliverNoteDetail/base',//明细-列表, detailListURL:'DeliverNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const DeliverNoteDetail = { export const DeliverNoteDetail = {
baseURL:'DeliverNoteDetail/base',//主表-列表 baseURL:'DeliverNoteDetail/base',//主表-列表
detailURL:'app/deliver-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/deliver-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const DeliverPlan = { export const DeliverPlan = {
baseURL:'DeliverPlan/base',//主表-列表 baseURL:'DeliverPlan/base',//主表-列表
detailURL:'app/deliver-plan',//主表-明细 + 明细-查看主表 detailURL:'app/deliver-plan',//主表-明细 + 明细-查看主表
detailListURL:'DeliverPlanDetail/base',//明细-列表, detailListURL:'DeliverPlanDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const DeliverPlanDetail = { export const DeliverPlanDetail = {
baseURL:'DeliverPlanDetail/base',//主表-列表 baseURL:'DeliverPlanDetail/base',//主表-列表
detailURL:'app/deliver-plan-detail',//主表-明细 + 明细-查看主表 detailURL:'app/deliver-plan-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const DeliverRequest = { export const DeliverRequest = {
baseURL:'DeliverRequest/base',//主表-列表 baseURL:'DeliverRequest/base',//主表-列表
detailURL:'app/deliver-request',//主表-明细 + 明细-查看主表 detailURL:'app/deliver-request',//主表-明细 + 明细-查看主表
detailListURL:'DeliverRequestDetail/base',//明细-列表, detailListURL:'DeliverRequestDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const DeliverRequestDetail = { export const DeliverRequestDetail = {
baseURL:'DeliverRequestDetail/base',//主表-列表 baseURL:'DeliverRequestDetail/base',//主表-列表
detailURL:'app/deliver-request-detail',//主表-明细 + 明细-查看主表 detailURL:'app/deliver-request-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const DocumentSetting = { export const DocumentSetting = {
baseURL:'DocumentSetting/base',//主表-列表 baseURL:'DocumentSetting/base',//主表-列表
detailURL:'app/document-setting',//主表-明细 + 明细-查看主表 detailURL:'app/document-setting',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const InspectAbnormalNote = { export const InspectAbnormalNote = {
baseURL:'InspectAbnormalNote/base',//主表-列表 baseURL:'InspectAbnormalNote/base',//主表-列表
detailURL:'app/inspect-abnormal-note',//主表-明细 + 明细-查看主表 detailURL:'app/inspect-abnormal-note',//主表-明细 + 明细-查看主表
detailListURL:'InspectAbnormalNoteDetail/base',//明细-列表, detailListURL:'InspectAbnormalNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const InspectAbnormalNoteDetail = { export const InspectAbnormalNoteDetail = {
baseURL:'InspectAbnormalNoteDetail/base',//主表-列表 baseURL:'InspectAbnormalNoteDetail/base',//主表-列表
detailURL:'app/inspect-abnormal-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/inspect-abnormal-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const InspectNote = { export const InspectNote = {
baseURL:'InspectNote/base',//主表-列表 baseURL:'InspectNote/base',//主表-列表
detailURL:'app/inspect-note',//主表-明细 + 明细-查看主表 detailURL:'app/inspect-note',//主表-明细 + 明细-查看主表
detailListURL:'InspectNoteDetail/base',//明细-列表, detailListURL:'InspectNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const InspectNoteDetail = { export const InspectNoteDetail = {
baseURL:'InspectNoteDetail/base',//主表-列表 baseURL:'InspectNoteDetail/base',//主表-列表
detailURL:'app/inspect-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/inspect-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const InspectNoteSummaryDetail = { export const InspectNoteSummaryDetail = {
baseURL:'InspectNoteSummaryDetail/base',//主表-列表 baseURL:'InspectNoteSummaryDetail/base',//主表-列表
detailURL:'app/inspect-note-summary-detail',//主表-明细 + 明细-查看主表 detailURL:'app/inspect-note-summary-detail',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const InspectNotice = { export const InspectNotice = {
baseURL:'InspectNotice/base',//主表-列表 baseURL:'InspectNotice/base',//主表-列表
detailURL:'app/inspect-notice',//主表-明细 + 明细-查看主表 detailURL:'app/inspect-notice',//主表-明细 + 明细-查看主表
detailListURL:'InspectNoticeDetail/base',//明细-列表, detailListURL:'InspectNoticeDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const InspectNoticeDetail = { export const InspectNoticeDetail = {
baseURL:'InspectNoticeDetail/base',//主表-列表 baseURL:'InspectNoticeDetail/base',//主表-列表
detailURL:'app/inspect-notice-detail',//主表-明细 + 明细-查看主表 detailURL:'app/inspect-notice-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const InspectNoticeSummaryDetail = { export const InspectNoticeSummaryDetail = {
baseURL:'InspectNoticeSummaryDetail/base',//主表-列表 baseURL:'InspectNoticeSummaryDetail/base',//主表-列表
detailURL:'app/inspect-notice-summary-detail',//主表-明细 + 明细-查看主表 detailURL:'app/inspect-notice-summary-detail',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const InventoryTransferNote = { export const InventoryTransferNote = {
baseURL:'InventoryTransferNote/base',//主表-列表 baseURL:'InventoryTransferNote/base',//主表-列表
detailURL:'app/inventory-transfer-note',//主表-明细 + 明细-查看主表 detailURL:'app/inventory-transfer-note',//主表-明细 + 明细-查看主表
detailListURL:'InventoryTransferNoteDetail/base',//明细-列表, detailListURL:'InventoryTransferNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const InventoryTransferNoteDetail = { export const InventoryTransferNoteDetail = {
baseURL:'InventoryTransferNoteDetail/base',//主表-列表 baseURL:'InventoryTransferNoteDetail/base',//主表-列表
detailURL:'app/inventory-transfer-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/inventory-transfer-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
// todo // todo
@ -207,251 +256,312 @@ export const IPurchaseOrderRepository = {
baseURL:'IPurchaseOrderRepository/base',//主表-列表 baseURL:'IPurchaseOrderRepository/base',//主表-列表
detailURL:'app/i-purchase-order-repository',//主表-明细 + 明细-查看主表 detailURL:'app/i-purchase-order-repository',//主表-明细 + 明细-查看主表
detailListURL:'IPurchaseOrderDetailRepository/base',//明细-列表, detailListURL:'IPurchaseOrderDetailRepository/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
// todo // todo
export const IPurchaseOrderDetailRepository = { export const IPurchaseOrderDetailRepository = {
baseURL:'IPurchaseOrderDetailRepository/base',//主表-列表 baseURL:'IPurchaseOrderDetailRepository/base',//主表-列表
detailURL:'app/i-purchase-order-detail-repository',//主表-明细 + 明细-查看主表 detailURL:'app/i-purchase-order-detail-repository',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const IsolationNote = { export const IsolationNote = {
baseURL:'IsolationNote/base',//主表-列表 baseURL:'IsolationNote/base',//主表-列表
detailURL:'app/isolation-note',//主表-明细 + 明细-查看主表 detailURL:'app/isolation-note',//主表-明细 + 明细-查看主表
detailListURL:'IsolationNoteDetail/base',//明细-列表, detailListURL:'IsolationNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const IsolationNoteDetail = { export const IsolationNoteDetail = {
baseURL:'IsolationNoteDetail/base',//主表-列表 baseURL:'IsolationNoteDetail/base',//主表-列表
detailURL:'app/isolation-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/isolation-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const IssueNote = { export const IssueNote = {
baseURL:'IssueNote/base',//主表-列表 baseURL:'IssueNote/base',//主表-列表
detailURL:'app/issue-note',//主表-明细 + 明细-查看主表 detailURL:'app/issue-note',//主表-明细 + 明细-查看主表
detailListURL:'IssueNoteDetail/base',//明细-列表, detailListURL:'IssueNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const IssueNoteDetail = { export const IssueNoteDetail = {
baseURL:'IssueNoteDetail/base',//主表-列表 baseURL:'IssueNoteDetail/base',//主表-列表
detailURL:'app/issue-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/issue-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const IssueNoteToMes = { export const IssueNoteToMes = {
baseURL:'IssueNoteToMes/base',//主表-列表 baseURL:'IssueNoteToMes/base',//主表-列表
detailURL:'app/issue-note-to-mes',//主表-明细 + 明细-查看主表 detailURL:'app/issue-note-to-mes',//主表-明细 + 明细-查看主表
detailListURL:'IssueNoteDetailToMes/base',//明细-列表, detailListURL:'IssueNoteDetailToMes/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const IssueNoteDetailToMes = { export const IssueNoteDetailToMes = {
baseURL:'IssueNoteDetailToMes/base',//主表-列表 baseURL:'IssueNoteDetailToMes/base',//主表-列表
detailURL:'app/issue-note-detail-to-mes',//主表-明细 + 明细-查看主表 detailURL:'app/issue-note-detail-to-mes',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const JisContainer = { export const JisContainer = {
baseURL:'JisContainer/base',//主表-列表 baseURL:'JisContainer/base',//主表-列表
detailURL:'app/jis-container',//主表-明细 + 明细-查看主表 detailURL:'app/jis-container',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const JisDeliverNote = { export const JisDeliverNote = {
baseURL:'JisDeliverNote/base',//主表-列表 baseURL:'JisDeliverNote/base',//主表-列表
detailURL:'app/jis-deliver-note',//主表-明细 + 明细-查看主表 detailURL:'app/jis-deliver-note',//主表-明细 + 明细-查看主表
detailListURL:'JisDeliverNoteDetail/base',//明细-列表, detailListURL:'JisDeliverNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const JisDeliverNoteDetail = { export const JisDeliverNoteDetail = {
baseURL:'JisDeliverNoteDetail/base',//主表-列表 baseURL:'JisDeliverNoteDetail/base',//主表-列表
detailURL:'app/jis-deliver-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/jis-deliver-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const OuterJisL7DeliverNote = { export const OuterJisL7DeliverNote = {
baseURL:'OuterJisL7DeliverNote/base',//主表-列表 baseURL:'OuterJisL7DeliverNote/base',//主表-列表
detailURL:'app/outer-jis-l7Deliver-note',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-l7Deliver-note',//主表-明细 + 明细-查看主表
detailListURL:'OuterJisL7DeliverNoteDetail/base',//明细-列表, detailListURL:'OuterJisL7DeliverNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const OuterJisL7DeliverNoteDetail = { export const OuterJisL7DeliverNoteDetail = {
baseURL:'OuterJisL7DeliverNoteDetail/base',//主表-列表 baseURL:'OuterJisL7DeliverNoteDetail/base',//主表-列表
detailURL:'app/outer-jis-l7Deliver-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-l7Deliver-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const JisProduct = { export const JisProduct = {
baseURL:'JisProduct/base',//主表-列表 baseURL:'JisProduct/base',//主表-列表
detailURL:'app/jis-product',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product',//主表-明细 + 明细-查看主表
detailListURL:'JisProductDetail/base',//明细-列表, detailListURL:'JisProductDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const JisProductDetail = { export const JisProductDetail = {
baseURL:'JisProductDetail/base',//主表-列表 baseURL:'JisProductDetail/base',//主表-列表
detailURL:'app/jis-product-detail',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const JisProductReceiptNote = { export const JisProductReceiptNote = {
baseURL:'JisProductReceiptNote/base',//主表-列表 baseURL:'JisProductReceiptNote/base',//主表-列表
detailURL:'app/jis-product-receipt-note',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-receipt-note',//主表-明细 + 明细-查看主表
detailListURL:'JisProductReceiptNoteDetail/base',//明细-列表, detailListURL:'JisProductReceiptNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const JisProductReceiptNoteDetail = { export const JisProductReceiptNoteDetail = {
baseURL:'JisProductReceiptNoteDetail/base',//主表-列表 baseURL:'JisProductReceiptNoteDetail/base',//主表-列表
detailURL:'app/jis-product-receipt-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-receipt-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const JisProductRecycleNote = { export const JisProductRecycleNote = {
baseURL:'JisProductRecycleNote/base',//主表-列表 baseURL:'JisProductRecycleNote/base',//主表-列表
detailURL:'app/jis-product-recycle-note',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-recycle-note',//主表-明细 + 明细-查看主表
detailListURL:'JisProductRecycleNoteDetail/base',//明细-列表, detailListURL:'JisProductRecycleNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const JisProductRecycleNoteDetail = { export const JisProductRecycleNoteDetail = {
baseURL:'JisProductRecycleNoteDetail/base',//主表-列表 baseURL:'JisProductRecycleNoteDetail/base',//主表-列表
detailURL:'app/jis-product-recycle-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-recycle-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const JisProductReturnNote = { export const JisProductReturnNote = {
baseURL:'JisProductReturnNote/base',//主表-列表 baseURL:'JisProductReturnNote/base',//主表-列表
detailURL:'app/jis-product-return-note',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-return-note',//主表-明细 + 明细-查看主表
detailListURL:'JisProductReturnNoteDetail/base',//明细-列表, detailListURL:'JisProductReturnNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const JisProductReturnNoteDetail = { export const JisProductReturnNoteDetail = {
baseURL:'JisProductReturnNoteDetail/base',//主表-列表 baseURL:'JisProductReturnNoteDetail/base',//主表-列表
detailURL:'app/jis-product-return-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-return-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const JisProductTransferNote = { export const JisProductTransferNote = {
baseURL:'JisProductTransferNote/base',//主表-列表 baseURL:'JisProductTransferNote/base',//主表-列表
detailURL:'app/jis-product-transfer-note',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-transfer-note',//主表-明细 + 明细-查看主表
detailListURL:'JisProductTransferNoteDetail/base',//明细-列表, detailListURL:'JisProductTransferNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const JisProductTransferNoteDetail = { export const JisProductTransferNoteDetail = {
baseURL:'JisProductTransferNoteDetail/base',//主表-列表 baseURL:'JisProductTransferNoteDetail/base',//主表-列表
detailURL:'app/jis-product-transfer-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/jis-product-transfer-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const MaterialRequest = { export const MaterialRequest = {
baseURL:'MaterialRequest/base',//主表-列表 baseURL:'MaterialRequest/base',//主表-列表
detailURL:'app/material-request',//主表-明细 + 明细-查看主表 detailURL:'app/material-request',//主表-明细 + 明细-查看主表
detailListURL:'MaterialRequestDetail/base',//明细-列表, detailListURL:'MaterialRequestDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const MaterialRequestDetail = { export const MaterialRequestDetail = {
baseURL:'MaterialRequestDetail/base',//主表-列表 baseURL:'MaterialRequestDetail/base',//主表-列表
detailURL:'app/material-request-detail',//主表-明细 + 明细-查看主表 detailURL:'app/material-request-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const OfflineSettlementNote = { export const OfflineSettlementNote = {
baseURL:'OfflineSettlementNote/base',//主表-列表 baseURL:'OfflineSettlementNote/base',//主表-列表
detailURL:'app/offline-settlement-note',//主表-明细 + 明细-查看主表 detailURL:'app/offline-settlement-note',//主表-明细 + 明细-查看主表
detailListURL:'OfflineSettlementNoteDetail/base',//明细-列表, detailListURL:'OfflineSettlementNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const OfflineSettlementNoteDetail = { export const OfflineSettlementNoteDetail = {
baseURL:'OfflineSettlementNoteDetail/base',//主表-列表 baseURL:'OfflineSettlementNoteDetail/base',//主表-列表
detailURL:'app/offline-settlement-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/offline-settlement-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const OuterJisDeliverNote = { export const OuterJisDeliverNote = {
baseURL:'OuterJisDeliverNote/base',//主表-列表 baseURL:'OuterJisDeliverNote/base',//主表-列表
detailURL:'app/outer-jis-deliver-note',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-deliver-note',//主表-明细 + 明细-查看主表
detailListURL:'OuterJisDeliverNoteDetail/base',//明细-列表, detailListURL:'OuterJisDeliverNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const OuterJisDeliverNoteDetail = { export const OuterJisDeliverNoteDetail = {
baseURL:'OuterJisDeliverNoteDetail/base',//主表-列表 baseURL:'OuterJisDeliverNoteDetail/base',//主表-列表
detailURL:'app/outer-jis-deliver-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-deliver-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const OuterJisReplaceNote = { export const OuterJisReplaceNote = {
baseURL:'OuterJisReplaceNote/base',//主表-列表 baseURL:'OuterJisReplaceNote/base',//主表-列表
detailURL:'app/outer-jis-replace-note',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-replace-note',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const OuterJisUnplannedIssueNote = { export const OuterJisUnplannedIssueNote = {
baseURL:'OuterJisUnplannedIssueNote/base',//主表-列表 baseURL:'OuterJisUnplannedIssueNote/base',//主表-列表
detailURL:'app/outer-jis-unplanned-issue-note',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-unplanned-issue-note',//主表-明细 + 明细-查看主表
detailListURL:'OuterJisUnplannedIssueNoteDetail/base',//明细-列表, detailListURL:'OuterJisUnplannedIssueNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const OuterJisUnplannedIssueNoteDetail = { export const OuterJisUnplannedIssueNoteDetail = {
baseURL:'OuterJisUnplannedIssueNoteDetail/base',//主表-列表 baseURL:'OuterJisUnplannedIssueNoteDetail/base',//主表-列表
detailURL:'app/outer-jis-unplanned-issue-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-unplanned-issue-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const OuterJisUnplannedReceiptNote = { export const OuterJisUnplannedReceiptNote = {
baseURL:'OuterJisUnplannedReceiptNote/base',//主表-列表 baseURL:'OuterJisUnplannedReceiptNote/base',//主表-列表
detailURL:'app/outer-jis-unplanned-receipt-note',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-unplanned-receipt-note',//主表-明细 + 明细-查看主表
detailListURL:'OuterJisUnplannedReceiptNoteDetail/base',//明细-列表, detailListURL:'OuterJisUnplannedReceiptNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const OuterJisUnplannedReceiptNoteDetail = { export const OuterJisUnplannedReceiptNoteDetail = {
baseURL:'OuterJisUnplannedReceiptNoteDetail/base',//主表-列表 baseURL:'OuterJisUnplannedReceiptNoteDetail/base',//主表-列表
detailURL:'app/outer-jis-unplanned-receipt-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/outer-jis-unplanned-receipt-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const OuterPillarDeliverNote = { export const OuterPillarDeliverNote = {
baseURL:'OuterPillarDeliverNote/base',//主表-列表 baseURL:'OuterPillarDeliverNote/base',//主表-列表
detailURL:'app/outer-pillar-deliver-note',//主表-明细 + 明细-查看主表 detailURL:'app/outer-pillar-deliver-note',//主表-明细 + 明细-查看主表
detailListURL:'OuterPillarDeliverNoteDetail/base',//明细-列表, detailListURL:'OuterPillarDeliverNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const OuterPillarDeliverNoteDetail = { export const OuterPillarDeliverNoteDetail = {
baseURL:'OuterPillarDeliverNoteDetail/base',//主表-列表 baseURL:'OuterPillarDeliverNoteDetail/base',//主表-列表
detailURL:'app/outer-pillar-deliver-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/outer-pillar-deliver-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const PillarDeliverNote = { export const PillarDeliverNote = {
baseURL:'PillarDeliverNote/base',//主表-列表 baseURL:'PillarDeliverNote/base',//主表-列表
detailURL:'app/pillar-deliver-note',//主表-明细 + 明细-查看主表 detailURL:'app/pillar-deliver-note',//主表-明细 + 明细-查看主表
detailListURL:'PillarDeliverNoteDetail/base',//明细-列表, detailListURL:'PillarDeliverNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const PillarDeliverNoteDetail = { export const PillarDeliverNoteDetail = {
baseURL:'PillarDeliverNoteDetail/base',//主表-列表 baseURL:'PillarDeliverNoteDetail/base',//主表-列表
detailURL:'app/pillar-deliver-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/pillar-deliver-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const PreparationPlan = { export const PreparationPlan = {
baseURL:'PreparationPlan/base',//主表-列表 baseURL:'PreparationPlan/base',//主表-列表
detailURL:'app/preparation-plan',//主表-明细 + 明细-查看主表 detailURL:'app/preparation-plan',//主表-明细 + 明细-查看主表
detailListURL:'PreparationPlanDetail/base',//明细-列表, detailListURL:'PreparationPlanDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const PreparationPlanDetail = { export const PreparationPlanDetail = {
baseURL:'PreparationPlanDetail/base',//主表-列表 baseURL:'PreparationPlanDetail/base',//主表-列表
detailURL:'app/preparation-plan-detail',//主表-明细 + 明细-查看主表 detailURL:'app/preparation-plan-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ProductionPlan = { export const ProductionPlan = {
baseURL:'ProductionPlan/base',//主表-列表 baseURL:'ProductionPlan/base',//主表-列表
detailURL:'app/production-plan',//主表-明细 + 明细-查看主表 detailURL:'app/production-plan',//主表-明细 + 明细-查看主表
detailListURL:'ProductionPlanDetail/base',//明细-列表, detailListURL:'ProductionPlanDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ProductionPlanDetail = { export const ProductionPlanDetail = {
baseURL:'ProductionPlanDetail/base',//主表-列表 baseURL:'ProductionPlanDetail/base',//主表-列表
detailURL:'app/production-plan-detail',//主表-明细 + 明细-查看主表 detailURL:'app/production-plan-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
// todo: // todo:
@ -459,310 +569,385 @@ export const ProductL7PartsNote = {
baseURL:'ProductL7PartsNote/base',//主表-列表 baseURL:'ProductL7PartsNote/base',//主表-列表
detailURL:'app/product-l7-parts-note',//主表-明细 + 明细-查看主表 detailURL:'app/product-l7-parts-note',//主表-明细 + 明细-查看主表
detailListURL:'ProductL7PartsNoteDetail/base',//明细-列表, detailListURL:'ProductL7PartsNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ProductL7PartsNoteDetail = { export const ProductL7PartsNoteDetail = {
baseURL:'ProductL7PartsNoteDetail/base',//主表-列表 baseURL:'ProductL7PartsNoteDetail/base',//主表-列表
detailURL:'app/product-l7-parts-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/product-l7-parts-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ProductReceiptLog = { export const ProductReceiptLog = {
baseURL:'ProductReceiptLog/base',//主表-列表 baseURL:'ProductReceiptLog/base',//主表-列表
detailURL:'app/product-receipt-log',//主表-明细 + 明细-查看主表 detailURL:'app/product-receipt-log',//主表-明细 + 明细-查看主表
detailListURL:'ProductReceiptLogDetail/base',//明细-列表, detailListURL:'ProductReceiptLogDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ProductReceiptLogDetail = { export const ProductReceiptLogDetail = {
baseURL:'ProductReceiptLogDetail/base',//主表-列表 baseURL:'ProductReceiptLogDetail/base',//主表-列表
detailURL:'app/product-receipt-log-detail',//主表-明细 + 明细-查看主表 detailURL:'app/product-receipt-log-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ProductReceiptNote = { export const ProductReceiptNote = {
baseURL:'ProductReceiptNote/base',//主表-列表 baseURL:'ProductReceiptNote/base',//主表-列表
detailURL:'app/product-receipt-note',//主表-明细 + 明细-查看主表 detailURL:'app/product-receipt-note',//主表-明细 + 明细-查看主表
detailListURL:'ProductReceiptNoteDetail/base',//明细-列表, detailListURL:'ProductReceiptNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ProductReceiptNoteDetail = { export const ProductReceiptNoteDetail = {
baseURL:'ProductReceiptNoteDetail/base',//主表-列表 baseURL:'ProductReceiptNoteDetail/base',//主表-列表
detailURL:'app/product-receipt-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/product-receipt-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ProductRecycleNote = { export const ProductRecycleNote = {
baseURL:'ProductRecycleNote/base',//主表-列表 baseURL:'ProductRecycleNote/base',//主表-列表
detailURL:'app/product-recycle-note',//主表-明细 + 明细-查看主表 detailURL:'app/product-recycle-note',//主表-明细 + 明细-查看主表
detailListURL:'ProductRecycleNoteDetail/base',//明细-列表, detailListURL:'ProductRecycleNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ProductRecycleNoteDetail = { export const ProductRecycleNoteDetail = {
baseURL:'ProductRecycleNoteDetail/base',//主表-列表 baseURL:'ProductRecycleNoteDetail/base',//主表-列表
detailURL:'app/product-recycle-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/product-recycle-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const PurchaseOrder = { export const PurchaseOrder = {
baseURL:'PurchaseOrder/base',//主表-列表 baseURL:'PurchaseOrder/base',//主表-列表
detailURL:'app/purchase-order',//主表-明细 + 明细-查看主表 detailURL:'app/purchase-order',//主表-明细 + 明细-查看主表
// detailInfoName:'asnNbr',//主表-明细查看详情的title名称
detailListURL:'PurchaseOrderDetail/base',//明细-列表, detailListURL:'PurchaseOrderDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
// masterName:'asnNbr'//明细获取主表信息的title名称 isMaster:true
} }
export const PurchaseOrderDetail = { export const PurchaseOrderDetail = {
baseURL:'PurchaseOrderDetail/base',//主表-列表 baseURL:'PurchaseOrderDetail/base',//主表-列表
detailURL:'app/purchase-order-detail',//主表-明细 + 明细-查看主表 detailURL:'app/purchase-order-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const PurchaseReceiptNote = { export const PurchaseReceiptNote = {
baseURL:'PurchaseReceiptNote/base',//主表-列表 baseURL:'PurchaseReceiptNote/base',//主表-列表
detailURL:'app/purchase-receipt-note',//主表-明细 + 明细-查看主表 detailURL:'app/purchase-receipt-note',//主表-明细 + 明细-查看主表
detailListURL:'PurchaseReceiptNoteDetail/base',//明细-列表, detailListURL:'PurchaseReceiptNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const PurchaseReceiptNoteDetail = { export const PurchaseReceiptNoteDetail = {
baseURL:'PurchaseReceiptNoteDetail/base',//主表-列表 baseURL:'PurchaseReceiptNoteDetail/base',//主表-列表
detailURL:'app/purchase-receipt-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/purchase-receipt-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const PurchaseReturnNote = { export const PurchaseReturnNote = {
baseURL:'PurchaseReturnNote/base',//主表-列表 baseURL:'PurchaseReturnNote/base',//主表-列表
detailURL:'app/purchase-return-note',//主表-明细 + 明细-查看主表 detailURL:'app/purchase-return-note',//主表-明细 + 明细-查看主表
detailListURL:'PurchaseReturnNoteDetail/base',//明细-列表, detailListURL:'PurchaseReturnNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const PurchaseReturnNoteDetail = { export const PurchaseReturnNoteDetail = {
baseURL:'PurchaseReturnNoteDetail/base',//主表-列表 baseURL:'PurchaseReturnNoteDetail/base',//主表-列表
detailURL:'app/purchase-return-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/purchase-return-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const PutawayNote = { export const PutawayNote = {
baseURL:'PutawayNote/base',//主表-列表 baseURL:'PutawayNote/base',//主表-列表
detailURL:'app/putaway-note',//主表-明细 + 明细-查看主表 detailURL:'app/putaway-note',//主表-明细 + 明细-查看主表
detailListURL:'PutawayNoteDetail/base',//明细-列表, detailListURL:'PutawayNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const PutawayNoteDetail = { export const PutawayNoteDetail = {
baseURL:'PutawayNoteDetail/base',//主表-列表 baseURL:'PutawayNoteDetail/base',//主表-列表
detailURL:'app/putaway-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/putaway-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ReceiptAbnormalNote = { export const ReceiptAbnormalNote = {
baseURL:'ReceiptAbnormalNote/base',//主表-列表 baseURL:'ReceiptAbnormalNote/base',//主表-列表
detailURL:'app/receipt-abnormal-note',//主表-明细 + 明细-查看主表 detailURL:'app/receipt-abnormal-note',//主表-明细 + 明细-查看主表
detailListURL:'ReceiptAbnormalNoteDetail/base',//明细-列表, detailListURL:'ReceiptAbnormalNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ReceiptAbnormalNoteDetail = { export const ReceiptAbnormalNoteDetail = {
baseURL:'ReceiptAbnormalNoteDetail/base',//主表-列表 baseURL:'ReceiptAbnormalNoteDetail/base',//主表-列表
detailURL:'app/receipt-abnormal-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/receipt-abnormal-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ReworkNote = { export const ReworkNote = {
baseURL:'ReworkNote/base',//主表-列表 baseURL:'ReworkNote/base',//主表-列表
detailURL:'app/rework-note',//主表-明细 + 明细-查看主表 detailURL:'app/rework-note',//主表-明细 + 明细-查看主表
detailListURL:'ReworkNoteDetail/base',//明细-列表, detailListURL:'ReworkNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ReworkNoteDetail = { export const ReworkNoteDetail = {
baseURL:'ReworkNoteDetail/base',//主表-列表 baseURL:'ReworkNoteDetail/base',//主表-列表
detailURL:'app/rework-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/rework-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const SaleOrder = { export const SaleOrder = {
baseURL:'SaleOrder/base',//主表-列表 baseURL:'SaleOrder/base',//主表-列表
detailURL:'app/sale-order',//主表-明细 + 明细-查看主表 detailURL:'app/sale-order',//主表-明细 + 明细-查看主表
detailListURL:'SaleOrderDetail/base',//明细-列表, detailListURL:'SaleOrderDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const SaleOrderDetail = { export const SaleOrderDetail = {
baseURL:'SaleOrderDetail/base',//主表-列表 baseURL:'SaleOrderDetail/base',//主表-列表
detailURL:'app/sale-order-detail',//主表-明细 + 明细-查看主表 detailURL:'app/sale-order-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ScrapNote = { export const ScrapNote = {
baseURL:'ScrapNote/base',//主表-列表 baseURL:'ScrapNote/base',//主表-列表
detailURL:'app/scrap-note',//主表-明细 + 明细-查看主表 detailURL:'app/scrap-note',//主表-明细 + 明细-查看主表
detailListURL:'ScrapNoteDetail/base',//明细-列表, detailListURL:'ScrapNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ScrapNoteDetail = { export const ScrapNoteDetail = {
baseURL:'ScrapNoteDetail/base',//主表-列表 baseURL:'ScrapNoteDetail/base',//主表-列表
detailURL:'app/scrap-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/scrap-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const ScrapOutNote = { export const ScrapOutNote = {
baseURL:'ScrapOutNote/base',//主表-列表 baseURL:'ScrapOutNote/base',//主表-列表
detailURL:'app/scrap-out-note',//主表-明细 + 明细-查看主表 detailURL:'app/scrap-out-note',//主表-明细 + 明细-查看主表
detailListURL:'ScrapOutNoteDetail/base',//明细-列表, detailListURL:'ScrapOutNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const ScrapOutNoteDetail = { export const ScrapOutNoteDetail = {
baseURL:'ScrapOutNoteDetail/base',//主表-列表 baseURL:'ScrapOutNoteDetail/base',//主表-列表
detailURL:'app/scrap-out-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/scrap-out-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const SingleDoorPanelCustomerReturnNote = { export const SingleDoorPanelCustomerReturnNote = {
baseURL:'SingleDoorPanelCustomerReturnNote/base',//主表-列表 baseURL:'SingleDoorPanelCustomerReturnNote/base',//主表-列表
detailURL:'app/single-door-panel-customer-return-note',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-customer-return-note',//主表-明细 + 明细-查看主表
detailListURL:'SingleDoorPanelCustomerReturnNoteDetail/base',//明细-列表, detailListURL:'SingleDoorPanelCustomerReturnNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const SingleDoorPanelCustomerReturnNoteDetail = { export const SingleDoorPanelCustomerReturnNoteDetail = {
baseURL:'SingleDoorPanelCustomerReturnNoteDetail/base',//主表-列表 baseURL:'SingleDoorPanelCustomerReturnNoteDetail/base',//主表-列表
detailURL:'app/single-door-panel-customer-return-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-customer-return-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const SingleDoorPanelDeliverNote = { export const SingleDoorPanelDeliverNote = {
baseURL:'SingleDoorPanelDeliverNote/base',//主表-列表 baseURL:'SingleDoorPanelDeliverNote/base',//主表-列表
detailURL:'app/single-door-panel-deliver-note',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-deliver-note',//主表-明细 + 明细-查看主表
detailListURL:'SingleDoorPanelDeliverNoteDetail/base',//明细-列表, detailListURL:'SingleDoorPanelDeliverNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const SingleDoorPanelDeliverNoteDetail = { export const SingleDoorPanelDeliverNoteDetail = {
baseURL:'SingleDoorPanelDeliverNoteDetail/base',//主表-列表 baseURL:'SingleDoorPanelDeliverNoteDetail/base',//主表-列表
detailURL:'app/single-door-panel-deliver-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-deliver-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const SingleDoorPanelProductAdjustNote = { export const SingleDoorPanelProductAdjustNote = {
baseURL:'SingleDoorPanelProductAdjustNote/base',//主表-列表 baseURL:'SingleDoorPanelProductAdjustNote/base',//主表-列表
detailURL:'app/single-door-panel-product-adjust-note',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-product-adjust-note',//主表-明细 + 明细-查看主表
detailListURL:'SingleDoorPanelProductAdjustNoteDetail/base',//明细-列表, detailListURL:'SingleDoorPanelProductAdjustNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const SingleDoorPanelProductAdjustNoteDetail = { export const SingleDoorPanelProductAdjustNoteDetail = {
baseURL:'SingleDoorPanelProductAdjustNoteDetail/base',//主表-列表 baseURL:'SingleDoorPanelProductAdjustNoteDetail/base',//主表-列表
detailURL:'app/single-door-panel-product-adjust-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-product-adjust-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const SingleDoorPanelProductReceiptNote = { export const SingleDoorPanelProductReceiptNote = {
baseURL:'SingleDoorPanelProductReceiptNote/base',//主表-列表 baseURL:'SingleDoorPanelProductReceiptNote/base',//主表-列表
detailURL:'app/single-door-panel-product-receipt-note',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-product-receipt-note',//主表-明细 + 明细-查看主表
detailListURL:'SingleDoorPanelProductReceiptNoteDetail/base',//明细-列表, detailListURL:'SingleDoorPanelProductReceiptNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const SingleDoorPanelProductReceiptNoteDetail = { export const SingleDoorPanelProductReceiptNoteDetail = {
baseURL:'SingleDoorPanelProductReceiptNoteDetail/base',//主表-列表 baseURL:'SingleDoorPanelProductReceiptNoteDetail/base',//主表-列表
detailURL:'app/single-door-panel-product-receipt-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-product-receipt-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const SingleDoorPanelProductTransferNote = { export const SingleDoorPanelProductTransferNote = {
baseURL:'SingleDoorPanelProductTransferNote/base',//主表-列表 baseURL:'SingleDoorPanelProductTransferNote/base',//主表-列表
detailURL:'app/single-door-panel-product-transfer-note',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-product-transfer-note',//主表-明细 + 明细-查看主表
detailListURL:'SingleDoorPanelProductTransferNoteDetail/base',//明细-列表, detailListURL:'SingleDoorPanelProductTransferNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const SingleDoorPanelProductTransferNoteDetail = { export const SingleDoorPanelProductTransferNoteDetail = {
baseURL:'SingleDoorPanelProductTransferNoteDetail/base',//主表-列表 baseURL:'SingleDoorPanelProductTransferNoteDetail/base',//主表-列表
detailURL:'app/single-door-panel-product-transfer-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/single-door-panel-product-transfer-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const StockReturnNote = { export const StockReturnNote = {
baseURL:'StockReturnNote/base',//主表-列表 baseURL:'StockReturnNote/base',//主表-列表
detailURL:'app/stock-return-note',//主表-明细 + 明细-查看主表 detailURL:'app/stock-return-note',//主表-明细 + 明细-查看主表
detailListURL:'StockReturnNoteDetail/base',//明细-列表, detailListURL:'StockReturnNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const StockReturnNoteDetail = { export const StockReturnNoteDetail = {
baseURL:'StockReturnNoteDetail/base',//主表-列表 baseURL:'StockReturnNoteDetail/base',//主表-列表
detailURL:'app/stock-return-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/stock-return-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const SupplierAsn = { export const SupplierAsn = {
baseURL:'SupplierAsn/base',//主表-列表 baseURL:'SupplierAsn/base',//主表-列表
detailURL:'app/supplier-asn',//主表-明细 + 明细-查看主表 detailURL:'app/supplier-asn',//主表-明细 + 明细-查看主表
detailListURL:'SupplierAsnDetail/base',//明细-列表, detailListURL:'SupplierAsnDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const SupplierAsnDetail = { export const SupplierAsnDetail = {
baseURL:'SupplierAsnDetail/base',//主表-列表 baseURL:'SupplierAsnDetail/base',//主表-列表
detailURL:'app/supplier-asn-detail',//主表-明细 + 明细-查看主表 detailURL:'app/supplier-asn-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const SupplierEvaluation = { export const SupplierEvaluation = {
baseURL:'SupplierEvaluation/base',//主表-列表 baseURL:'SupplierEvaluation/base',//主表-列表
detailURL:'app/supplier-evaluation',//主表-明细 + 明细-查看主表 detailURL:'app/supplier-evaluation',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const TracebackNote = { export const TracebackNote = {
baseURL:'TracebackNote/base',//主表-列表 baseURL:'TracebackNote/base',//主表-列表
detailURL:'app/traceback-note',//主表-明细 + 明细-查看主表 detailURL:'app/traceback-note',//主表-明细 + 明细-查看主表
detailListURL:'TracebackNoteDetail/base',//明细-列表, detailListURL:'TracebackNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const TracebackNoteDetail = { export const TracebackNoteDetail = {
baseURL:'TracebackNoteDetail/base',//主表-列表 baseURL:'TracebackNoteDetail/base',//主表-列表
detailURL:'app/traceback-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/traceback-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const TracebackProduct = { export const TracebackProduct = {
baseURL:'TracebackProduct/base',//主表-列表 baseURL:'TracebackProduct/base',//主表-列表
detailURL:'app/traceback-product',//主表-明细 + 明细-查看主表 detailURL:'app/traceback-product',//主表-明细 + 明细-查看主表
hasDetail:false,
} }
export const UnplannedIssueNote = { export const UnplannedIssueNote = {
baseURL:'UnplannedIssueNote/base',//主表-列表 baseURL:'UnplannedIssueNote/base',//主表-列表
detailURL:'app/unplanned-issue-note',//主表-明细 + 明细-查看主表 detailURL:'app/unplanned-issue-note',//主表-明细 + 明细-查看主表
detailListURL:'UnplannedIssueNoteDetail/base',//明细-列表, detailListURL:'UnplannedIssueNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const UnplannedIssueNoteDetail = { export const UnplannedIssueNoteDetail = {
baseURL:'UnplannedIssueNoteDetail/base',//主表-列表 baseURL:'UnplannedIssueNoteDetail/base',//主表-列表
detailURL:'app/unplanned-issue-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/unplanned-issue-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const UnplannedReceiptNote = { export const UnplannedReceiptNote = {
baseURL:'UnplannedReceiptNote/base',//主表-列表 baseURL:'UnplannedReceiptNote/base',//主表-列表
detailURL:'app/unplanned-receipt-note',//主表-明细 + 明细-查看主表 detailURL:'app/unplanned-receipt-note',//主表-明细 + 明细-查看主表
detailListURL:'UnplannedReceiptNoteDetail/base',//明细-列表, detailListURL:'UnplannedReceiptNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const UnplannedReceiptNoteDetail = { export const UnplannedReceiptNoteDetail = {
baseURL:'UnplannedReceiptNoteDetail/base',//主表-列表 baseURL:'UnplannedReceiptNoteDetail/base',//主表-列表
detailURL:'app/unplanned-receipt-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/unplanned-receipt-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const WarehouseTransferNote = { export const WarehouseTransferNote = {
baseURL:'WarehouseTransferNote/base',//主表-列表 baseURL:'WarehouseTransferNote/base',//主表-列表
detailURL:'app/warehouse-transfer-note',//主表-明细 + 明细-查看主表 detailURL:'app/warehouse-transfer-note',//主表-明细 + 明细-查看主表
detailListURL:'WarehouseTransferNoteDetail/base',//明细-列表, detailListURL:'WarehouseTransferNoteDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const WarehouseTransferNoteDetail = { export const WarehouseTransferNoteDetail = {
baseURL:'WarehouseTransferNoteDetail/base',//主表-列表 baseURL:'WarehouseTransferNoteDetail/base',//主表-列表
detailURL:'app/warehouse-transfer-note-detail',//主表-明细 + 明细-查看主表 detailURL:'app/warehouse-transfer-note-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }
export const WorkOrder = { export const WorkOrder = {
baseURL:'WorkOrder/base',//主表-列表 baseURL:'WorkOrder/base',//主表-列表
detailURL:'app/work-order',//主表-明细 + 明细-查看主表 detailURL:'app/work-order',//主表-明细 + 明细-查看主表
detailListURL:'WorkOrderDetail/base',//明细-列表, detailListURL:'WorkOrderDetail/base',//明细-列表,
masterId:'masterID',//明细获取主表信息的masterId hasDetail:true,
isMaster:true
} }
export const WorkOrderDetail = { export const WorkOrderDetail = {
baseURL:'WorkOrderDetail/base',//主表-列表 baseURL:'WorkOrderDetail/base',//主表-列表
detailURL:'app/work-order-detail',//主表-明细 + 明细-查看主表 detailURL:'app/work-order-detail',//主表-明细 + 明细-查看主表
hasDetail:true,
isMaster:false
} }

99
PC/UI.WinIn.FasterZ.Store/src/utils/index.js

@ -3,6 +3,7 @@
*/ */
import {fileStorage, getPageList } from '@/api/wms-api' import {fileStorage, getPageList } from '@/api/wms-api'
import store from '@/store' import store from '@/store'
import i18n from "@/lang"
/** /**
* @param {string} url * @param {string} url
@ -429,3 +430,101 @@
} }
} }
// get-dto-column-type接口表头类型初始化
export function initApiColumnsForDto (list,titleName,that) {
let data = that.$store.getters.dtoColumnTypes
console.log(417,data,titleName)
let _coloums = data[titleName].S
let _Columns_Table = []
if(_coloums){
let _data = _coloums.dtoList
_data.forEach(item=>{
// 如果list接口存在数据 ,与list接口返回字段比较处理,list接口存在的话则追加
let _if = firstWordSizeChange(item.name) != 'details'
if(list){
_if = firstWordSizeChange(item.name) in list && firstWordSizeChange(item.name) != 'details'
}
if(_if){
_Columns_Table.push(item)
}
})
}
if(list){
_Columns_Table = _Columns_Table.concat(specialAddColumns(list,titleName))
}
return _Columns_Table
}
// 特殊字段转义处理(api中没有的字段特殊处理)
export function specialAddColumns(list,titleName){
let _apiName = titleName
let _special_list=[]
// creationTime
if('creationTime' in list){
_special_list.push(
{
"name": "CreationTime",
"apiBaseType": "datetime",
"baseApiName": _apiName + 'CreationTime',
"label": zhApiColumnsLable(_apiName + 'CreationTime') || i18n.t('columNames.CreationTime'),
"prop": "creationTime",
}
)
}
// creatorId
if('creatorId' in list){
_special_list.push(
{
"name": "CreatorId",
"apiBaseType": "string",
"baseApiName": _apiName + 'CreatorId',
"label": zhApiColumnsLable(_apiName + 'CreatorId') || i18n.t('columNames.CreatorId'),
"prop": "creatorId",
}
)
}
// lastModificationTime
if('lastModificationTime' in list){
_special_list.push(
{
"name": "LastModificationTime",
"apiBaseType": "datetime",
"baseApiName": _apiName + 'LastModificationTime',
"label": zhApiColumnsLable(_apiName + 'LastModificationTime') || i18n.t('columNames.LastModificationTime'),
"prop": "lastModificationTime",
}
)
}
// lastModifierId
if('lastModifierId' in list){
_special_list.push(
{
"name": "LastModifierId",
"apiBaseType": "string",
"baseApiName": _apiName + 'LastModifierId',
"label": zhApiColumnsLable(_apiName + 'LastModifierId') || i18n.t('columNames.LastModifierId'),
"prop": "lastModifierId",
}
)
}
// tenantId
if('tenantId' in list){
_special_list.push(
{
"name": "TenantId",
"apiBaseType": "string",
"baseApiName": _apiName + 'TenantId',
"label": zhApiColumnsLable(_apiName + 'TenantId') || i18n.t('columNames.TenantId'),
"prop": "tenantId",
}
)
}
return _special_list
}
// 从字段中删除最后某字段
export function sliceStrEndDelete(str,deleteStr){
let _d_l = str.length - deleteStr.length
return str.slice(0,_d_l)
}
Loading…
Cancel
Save