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

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

上级 fb22016e
...@@ -287,6 +287,7 @@ function getLocaleResourceBase(){ ...@@ -287,6 +287,7 @@ function getLocaleResourceBase(){
formitem5: commonLogic.appcommonhandle("数据链接",null), formitem5: commonLogic.appcommonhandle("数据链接",null),
formitem9: commonLogic.appcommonhandle("数据选择(下拉视图)",null), formitem9: commonLogic.appcommonhandle("数据选择(下拉视图)",null),
formitem10: commonLogic.appcommonhandle("数据选择(下拉视图、数据链接)",null), formitem10: commonLogic.appcommonhandle("数据选择(下拉视图、数据链接)",null),
formitem11: commonLogic.appcommonhandle("数据选择(嵌入选择视图)",null),
formitem6: commonLogic.appcommonhandle("地址框(支持选择、AC)",null), formitem6: commonLogic.appcommonhandle("地址框(支持选择、AC)",null),
formitem: commonLogic.appcommonhandle("地址栏(选择)",null), formitem: commonLogic.appcommonhandle("地址栏(选择)",null),
ibizsample0002id: commonLogic.appcommonhandle("值项表单项",null), ibizsample0002id: commonLogic.appcommonhandle("值项表单项",null),
......
...@@ -287,6 +287,7 @@ function getLocaleResourceBase(){ ...@@ -287,6 +287,7 @@ function getLocaleResourceBase(){
formitem5: commonLogic.appcommonhandle("数据链接",null), formitem5: commonLogic.appcommonhandle("数据链接",null),
formitem9: commonLogic.appcommonhandle("数据选择(下拉视图)",null), formitem9: commonLogic.appcommonhandle("数据选择(下拉视图)",null),
formitem10: commonLogic.appcommonhandle("数据选择(下拉视图、数据链接)",null), formitem10: commonLogic.appcommonhandle("数据选择(下拉视图、数据链接)",null),
formitem11: commonLogic.appcommonhandle("数据选择(嵌入选择视图)",null),
formitem6: commonLogic.appcommonhandle("地址框(支持选择、AC)",null), formitem6: commonLogic.appcommonhandle("地址框(支持选择、AC)",null),
formitem: commonLogic.appcommonhandle("地址栏(选择)",null), formitem: commonLogic.appcommonhandle("地址栏(选择)",null),
ibizsample0002id: commonLogic.appcommonhandle("值项表单项",null), ibizsample0002id: commonLogic.appcommonhandle("值项表单项",null),
......
...@@ -287,6 +287,7 @@ function getLocaleResourceBase(){ ...@@ -287,6 +287,7 @@ function getLocaleResourceBase(){
formitem5: commonLogic.appcommonhandle("数据链接",null), formitem5: commonLogic.appcommonhandle("数据链接",null),
formitem9: commonLogic.appcommonhandle("数据选择(下拉视图)",null), formitem9: commonLogic.appcommonhandle("数据选择(下拉视图)",null),
formitem10: commonLogic.appcommonhandle("数据选择(下拉视图、数据链接)",null), formitem10: commonLogic.appcommonhandle("数据选择(下拉视图、数据链接)",null),
formitem11: commonLogic.appcommonhandle("数据选择(嵌入选择视图)",null),
formitem6: commonLogic.appcommonhandle("地址框(支持选择、AC)",null), formitem6: commonLogic.appcommonhandle("地址框(支持选择、AC)",null),
formitem: commonLogic.appcommonhandle("地址栏(选择)",null), formitem: commonLogic.appcommonhandle("地址栏(选择)",null),
ibizsample0002id: commonLogic.appcommonhandle("值项表单项",null), ibizsample0002id: commonLogic.appcommonhandle("值项表单项",null),
......
...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -964,7 +964,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: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1123,7 +1123,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: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1237,7 +1237,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2132,7 +2132,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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);
...@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2141,7 +2141,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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);
...@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2217,7 +2217,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: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -97,6 +97,7 @@ export default class MainModel { ...@@ -97,6 +97,7 @@ export default class MainModel {
name: 'ibizorderdetail', name: 'ibizorderdetail',
prop: 'ibizorderdetailid', prop: 'ibizorderdetailid',
}, },
{ {
name:'size', name:'size',
prop:'size', prop:'size',
......
...@@ -616,7 +616,7 @@ ...@@ -616,7 +616,7 @@
</i-col> </i-col>
<i-col v-show="detailsModel.formitem5.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }"> <i-col v-show="detailsModel.formitem5.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item name='formitem5' :itemRules="this.rules().formitem5" class='' :caption="$t('entities.ibizsample0001.main4_form.details.formitem5')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem5.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='formitem5' :itemRules="this.rules().formitem5" class='' :caption="$t('entities.ibizsample0001.main4_form.details.formitem5')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.formitem5.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker <app-picker
:formState="formState" :formState="formState"
...@@ -690,9 +690,33 @@ ...@@ -690,9 +690,33 @@
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem11.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item name='formitem11' :itemRules="this.rules().formitem11" class='' :caption="$t('entities.ibizsample0001.main4_form.details.formitem11')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.formitem11.error" :isEmptyCaption="false" labelPos="LEFT">
<app-embed-picker
:formState="formState"
:data="JSON.stringify(this.data)"
:context="context"
:viewparams="viewparams"
:ignorefieldvaluechange="ignorefieldvaluechange"
:value="data.formitem11"
placeholder='数据选择(嵌入选择视图)'
emptyText="数据选择(嵌入选择视图)"
name="formitem11"
:localContext ='{ }'
:localParam ='{ }'
valueItem='ibizsample0002id'
refviewname="ibizsample0002-pickup-view"
@formitemvaluechange="onFormItemValueChange"
style="">
</app-embed-picker>
</app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.formitem6.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }"> <i-col v-show="detailsModel.formitem6.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item name='formitem6' :itemRules="this.rules().formitem6" class='' :caption="$t('entities.ibizsample0001.main4_form.details.formitem6')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem6.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='formitem6' :itemRules="this.rules().formitem6" class='' :caption="$t('entities.ibizsample0001.main4_form.details.formitem6')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.formitem6.error" :isEmptyCaption="false" labelPos="LEFT">
<app-mpicker <app-mpicker
:activeData="data" :activeData="data"
...@@ -715,7 +739,7 @@ ...@@ -715,7 +739,7 @@
</i-col> </i-col>
<i-col v-show="detailsModel.formitem.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }"> <i-col v-show="detailsModel.formitem.visible" :style="{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item name='formitem' :itemRules="this.rules().formitem" class='' :caption="$t('entities.ibizsample0001.main4_form.details.formitem')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='formitem' :itemRules="this.rules().formitem" class='' :caption="$t('entities.ibizsample0001.main4_form.details.formitem')" uiStyle="DEFAULT" :labelWidth="200" :isShowCaption="true" :error="detailsModel.formitem.error" :isEmptyCaption="false" labelPos="LEFT">
<app-mpicker <app-mpicker
:activeData="data" :activeData="data"
...@@ -1277,6 +1301,7 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -1277,6 +1301,7 @@ export default class Main4Base extends Vue implements ControlInterface {
formitem5: null, formitem5: null,
formitem9: null, formitem9: null,
formitem10: null, formitem10: null,
formitem11: null,
formitem6: null, formitem6: null,
formitem: null, formitem: null,
ibizsample0002id: null, ibizsample0002id: null,
...@@ -1508,6 +1533,10 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -1508,6 +1533,10 @@ export default class Main4Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem10.required, type: 'string', message: '数据选择(下拉视图、数据链接) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem10.required, type: 'string', message: '数据选择(下拉视图、数据链接) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem10.required, type: 'string', message: '数据选择(下拉视图、数据链接) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem10.required, type: 'string', message: '数据选择(下拉视图、数据链接) 值不能为空', trigger: 'blur' },
], ],
formitem11: [
{ required: this.detailsModel.formitem11.required, type: 'string', message: '数据选择(嵌入选择视图) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem11.required, type: 'string', message: '数据选择(嵌入选择视图) 值不能为空', trigger: 'blur' },
],
formitem6: [ formitem6: [
{ required: this.detailsModel.formitem6.required, type: 'string', message: '地址框(支持选择、AC) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem6.required, type: 'string', message: '地址框(支持选择、AC) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem6.required, type: 'string', message: '地址框(支持选择、AC) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem6.required, type: 'string', message: '地址框(支持选择、AC) 值不能为空', trigger: 'blur' },
...@@ -1744,6 +1773,8 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -1744,6 +1773,8 @@ export default class Main4Base extends Vue implements ControlInterface {
formitem9: new FormItemModel({ caption: '数据选择(下拉视图)', detailType: 'FORMITEM', name: 'formitem9', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem9: new FormItemModel({ caption: '数据选择(下拉视图)', detailType: 'FORMITEM', name: 'formitem9', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem10: new FormItemModel({ caption: '数据选择(下拉视图、数据链接)', detailType: 'FORMITEM', name: 'formitem10', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem10: new FormItemModel({ caption: '数据选择(下拉视图、数据链接)', detailType: 'FORMITEM', name: 'formitem10', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem11: new FormItemModel({ caption: '数据选择(嵌入选择视图)', detailType: 'FORMITEM', name: 'formitem11', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem6: new FormItemModel({ caption: '地址框(支持选择、AC)', detailType: 'FORMITEM', name: 'formitem6', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem6: new FormItemModel({ caption: '地址框(支持选择、AC)', detailType: 'FORMITEM', name: 'formitem6', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -2375,6 +2406,18 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -2375,6 +2406,18 @@ export default class Main4Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem10', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'formitem10', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 formitem11 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main4Base
*/
@Watch('data.formitem11')
onFormitem11Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem11', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 formitem6 值 * 监控表单属性 formitem6 值
* *
...@@ -2590,6 +2633,7 @@ export default class Main4Base extends Vue implements ControlInterface { ...@@ -2590,6 +2633,7 @@ export default class Main4Base extends Vue implements ControlInterface {
} }
......
...@@ -240,6 +240,11 @@ export default class Main4Model { ...@@ -240,6 +240,11 @@ export default class Main4Model {
prop: 'ibizsample0002name', prop: 'ibizsample0002name',
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
{
name: 'formitem11',
prop: 'ibizsample0002name',
dataType: 'PICKUPTEXT',
},
{ {
name: 'formitem6', name: 'formitem6',
dataType:'FORMITEM', dataType:'FORMITEM',
......
...@@ -257,6 +257,13 @@ ...@@ -257,6 +257,13 @@
"name" : "IBIZSAMPLE0002NAME", "name" : "IBIZSAMPLE0002NAME",
"codeName" : "IBIZSample0002Name" "codeName" : "IBIZSample0002Name"
} }
}, {
"id" : "formitem11",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0002NAME",
"codeName" : "IBIZSample0002Name"
}
}, { }, {
"id" : "formitem6", "id" : "formitem6",
"dataType" : 25 "dataType" : 25
...@@ -1946,7 +1953,7 @@ ...@@ -1946,7 +1953,7 @@
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 130, "labelWidth" : 200,
"mOSFilePath" : "psdeformdetail_formitems/formitem5", "mOSFilePath" : "psdeformdetail_formitems/formitem5",
"name" : "formitem5", "name" : "formitem5",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
...@@ -2124,6 +2131,45 @@ ...@@ -2124,6 +2131,45 @@
"valueItemName" : "ibizsample0002id", "valueItemName" : "ibizsample0002id",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, {
"caption" : "数据选择(嵌入选择视图)",
"codeName" : "formitem11",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 200,
"mOSFilePath" : "psdeformdetail_formitems/formitem11",
"name" : "formitem11",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0002NAME",
"codeName" : "IBIZSample0002Name"
},
"getPSEditor" : {
"editorType" : "PICKUPVIEW",
"name" : "formitem11",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0002PickupView.json",
"viewType" : "DEPICKUPVIEW"
},
"placeHolder" : "数据选择(嵌入选择视图)",
"valueItemName" : "ibizsample0002id"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem11",
"valueItemName" : "ibizsample0002id",
"allowEmpty" : true,
"showCaption" : true
}, { }, {
"caption" : "地址框(支持选择、AC)", "caption" : "地址框(支持选择、AC)",
"codeName" : "formitem6", "codeName" : "formitem6",
...@@ -2133,7 +2179,7 @@ ...@@ -2133,7 +2179,7 @@
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 130, "labelWidth" : 200,
"mOSFilePath" : "psdeformdetail_formitems/formitem6", "mOSFilePath" : "psdeformdetail_formitems/formitem6",
"name" : "formitem6", "name" : "formitem6",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
...@@ -2173,7 +2219,7 @@ ...@@ -2173,7 +2219,7 @@
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 130, "labelWidth" : 200,
"mOSFilePath" : "psdeformdetail_formitems/formitem", "mOSFilePath" : "psdeformdetail_formitems/formitem",
"name" : "formitem", "name" : "formitem",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
......
...@@ -380,6 +380,13 @@ ...@@ -380,6 +380,13 @@
"name" : "IBIZSAMPLE0002NAME", "name" : "IBIZSAMPLE0002NAME",
"codeName" : "IBIZSample0002Name" "codeName" : "IBIZSample0002Name"
} }
}, {
"id" : "formitem11",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0002NAME",
"codeName" : "IBIZSample0002Name"
}
}, { }, {
"id" : "formitem6", "id" : "formitem6",
"dataType" : 25 "dataType" : 25
...@@ -2069,7 +2076,7 @@ ...@@ -2069,7 +2076,7 @@
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 130, "labelWidth" : 200,
"mOSFilePath" : "psdeformdetail_formitems/formitem5", "mOSFilePath" : "psdeformdetail_formitems/formitem5",
"name" : "formitem5", "name" : "formitem5",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
...@@ -2247,6 +2254,45 @@ ...@@ -2247,6 +2254,45 @@
"valueItemName" : "ibizsample0002id", "valueItemName" : "ibizsample0002id",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, {
"caption" : "数据选择(嵌入选择视图)",
"codeName" : "formitem11",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 200,
"mOSFilePath" : "psdeformdetail_formitems/formitem11",
"name" : "formitem11",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0002NAME",
"codeName" : "IBIZSample0002Name"
},
"getPSEditor" : {
"editorType" : "PICKUPVIEW",
"name" : "formitem11",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0002PickupView.json",
"viewType" : "DEPICKUPVIEW"
},
"placeHolder" : "数据选择(嵌入选择视图)",
"valueItemName" : "ibizsample0002id"
},
"getPSLayoutPos" : {
"colLG" : 8,
"colMD" : 8,
"colSM" : 8,
"colXS" : 8,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem11",
"valueItemName" : "ibizsample0002id",
"allowEmpty" : true,
"showCaption" : true
}, { }, {
"caption" : "地址框(支持选择、AC)", "caption" : "地址框(支持选择、AC)",
"codeName" : "formitem6", "codeName" : "formitem6",
...@@ -2256,7 +2302,7 @@ ...@@ -2256,7 +2302,7 @@
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 130, "labelWidth" : 200,
"mOSFilePath" : "psdeformdetail_formitems/formitem6", "mOSFilePath" : "psdeformdetail_formitems/formitem6",
"name" : "formitem6", "name" : "formitem6",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
...@@ -2296,7 +2342,7 @@ ...@@ -2296,7 +2342,7 @@
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 130, "labelWidth" : 200,
"mOSFilePath" : "psdeformdetail_formitems/formitem", "mOSFilePath" : "psdeformdetail_formitems/formitem",
"name" : "formitem", "name" : "formitem",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册