提交 2c7ae486 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [后台服务,演示应用]

上级 6cf82d24
...@@ -141,6 +141,7 @@ import AppTodoList from './components/app-todo-list/app-todo-list.vue'; ...@@ -141,6 +141,7 @@ import AppTodoList from './components/app-todo-list/app-todo-list.vue';
import AppGridPagination from './components/app-grid-pagination/app-grid-pagination.vue'; import AppGridPagination from './components/app-grid-pagination/app-grid-pagination.vue';
import AppSearchbar from './components/app-searchbar/app-searchbar.vue'; import AppSearchbar from './components/app-searchbar/app-searchbar.vue';
import AppEYUpload from './components/app-ey-upload/app-ey-upload.vue'; import AppEYUpload from './components/app-ey-upload/app-ey-upload.vue';
import AppEYMpicker from './components/app-ey-mpikcer/app-ey-mpikcer.vue';
import ExtendActionTimeline from './components/extend-action-timeline/extend-action-timeline.vue'; import ExtendActionTimeline from './components/extend-action-timeline/extend-action-timeline.vue';
import AppAddressCascader from './components/app-address-cascader/app-address-cascader.vue'; import AppAddressCascader from './components/app-address-cascader/app-address-cascader.vue';
// 布局组件 // 布局组件
...@@ -313,6 +314,7 @@ export const AppComponents = { ...@@ -313,6 +314,7 @@ export const AppComponents = {
v.component('app-grid-pagination',AppGridPagination); v.component('app-grid-pagination',AppGridPagination);
v.component('app-searchbar',AppSearchbar); v.component('app-searchbar',AppSearchbar);
v.component('app-ey-upload',AppEYUpload); v.component('app-ey-upload',AppEYUpload);
v.component('app-ey-mpicker',AppEYMpicker);
v.component('extend-action-timeline',ExtendActionTimeline); v.component('extend-action-timeline',ExtendActionTimeline);
v.component('app-pickup-view-layout',AppPickUpViewLayout); v.component('app-pickup-view-layout',AppPickUpViewLayout);
v.component('app-mpickup-view-layout',AppMPickUpViewLayout); v.component('app-mpickup-view-layout',AppMPickUpViewLayout);
......
<template>
<div class="app-ey-mpicker">
多选
</div>
</template>
<script lang = 'ts'>
import { Component, Vue, Prop, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
@Component({
})
export default class AppEYMpicker extends Vue {
/**
* 传入url
*/
@Prop() url?: any;
/**
* 表单数据
*/
@Prop() activeData?: any;
/**
* 是否禁用
*/
@Prop() disabled?: boolean;
/**
* 编辑器参数
*/
@Prop() editorParams?: any;
/**
* 表单项值
*/
@Prop() curvalue?: any;
/**
* 值项
*/
@Prop() valueitem?: any;
/**
* 局部上下文导航参数
*
* @type {any}
* @memberof AppMpicker
*/
@Prop() public localContext!:any;
/**
* 局部导航参数
*
* @type {any}
* @memberof AppMpicker
*/
@Prop() public localParam!:any;
/**
* 表单项名称
*/
@Prop() name: any;
/**
* 视图上下文
*
* @type {*}
* @memberof AppMpicker
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof AppMpicker
*/
@Prop() public viewparams!: any;
/**
* AC参数
*
* @type {*}
* @memberof AppMpicker
*/
@Prop({default: () => {}}) public acParams?: any;
/**
* 应用实体主信息属性名称
*
* @type {string}
* @memberof AppMpicker
*/
@Prop({default: 'srfmajortext'}) public deMajorField!: string;
/**
* 应用实体主键属性名称
*
* @type {string}
* @memberof AppMpicker
*/
@Prop({default: 'srfkey'}) public deKeyField!: string;
/**
* 表单服务
*
* @type {*}
* @memberof AppMpicker
*/
@Prop() public service?: any;
/**
* 打开对应的选择视图
*/
@Prop() pickupView?: any;
/**
* 当前表单项绑定值key的集合
*/
public value: any = [];
/**
* 所有操作过的下拉选选项
*/
public items: Array<any> = [];
/**
* 选中项key-value键值对
*
*/
public selectItems: Array<any> = [];
/**
* 监听curvalue值
* @param newVal
* @param val
*/
@Watch('curvalue', {immediate:true, deep: true })
oncurvalueChange(newVal: any, val: any) {
this.value = [];
this.selectItems = [];
if (newVal) {
try {
this.selectItems = this.parseValue(JSON.parse(newVal));
this.selectItems.forEach((item: any) => {
this.value.push(item[this.deKeyField]);
let index = this.items.findIndex((i) => Object.is(i[this.deKeyField], item[this.deKeyField]));
if (index < 0) {
this.items.push({ [this.deMajorField]: item[this.deMajorField], [this.deKeyField]: item[this.deKeyField] });
}
});
} catch (error) {
if((error as any).name === 'SyntaxError'){
let srfkeys:any = newVal.split(',');
let srfmajortexts:any = null;
if(this.valueitem && this.activeData[this.valueitem]){
srfmajortexts = this.activeData[this.valueitem].split(',');
}
if(srfkeys.length && srfkeys.length > 0 && srfmajortexts.length && srfmajortexts.length > 0 && srfkeys.length == srfmajortexts.length){
srfkeys.forEach((id: any, index: number) => {
this.value.push(id);
this.selectItems.push({[this.deKeyField]: id, [this.deMajorField]: srfmajortexts[index]});
let _index = this.items.findIndex((i) => Object.is(i[this.deKeyField],id));
if (_index < 0) {
this.items.push({[this.deKeyField]: id, [this.deMajorField]: srfmajortexts[index]});
}
});
}
}
}
}
this.$forceUpdate();
}
/**
* 远程执行搜索
*
* @param {*} query
* @memberof AppMpicker
*/
public onSearch(query: any) {
// 公共参数处理
let data: any = {};
const bcancel: boolean = this.handlePublicParams(data);
if (!bcancel) {
return;
}
// 参数处理
let _context = data.context;
let _param = data.param;
Object.assign(_param ,{ query: query });
if (this.activeData) {
Object.assign(_param, { srfreferdata: this.activeData });
}
// 错误信息国际化
let error: string = (this.$t('components.appMpicker.error') as any);
let miss: string = (this.$t('components.appMpicker.miss') as any);
let requestException: string = (this.$t('components.appMpicker.requestException') as any);
if(!this.service){
this.$Notice.error({ title: error, desc: miss+'service' });
} else if(!this.acParams.serviceName) {
this.$Notice.error({ title: error, desc: miss+'serviceName' });
} else if(!this.acParams.interfaceName) {
this.$Notice.error({ title: error, desc: miss+'interfaceName' });
} else {
this.service.getItems(this.acParams.serviceName,this.acParams.interfaceName, _context, _param).then((response: any) => {
if (!response) {
this.$Notice.error({ title: error, desc: requestException });
} else {
this.items = [...response];
}
}).catch((error: any) => {
console.log(error);
});
}
}
/**
* 下拉选中回调
*
* @param {*} selects
* @memberof AppMpicker
*/
public onSelect(selects: any) {
let val: Array<any> = [];
if (selects.length > 0) {
selects.forEach((select: any) => {
let index = this.items.findIndex((item) => Object.is(item[this.deKeyField], select));
if (index >= 0) {
let item = this.items[index];
val.push({ [this.deKeyField]: item[this.deKeyField], [this.deMajorField]: item[this.deMajorField] });
} else {
index = this.selectItems.findIndex((item: any) => Object.is(item[this.deKeyField], select));
if (index >= 0) {
let item = this.selectItems[index];
val.push(item);
}
}
});
let value = val.length > 0 ? JSON.stringify(this.formatValue(val)) : '';
this.$emit('formitemvaluechange', { name: this.name, value: value });
}
}
/**
* 移除标签回调
*
* @param {*} tag
* @memberof AppMpicker
*/
public onRemove(tag: any) {
let index = this.selectItems.findIndex((item: any) => Object.is(item[this.deKeyField], tag));
if (index >= 0) {
this.selectItems.splice(index, 1);
let value = this.selectItems.length > 0 ? JSON.stringify(this.formatValue(this.selectItems)) : '';
this.$emit('formitemvaluechange', { name: this.name, value: value });
}
}
/**
* 公共参数处理
*
* @param {*} arg
* @returns
* @memberof AppMpicker
*/
public handlePublicParams(arg: any): boolean {
if (!this.activeData) {
this.$Notice.error({ title: (this.$t('components.AppMpicker.error') as any), desc: (this.$t('components.AppMpicker.formdataException') as any) });
return false;
}
// 合并表单参数
arg.param = this.viewparams ? JSON.parse(JSON.stringify(this.viewparams)) : {};
arg.context = this.context ? JSON.parse(JSON.stringify(this.context)) : {};
// 附加参数处理
if (this.localContext && Object.keys(this.localContext).length >0) {
let _context = this.$util.computedNavData(this.activeData,arg.context,arg.param,this.localContext);
Object.assign(arg.context,_context);
}
if (this.localParam && Object.keys(this.localParam).length >0) {
let _param = this.$util.computedNavData(this.activeData,arg.param,arg.param,this.localParam);
Object.assign(arg.param,_param);
}
return true;
}
/**
* 打开视图
*
* @returns
* @memberof AppMpicker
*/
public openView() {
if (this.disabled) {
return;
}
if (this.pickupView && Object.keys(this.pickupView).length > 0) {
// 参数处理
const view = { ...this.pickupView };
// 公共参数处理
let data: any = {};
const bcancel: boolean = this.handlePublicParams(data);
if (!bcancel) {
return;
}
// 参数处理
let _context = data.context;
let _viewparams = data.param;
let _selectItems = JSON.parse(JSON.stringify(this.selectItems));
if(!Object.is(this.deKeyField,"srfkey")){
_selectItems.forEach((item:any, index:number)=>{
_selectItems[index].srfkey = item[this.deKeyField];
});
}
_context = Object.assign(_context, { srfparentdata: { srfparentkey: this.activeData[this.deKeyField] }, });
_viewparams = Object.assign(_viewparams,{ selectedData: [..._selectItems]});
let formdata = this.activeData;
const modal: Subject<any> = this.$appmodal.openModal(view, _context, _viewparams)
modal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
let selects: Array<any> = [];
if (result.datas && Array.isArray(result.datas)) {
result.datas.forEach((select: any) => {
selects.push({ [this.deKeyField]: select[this.deKeyField], [this.deMajorField]: select[this.deMajorField] });
let index = this.items.findIndex((item) => Object.is(item[this.deKeyField], select[this.deKeyField]));
if (index < 0) {
this.items.push({ [this.deMajorField]: select[this.deMajorField], [this.deKeyField]: select[this.deKeyField] });
}
});
}
if (this.name && this.activeData) {
let value = selects.length > 0 ? JSON.stringify(this.formatValue(selects)) : '';
this.$emit('formitemvaluechange', { name: this.name, value: value });
}
})
}
}
/**
* 解析值,把srfkey和srfmajortext解析成实体属性名
*
* @param {any[]} value 需要转换的数组
* @memberof AppMpicker
*/
public parseValue(value: any[]){
let result = [];
if(this.deKeyField !== "srfkey" || this.deMajorField !== "srfmajortext"){
value.forEach((item: any) => {
result.push({[this.deMajorField]: item.srfmajortext, [this.deKeyField]: item.srfkey});
});
}else{
result = value;
}
return result;
}
/**
* 格式化值,把实体属性名格式化成srfkey和srfmajortext
*
* @param {any[]} value 需要转换的数组
* @memberof AppMpicker
*/
public formatValue(value: any[]){
let result = [];
if(this.deKeyField !== "srfkey" || this.deMajorField !== "srfmajortext"){
value.forEach((item: any) => {
result.push({srfmajortext : item[this.deMajorField], srfkey : item[this.deKeyField]});
});
}else{
result = value;
}
return result;
}
}
</script>
<style lang="scss">
@import './app-ey-mpicker.scss';
</style>
\ No newline at end of file
...@@ -466,6 +466,7 @@ function getLocaleResourceBase(){ ...@@ -466,6 +466,7 @@ function getLocaleResourceBase(){
details: { details: {
group1: commonLogic.appcommonhandle("订单基本信息",null), group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel2: commonLogic.appcommonhandle("文件上传",null), grouppanel2: commonLogic.appcommonhandle("文件上传",null),
grouppanel3: commonLogic.appcommonhandle("数据多选",null),
druipart1: commonLogic.appcommonhandle("",null), druipart1: commonLogic.appcommonhandle("",null),
grouppanel1: commonLogic.appcommonhandle("订单明细",null), grouppanel1: commonLogic.appcommonhandle("订单明细",null),
formpage1: commonLogic.appcommonhandle("基本信息",null), formpage1: commonLogic.appcommonhandle("基本信息",null),
...@@ -490,6 +491,7 @@ function getLocaleResourceBase(){ ...@@ -490,6 +491,7 @@ function getLocaleResourceBase(){
orderstate: commonLogic.appcommonhandle("订单状态",null), orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null), memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("文件上传",null), formitem: commonLogic.appcommonhandle("文件上传",null),
formitem1: commonLogic.appcommonhandle("安永多选",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null), ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null), ibizorderid: commonLogic.appcommonhandle("订单标识",null),
}, },
......
...@@ -466,6 +466,7 @@ function getLocaleResourceBase(){ ...@@ -466,6 +466,7 @@ function getLocaleResourceBase(){
details: { details: {
group1: commonLogic.appcommonhandle("订单基本信息",null), group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel2: commonLogic.appcommonhandle("文件上传",null), grouppanel2: commonLogic.appcommonhandle("文件上传",null),
grouppanel3: commonLogic.appcommonhandle("数据多选",null),
druipart1: commonLogic.appcommonhandle("",null), druipart1: commonLogic.appcommonhandle("",null),
grouppanel1: commonLogic.appcommonhandle("订单明细",null), grouppanel1: commonLogic.appcommonhandle("订单明细",null),
formpage1: commonLogic.appcommonhandle("基本信息",null), formpage1: commonLogic.appcommonhandle("基本信息",null),
...@@ -490,6 +491,7 @@ function getLocaleResourceBase(){ ...@@ -490,6 +491,7 @@ function getLocaleResourceBase(){
orderstate: commonLogic.appcommonhandle("订单状态",null), orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null), memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("文件上传",null), formitem: commonLogic.appcommonhandle("文件上传",null),
formitem1: commonLogic.appcommonhandle("安永多选",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null), ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null), ibizorderid: commonLogic.appcommonhandle("订单标识",null),
}, },
......
...@@ -466,6 +466,7 @@ function getLocaleResourceBase(){ ...@@ -466,6 +466,7 @@ function getLocaleResourceBase(){
details: { details: {
group1: commonLogic.appcommonhandle("订单基本信息",null), group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel2: commonLogic.appcommonhandle("文件上传",null), grouppanel2: commonLogic.appcommonhandle("文件上传",null),
grouppanel3: commonLogic.appcommonhandle("数据多选",null),
druipart1: commonLogic.appcommonhandle("",null), druipart1: commonLogic.appcommonhandle("",null),
grouppanel1: commonLogic.appcommonhandle("订单明细",null), grouppanel1: commonLogic.appcommonhandle("订单明细",null),
formpage1: commonLogic.appcommonhandle("基本信息",null), formpage1: commonLogic.appcommonhandle("基本信息",null),
...@@ -490,6 +491,7 @@ function getLocaleResourceBase(){ ...@@ -490,6 +491,7 @@ function getLocaleResourceBase(){
orderstate: commonLogic.appcommonhandle("订单状态",null), orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null), memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("文件上传",null), formitem: commonLogic.appcommonhandle("文件上传",null),
formitem1: commonLogic.appcommonhandle("安永多选",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null), ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null), ibizorderid: commonLogic.appcommonhandle("订单标识",null),
}, },
......
...@@ -235,8 +235,8 @@ export const PageComponents = { ...@@ -235,8 +235,8 @@ export const PageComponents = {
Vue.component('ibizappeditoredit-view', () => import('@pages/sample/ibizappeditoredit-view/ibizappeditoredit-view.vue')); Vue.component('ibizappeditoredit-view', () => import('@pages/sample/ibizappeditoredit-view/ibizappeditoredit-view.vue'));
Vue.component('ibizappextendeditoredit-view', () => import('@pages/sample/ibizappextendeditoredit-view/ibizappextendeditoredit-view.vue')); Vue.component('ibizappextendeditoredit-view', () => import('@pages/sample/ibizappextendeditoredit-view/ibizappextendeditoredit-view.vue'));
Vue.component('ibizsample0002-pickup-grid-view', () => import('@pages/sample/ibizsample0002-pickup-grid-view/ibizsample0002-pickup-grid-view.vue')); Vue.component('ibizsample0002-pickup-grid-view', () => import('@pages/sample/ibizsample0002-pickup-grid-view/ibizsample0002-pickup-grid-view.vue'));
Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'));
Vue.component('ibizorder-pickup-grid-view', () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue')); Vue.component('ibizorder-pickup-grid-view', () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'));
Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'));
Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue')); Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'));
Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue')); Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'));
Vue.component('ibizorder-detail-sedit-view9', () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue')); Vue.component('ibizorder-detail-sedit-view9', () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'));
......
...@@ -3530,32 +3530,32 @@ const router = new Router({ ...@@ -3530,32 +3530,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizsample0002-pickup-grid-view/ibizsample0002-pickup-grid-view.vue'), component: () => import('@pages/sample/ibizsample0002-pickup-grid-view/ibizsample0002-pickup-grid-view.vue'),
}, },
{ {
path: 'ibizcustomers/:ibizcustomer?/pickupgridview/:pickupgridview?', path: 'ibizorders/:ibizorder?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.ibizcustomer.views.pickupgridview.caption', caption: 'entities.ibizorder.views.pickupgridview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'), component: () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'),
}, },
{ {
path: 'ibizorders/:ibizorder?/pickupgridview/:pickupgridview?', path: 'ibizcustomers/:ibizcustomer?/pickupgridview/:pickupgridview?',
meta: { meta: {
caption: 'entities.ibizorder.views.pickupgridview.caption', caption: 'entities.ibizcustomer.views.pickupgridview.caption',
info:'', info:'',
parameters: [ parameters: [
{ pathName: 'index', parameterName: 'index' }, { pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' }, { pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' },
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'), component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
}, },
{ {
path: 'ibizuniproducts/:ibizuniproduct?/pickupgridview/:pickupgridview?', path: 'ibizuniproducts/:ibizuniproduct?/pickupgridview/:pickupgridview?',
......
...@@ -1500,6 +1500,7 @@ export const viewstate: any = { ...@@ -1500,6 +1500,7 @@ export const viewstate: any = {
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'f083dd992abed44bf15a9930b45c3895', 'f083dd992abed44bf15a9930b45c3895',
'cb616d70c0b3978802b768cb6c7a67b4',
'aa59a7578f3da5d69d6e28ab021d867c', 'aa59a7578f3da5d69d6e28ab021d867c',
'6bc6e690dc5abfc6d89703e4459c785c', '6bc6e690dc5abfc6d89703e4459c785c',
], ],
......
...@@ -191,6 +191,37 @@ ...@@ -191,6 +191,37 @@
</row> </row>
</app-form-group> </app-form-group>
</i-col>
<i-col v-show="detailsModel.grouppanel3.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel3.manageContainerStatus" :isManageContainer="detailsModel.grouppanel3.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel3')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel3.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizorder.main_form.details.grouppanel3')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.formitem1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem1' :itemRules="this.rules().formitem1" class='' :caption="$t('entities.ibizorder.main_form.details.formitem1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem1.error" :isEmptyCaption="false" labelPos="LEFT">
<app-ey-mpicker
:activeData="data"
:disabled="detailsModel.formitem1.disabled"
:curvalue="data.formitem1"
name="formitem1"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:service="service"
valueitem=''
:acParams="{ }"
:pickupView="{ viewname: 'ibizorder-pickup-grid-view', title: $t('entities.ibizorder.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizorders', parameterName: 'ibizorder' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
@formitemvaluechange="onFormItemValueChange"
style="">
</app-ey-mpicker>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col> </i-col>
<i-col v-show="detailsModel.grouppanel1.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.grouppanel1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel1.manageContainerStatus" :isManageContainer="detailsModel.grouppanel1.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel1')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizorder.main_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" > <app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel1.manageContainerStatus" :isManageContainer="detailsModel.grouppanel1.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel1')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizorder.main_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
...@@ -692,6 +723,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -692,6 +723,7 @@ export default class MainBase extends Vue implements ControlInterface {
orderstate: null, orderstate: null,
memo: null, memo: null,
formitem: null, formitem: null,
formitem1: null,
ibizcustomerid: null, ibizcustomerid: null,
ibizorderid: null, ibizorderid: null,
ibizorder:null, ibizorder:null,
...@@ -793,6 +825,10 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -793,6 +825,10 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem.required, type: 'string', message: '文件上传 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem.required, type: 'string', message: '文件上传 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem.required, type: 'string', message: '文件上传 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem.required, type: 'string', message: '文件上传 值不能为空', trigger: 'blur' },
], ],
formitem1: [
{ required: this.detailsModel.formitem1.required, type: 'string', message: '安永多选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem1.required, type: 'string', message: '安永多选 值不能为空', trigger: 'blur' },
],
} }
} }
...@@ -903,6 +939,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -903,6 +939,8 @@ export default class MainBase extends Vue implements ControlInterface {
group1: new FormGroupPanelModel({ caption: '订单基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '订单基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
grouppanel2: new FormGroupPanelModel({ caption: '文件上传', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) grouppanel2: new FormGroupPanelModel({ caption: '文件上传', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
,
grouppanel3: new FormGroupPanelModel({ caption: '数据多选', detailType: 'GROUPPANEL', name: 'grouppanel3', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorder.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
druipart1: new FormDRUIPartModel({ caption: '', detailType: 'DRUIPART', name: 'druipart1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) druipart1: new FormDRUIPartModel({ caption: '', detailType: 'DRUIPART', name: 'druipart1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
, ,
...@@ -951,6 +989,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -951,6 +989,8 @@ export default class MainBase extends Vue implements ControlInterface {
memo: new FormItemModel({ caption: '备注', detailType: 'FORMITEM', name: 'memo', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) memo: new FormItemModel({ caption: '备注', detailType: 'FORMITEM', name: 'memo', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem: new FormItemModel({ caption: '文件上传', detailType: 'FORMITEM', name: 'formitem', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem: new FormItemModel({ caption: '文件上传', detailType: 'FORMITEM', name: 'formitem', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem1: new FormItemModel({ caption: '安永多选', detailType: 'FORMITEM', name: 'formitem1', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizcustomerid: new FormItemModel({ caption: '客户标识', detailType: 'FORMITEM', name: 'ibizcustomerid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizcustomerid: new FormItemModel({ caption: '客户标识', detailType: 'FORMITEM', name: 'ibizcustomerid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1210,6 +1250,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1210,6 +1250,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'formitem', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 formitem1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.formitem1')
onFormitem1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem1', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizcustomerid 值 * 监控表单属性 ibizcustomerid 值
* *
...@@ -1313,6 +1365,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1313,6 +1365,8 @@ export default class MainBase extends Vue implements ControlInterface {
......
...@@ -119,6 +119,10 @@ export default class MainModel { ...@@ -119,6 +119,10 @@ export default class MainModel {
prop: 'tp', prop: 'tp',
dataType: 'LONGTEXT', dataType: 'LONGTEXT',
}, },
{
name: 'formitem1',
dataType:'FORMITEM',
},
{ {
name: 'ibizcustomerid', name: 'ibizcustomerid',
prop: 'ibizcustomerid', prop: 'ibizcustomerid',
......
...@@ -288,7 +288,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -288,7 +288,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase * @memberof IBIZOrderPickupGridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -431,20 +431,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -431,20 +431,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -979,7 +965,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -979,7 +965,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1119,7 +1105,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1119,7 +1105,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1233,7 +1219,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1233,7 +1219,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2166,7 +2152,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2166,7 +2152,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2175,7 +2161,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2175,7 +2161,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2251,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2251,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -105,21 +105,6 @@ export default class MainModel { ...@@ -105,21 +105,6 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -23,18 +23,6 @@ ...@@ -23,18 +23,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
...@@ -47,6 +35,18 @@ ...@@ -47,6 +35,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
......
...@@ -31,18 +31,6 @@ ...@@ -31,18 +31,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "作者",
"codeName" : "author", "codeName" : "author",
...@@ -55,6 +43,18 @@ ...@@ -55,6 +43,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -169,6 +169,9 @@ ...@@ -169,6 +169,9 @@
"name" : "TP", "name" : "TP",
"codeName" : "Tp" "codeName" : "Tp"
} }
}, {
"id" : "formitem1",
"dataType" : 25
}, { }, {
"id" : "ibizcustomerid", "id" : "ibizcustomerid",
"hidden" : true, "hidden" : true,
...@@ -746,6 +749,69 @@ ...@@ -746,6 +749,69 @@
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2", "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "数据多选",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "安永多选",
"codeName" : "formitem1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem1",
"name" : "formitem1",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorStyle" : "EY",
"editorType" : "PICKER",
"name" : "formitem1",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderPickupGridView.json",
"viewType" : "DEPICKUPGRIDVIEW"
},
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem1",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"infoGroupMode" : false,
"showCaption" : true
}, { }, {
"actionGroupExtractMode" : "ITEM", "actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
......
...@@ -1151,6 +1151,9 @@ ...@@ -1151,6 +1151,9 @@
"name" : "TP", "name" : "TP",
"codeName" : "Tp" "codeName" : "Tp"
} }
}, {
"id" : "formitem1",
"dataType" : 25
}, { }, {
"id" : "ibizcustomerid", "id" : "ibizcustomerid",
"hidden" : true, "hidden" : true,
...@@ -1728,6 +1731,69 @@ ...@@ -1728,6 +1731,69 @@
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2", "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "数据多选",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "安永多选",
"codeName" : "formitem1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem1",
"name" : "formitem1",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorStyle" : "EY",
"editorType" : "PICKER",
"name" : "formitem1",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderPickupGridView.json",
"viewType" : "DEPICKUPGRIDVIEW"
},
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem1",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"infoGroupMode" : false,
"showCaption" : true
}, { }, {
"actionGroupExtractMode" : "ITEM", "actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
......
...@@ -53,18 +53,6 @@ ...@@ -53,18 +53,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
...@@ -77,6 +65,18 @@ ...@@ -77,6 +65,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
......
...@@ -99,18 +99,6 @@ ...@@ -99,18 +99,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "作者",
"codeName" : "author", "codeName" : "author",
...@@ -123,6 +111,18 @@ ...@@ -123,6 +111,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -1600,6 +1600,9 @@ ...@@ -1600,6 +1600,9 @@
"name" : "TP", "name" : "TP",
"codeName" : "Tp" "codeName" : "Tp"
} }
}, {
"id" : "formitem1",
"dataType" : 25
}, { }, {
"id" : "ibizcustomerid", "id" : "ibizcustomerid",
"hidden" : true, "hidden" : true,
...@@ -2177,6 +2180,69 @@ ...@@ -2177,6 +2180,69 @@
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2", "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "数据多选",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "安永多选",
"codeName" : "formitem1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem1",
"name" : "formitem1",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorStyle" : "EY",
"editorType" : "PICKER",
"name" : "formitem1",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderPickupGridView.json",
"viewType" : "DEPICKUPGRIDVIEW"
},
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem1",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"infoGroupMode" : false,
"showCaption" : true
}, { }, {
"actionGroupExtractMode" : "ITEM", "actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
......
...@@ -744,6 +744,9 @@ ...@@ -744,6 +744,9 @@
"name" : "TP", "name" : "TP",
"codeName" : "Tp" "codeName" : "Tp"
} }
}, {
"id" : "formitem1",
"dataType" : 25
}, { }, {
"id" : "ibizcustomerid", "id" : "ibizcustomerid",
"hidden" : true, "hidden" : true,
...@@ -1321,6 +1324,69 @@ ...@@ -1321,6 +1324,69 @@
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2", "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "数据多选",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "安永多选",
"codeName" : "formitem1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem1",
"name" : "formitem1",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorStyle" : "EY",
"editorType" : "PICKER",
"name" : "formitem1",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderPickupGridView.json",
"viewType" : "DEPICKUPGRIDVIEW"
},
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem1",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"infoGroupMode" : false,
"showCaption" : true
}, { }, {
"actionGroupExtractMode" : "ITEM", "actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
......
...@@ -279,6 +279,9 @@ ...@@ -279,6 +279,9 @@
"name" : "TP", "name" : "TP",
"codeName" : "Tp" "codeName" : "Tp"
} }
}, {
"id" : "formitem1",
"dataType" : 25
}, { }, {
"id" : "ibizcustomerid", "id" : "ibizcustomerid",
"hidden" : true, "hidden" : true,
...@@ -856,6 +859,69 @@ ...@@ -856,6 +859,69 @@
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2", "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "数据多选",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "安永多选",
"codeName" : "formitem1",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem1",
"name" : "formitem1",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorStyle" : "EY",
"editorType" : "PICKER",
"name" : "formitem1",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderPickupGridView.json",
"viewType" : "DEPICKUPGRIDVIEW"
},
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem1",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"infoGroupMode" : false,
"showCaption" : true
}, { }, {
"actionGroupExtractMode" : "ITEM", "actionGroupExtractMode" : "ITEM",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
......
...@@ -2222,6 +2222,14 @@ ...@@ -2222,6 +2222,14 @@
"name" : "【单选】人员(指定单位内人员)", "name" : "【单选】人员(指定单位内人员)",
"rTMOSFilePath" : "pssysapps/Web/psappeditorstylerefs/EMPSELECT", "rTMOSFilePath" : "pssysapps/Web/psappeditorstylerefs/EMPSELECT",
"styleCode" : "EMPSELECT" "styleCode" : "EMPSELECT"
}, {
"codeName" : "EY",
"containerType" : "FORMITEM",
"editorType" : "PICKER",
"mOSFilePath" : "pssysapps/Web/psappeditorstylerefs/EY",
"name" : "安永多选",
"rTMOSFilePath" : "pssysapps/Web/psappeditorstylerefs/EY",
"styleCode" : "EY"
}, { }, {
"codeName" : "EY", "codeName" : "EY",
"containerType" : "FORMITEM", "containerType" : "FORMITEM",
...@@ -1023,6 +1023,17 @@ ...@@ -1023,6 +1023,17 @@
"rTMOSFilePath" : "pssyseditorstyles/EMPSELECT", "rTMOSFilePath" : "pssyseditorstyles/EMPSELECT",
"styleCode" : "EMPSELECT", "styleCode" : "EMPSELECT",
"replaceDefault" : false "replaceDefault" : false
}, {
"codeName" : "EY",
"dynaModelFilePath" : "PSSYSEDITORSTYLES/EY.json",
"editorHeight" : -1.0,
"editorType" : "PICKER",
"editorWidth" : -1.0,
"mOSFilePath" : "pssyseditorstyles/EY",
"name" : "安永多选",
"rTMOSFilePath" : "pssyseditorstyles/EY",
"styleCode" : "EY",
"replaceDefault" : false
}, { }, {
"codeName" : "EMPMULTIPLE", "codeName" : "EMPMULTIPLE",
"dynaModelFilePath" : "PSSYSEDITORSTYLES/EMPMULTIPLE.json", "dynaModelFilePath" : "PSSYSEDITORSTYLES/EMPMULTIPLE.json",
......
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
<!--输出实体[IBIZORDER]数据结构 --> <!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-741-14"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-744-14">
<createTable tableName="T_IBIZORDER"> <createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)"> <column name="TP" remarks="" type="TEXT(1048576)">
</column> </column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-741-8" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-744-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]> <![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册