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

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

上级 c8ca8b44
...@@ -366,14 +366,14 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -366,14 +366,14 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public rules: any = { public rules: any = {
n_ibizbookname_like: [ n_ibizbookname_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_price_gtandeq: [ n_price_gtandeq: [
{ type: 'number', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ', '图书价格(>=)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.number')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'number', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ', '图书价格(>=)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.number')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'number', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ', '图书价格(>=)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.number')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'number', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ', '图书价格(>=)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.number')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_price_gtandeq.required, type: 'number', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ', '图书价格(>=)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_price_gtandeq.required, type: 'number', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ', '图书价格(>=)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_price_gtandeq.required, type: 'number', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ', '图书价格(>=)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_price_gtandeq.required, type: 'number', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ', '图书价格(>=)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
...@@ -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: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (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: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (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 });
...@@ -1815,7 +1815,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1815,7 +1815,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 });
...@@ -1781,7 +1781,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1781,7 +1781,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 });
...@@ -1885,7 +1885,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1885,7 +1885,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];
......
...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface { ...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean} * @type {Boolean}
* @memberof GuideBase * @memberof GuideBase
*/ */
public isShowStepBar: Boolean = true ; public isShowStepBar: Boolean = false ;
/** /**
* 获取多项数据 * 获取多项数据
......
...@@ -342,8 +342,8 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -342,8 +342,8 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public rules: any = { public rules: any = {
n_ibizbookname_like: [ n_ibizbookname_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE', '图书名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
......
...@@ -48,14 +48,14 @@ ...@@ -48,14 +48,14 @@
<div v-show="flag" class="batch-toolbar"> <div v-show="flag" class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
<span class='caption'>{{'编辑'}}</span> <span class='caption'>{{'编辑'}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('TBB.TEXT.*.EDIT', '编辑')}}</div> <div slot='content'>{{$t('TBB.TEXT.*.EDIT', '编辑')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i> <i class='fa fa-remove'></i>
<span class='caption'>{{'删除'}}</span> <span class='caption'>{{'删除'}}</span>
</i-button> </i-button>
...@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store }); public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/** /**
* dataview_batchtoolbar 部件 click 事件 * dataviewexpbar_dataview_batchtoolbar 部件 click 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof Usr2Base * @memberof Usr2Base
*/ */
public dataview_batchtoolbar_click($event: any, $event2?: any) { public dataviewexpbar_dataview_batchtoolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) { if (Object.is($event.tag, 'deuiaction1')) {
this.dataview_batchtoolbar_deuiaction1_click(null, 'dataview_batchtoolbar', $event2); this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
} }
if (Object.is($event.tag, 'deuiaction2')) { if (Object.is($event.tag, 'deuiaction2')) {
this.dataview_batchtoolbar_deuiaction2_click(null, 'dataview_batchtoolbar', $event2); this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
} }
} }
...@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) { public dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) { public dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) { public dataviewexpbar_dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
let xData: any = null; let xData: any = null;
...@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) { public dataviewexpbar_dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
let xData: any = null; let xData: any = null;
...@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2DataViewBase * @memberof IBIZBOOKDataViewExpViewBase
*/ */
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) {
...@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2DataViewBase * @memberof IBIZBOOKDataViewExpViewBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -427,6 +427,12 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -427,6 +427,12 @@ export default class Usr2Base extends Vue implements ControlInterface {
} }
let result: boolean = true; let result: boolean = true;
Object.assign(actionData, args); Object.assign(actionData, args);
if ('selectionchange'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_selectionchange_ctrl_logic(actionData) && result;
}
if ('load'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_load_ctrl_logic(actionData) && result;
}
if (!result) { if (!result) {
return false; return false;
} }
...@@ -434,6 +440,30 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -434,6 +440,30 @@ export default class Usr2Base extends Vue implements ControlInterface {
return true; return true;
} }
/**
* 部件逻辑 -- dataviewexpbar_selectionchange
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_selectionchange_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
/**
* 部件逻辑 -- dataviewexpbar_load
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_load_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
...@@ -678,9 +708,9 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -678,9 +708,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKUsr2DataView * @memberof IBIZBOOKDataViewExpView
*/ */
public usr2dataviewdataview_batchtoolbarModels: any = { public dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -1013,7 +1043,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1013,7 +1043,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}, isReset: boolean = false): Promise<any> { public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -1108,7 +1138,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1108,7 +1138,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1225,7 +1255,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1225,7 +1255,7 @@ export default class Usr2Base 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: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1233,7 +1263,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1233,7 +1263,7 @@ export default class Usr2Base 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: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
...@@ -1335,16 +1365,16 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1335,16 +1365,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public uiAction(data: any, tag: any, $event: any) { public uiAction(data: any, tag: any, $event: any) {
$event.stopPropagation(); $event.stopPropagation();
if(Object.is('Edit', tag)) { if(Object.is('Edit', tag)) {
this.dataview_batchtoolbar_deuiaction1_click(data, tag, $event); this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
} }
if(Object.is('Remove', tag)) { if(Object.is('Remove', tag)) {
this.dataview_batchtoolbar_deuiaction2_click(data, tag, $event); this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
} }
if(Object.is('Edit', tag)) { if(Object.is('Edit', tag)) {
this.dataview_memo1_u37f11a8_click(data, tag, $event); this.dataviewexpbar_dataview_memo1_u37f11a8_click(data, tag, $event);
} }
if(Object.is('Remove', tag)) { if(Object.is('Remove', tag)) {
this.dataview_memo1_uc365542_click(data, tag, $event); this.dataviewexpbar_dataview_memo1_uc365542_click(data, tag, $event);
} }
} }
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2DataViewMode * @memberof Usr2Dataviewexpbar_dataviewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -43,17 +43,6 @@ export default class Usr2Model { ...@@ -43,17 +43,6 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -348,8 +348,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -348,8 +348,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public rules: any = { public rules: any = {
n_ibizcustomname_like: [ n_ibizcustomname_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOM.N_IBIZCUSTOMNAME_LIKE', '自定义名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOM.N_IBIZCUSTOMNAME_LIKE', '自定义名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOM.N_IBIZCUSTOMNAME_LIKE', '自定义名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOM.N_IBIZCUSTOMNAME_LIKE', '自定义名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizcustomname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOM.N_IBIZCUSTOMNAME_LIKE', '自定义名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizcustomname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOM.N_IBIZCUSTOMNAME_LIKE', '自定义名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizcustomname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOM.N_IBIZCUSTOMNAME_LIKE', '自定义名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizcustomname_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOM.N_IBIZCUSTOMNAME_LIKE', '自定义名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
......
...@@ -348,8 +348,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -348,8 +348,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public rules: any = { public rules: any = {
formitem: [ formitem: [
{ type: 'string', message: '`客户名称(%)` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `客户名称(%) ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`客户名称(%)` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `客户名称(%) ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.formitem.required, type: 'string', message: `${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.formitem.required, type: 'string', message: `${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.formitem.required, type: 'string', message: `${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.formitem.required, type: 'string', message: `${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
......
...@@ -348,8 +348,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -348,8 +348,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public rules: any = { public rules: any = {
n_ibizcustomername_like: [ n_ibizcustomername_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOMER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOMER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOMER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOMER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOMER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOMER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOMER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZCUSTOMER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
......
...@@ -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: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailGridView9" + (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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailGridView9' + (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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(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: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(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: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -399,26 +399,26 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -399,26 +399,26 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public rules: any = { public rules: any = {
n_ibizcustomername_like: [ n_ibizcustomername_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_ibizordername_like: [ n_ibizordername_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_ordertime_gtandeq: [ n_ordertime_gtandeq: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_ordertype_eq: [ n_ordertype_eq: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTYPE_EQ', '订单类型(等于(=))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTYPE_EQ', '订单类型(等于(=))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTYPE_EQ', '订单类型(等于(=))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTYPE_EQ', '订单类型(等于(=))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ordertype_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTYPE_EQ', '订单类型(等于(=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ordertype_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTYPE_EQ', '订单类型(等于(=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ordertype_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTYPE_EQ', '订单类型(等于(=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ordertype_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTYPE_EQ', '订单类型(等于(=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
......
...@@ -395,26 +395,26 @@ export default class UIPART_0013Base extends Vue implements ControlInterface { ...@@ -395,26 +395,26 @@ export default class UIPART_0013Base extends Vue implements ControlInterface {
*/ */
public rules: any = { public rules: any = {
n_ibizordername_like: [ n_ibizordername_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_IBIZORDERNAME_LIKE', '订单名称')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_IBIZORDERNAME_LIKE', '订单名称')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_IBIZORDERNAME_LIKE', '订单名称')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_IBIZORDERNAME_LIKE', '订单名称')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_IBIZORDERNAME_LIKE', '订单名称')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_IBIZORDERNAME_LIKE', '订单名称')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_IBIZORDERNAME_LIKE', '订单名称')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_IBIZORDERNAME_LIKE', '订单名称')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_orderstate_eq: [ n_orderstate_eq: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERSTATE_EQ', '订单状态')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERSTATE_EQ', '订单状态')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERSTATE_EQ', '订单状态')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERSTATE_EQ', '订单状态')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERSTATE_EQ', '订单状态')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERSTATE_EQ', '订单状态')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERSTATE_EQ', '订单状态')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERSTATE_EQ', '订单状态')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_ordertime_gt: [ n_ordertime_gt: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_GT', '订单时间从')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_GT', '订单时间从')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_GT', '订单时间从')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_GT', '订单时间从')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ordertime_gt.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_GT', '订单时间从')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ordertime_gt.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_GT', '订单时间从')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ordertime_gt.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_GT', '订单时间从')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ordertime_gt.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_GT', '订单时间从')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_ordertime_lt: [ n_ordertime_lt: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_LT', '')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_LT', '到')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_LT', '')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_LT', '到')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ordertime_lt.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_LT', '到')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ordertime_lt.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_LT', '到')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ordertime_lt.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_LT', '到')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ordertime_lt.required, type: 'string', message: `${this.$t('CONTROL.DEFORM.IBIZORDER.UIPART_0013.FORMITEM.N_ORDERTIME_LT', '到')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
......
...@@ -399,26 +399,26 @@ export default class Usr1121660606Base extends Vue implements ControlInterface { ...@@ -399,26 +399,26 @@ export default class Usr1121660606Base extends Vue implements ControlInterface {
*/ */
public rules: any = { public rules: any = {
n_ibizcustomername_like: [ n_ibizcustomername_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZCUSTOMERNAME_LIKE', '客户名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_ibizordername_like: [ n_ibizordername_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(文本包含(%))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(文本包含(%))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(文本包含(%))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(文本包含(%))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_IBIZORDERNAME_LIKE', '订单名称(文本包含(%))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_orderstate_eq: [ n_orderstate_eq: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ', '订单状态(等于(=))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ', '订单状态(等于(=))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ', '订单状态(等于(=))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ', '订单状态(等于(=))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ', '订单状态(等于(=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ', '订单状态(等于(=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ', '订单状态(等于(=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERSTATE_EQ', '订单状态(等于(=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
n_ordertime_gtandeq: [ n_ordertime_gtandeq: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZORDER.N_ORDERTIME_GTANDEQ', '订单时间(大于等于(>=))')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
......
...@@ -348,8 +348,8 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -348,8 +348,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public rules: any = { public rules: any = {
n_ibizsample0003name_like: [ n_ibizsample0003name_like: [
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZSAMPLE0003.N_IBIZSAMPLE0003NAME_LIKE', '名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'change' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZSAMPLE0003.N_IBIZSAMPLE0003NAME_LIKE', '名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'change' },
{ type: 'string', message: '`${this.$t('CONTROL.DEFSFITEM.IBIZSAMPLE0003.N_IBIZSAMPLE0003NAME_LIKE', '名称(%)')}` this.$t('app.commonWords.valueMustBe')this.$t('app.commonWords.string')this.$t('app.commonWords.kind')', trigger: 'blur' }, { type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZSAMPLE0003.N_IBIZSAMPLE0003NAME_LIKE', '名称(%)')} ${this.$t('app.commonWords.valueMustBe')}${this.$t('app.commonWords.string')}${this.$t('app.commonWords.kind')}`, trigger: 'blur' },
{ required: this.detailsModel.n_ibizsample0003name_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZSAMPLE0003.N_IBIZSAMPLE0003NAME_LIKE', '名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' }, { required: this.detailsModel.n_ibizsample0003name_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZSAMPLE0003.N_IBIZSAMPLE0003NAME_LIKE', '名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.n_ibizsample0003name_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZSAMPLE0003.N_IBIZSAMPLE0003NAME_LIKE', '名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' }, { required: this.detailsModel.n_ibizsample0003name_like.required, type: 'string', message: `${this.$t('CONTROL.DEFSFITEM.IBIZSAMPLE0003.N_IBIZSAMPLE0003NAME_LIKE', '名称(%)')}${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
], ],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册