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

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

上级 94aaf662
......@@ -368,14 +368,14 @@ export default class DefaultBase extends Vue implements ControlInterface {
n_ibizbookname_like: [
{ type: 'string', message: '图书名称(%) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '图书名称(%) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: '图书名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: '图书名称(%) 值不能为空', 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: 'blur' },
],
n_price_gtandeq: [
{ type: 'number', message: '图书价格(>=) 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '图书价格(>=) 值必须为数值类型', trigger: 'blur' },
{ required: this.detailsModel.n_price_gtandeq.required, type: 'number', message: '图书价格(>=) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_price_gtandeq.required, type: 'number', message: '图书价格(>=) 值不能为空', 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: 'blur' },
],
}
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
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;
}
const arg: any = { ...opt } ;
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1815,7 +1815,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1781,7 +1781,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1885,7 +1885,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrWizardView_plugin' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -344,8 +344,8 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
n_ibizbookname_like: [
{ type: 'string', message: '图书名称(%) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '图书名称(%) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: '图书名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizbookname_like.required, type: 'string', message: '图书名称(%) 值不能为空', 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: 'blur' },
],
}
......
......@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode
* @memberof Usr2DataViewMode
*/
public getDataItems(): any[] {
return [
......@@ -43,6 +43,17 @@ export default class Usr2Model {
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -812,7 +812,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -928,7 +928,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -936,7 +936,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -350,8 +350,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
n_ibizcustomname_like: [
{ type: 'string', message: '自定义名称(%) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '自定义名称(%) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizcustomname_like.required, type: 'string', message: '自定义名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizcustomname_like.required, type: 'string', message: '自定义名称(%) 值不能为空', 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: 'blur' },
],
}
......
......@@ -350,8 +350,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
formitem: [
{ type: 'string', message: '客户名称(%) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '客户名称(%) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.formitem.required, type: 'string', message: '客户名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem.required, type: 'string', message: '客户名称(%) 值不能为空', trigger: 'blur' },
{ required: this.detailsModel.formitem.required, type: 'string', message: `${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'change' },
{ required: this.detailsModel.formitem.required, type: 'string', message: `${this.$t('app.commonWords.valueNotEmpty')}`, trigger: 'blur' },
],
}
......
......@@ -350,8 +350,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
n_ibizcustomername_like: [
{ type: 'string', message: '客户名称(%) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '客户名称(%) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: '客户名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: '客户名称(%) 值不能为空', 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: 'blur' },
],
}
......
......@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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;
}
if(!arg){
......@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -768,7 +768,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -862,7 +862,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -978,7 +978,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -986,7 +986,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -401,26 +401,26 @@ export default class DefaultBase extends Vue implements ControlInterface {
n_ibizcustomername_like: [
{ type: 'string', message: '客户名称(文本包含(%)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '客户名称(文本包含(%)) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: '客户名称(文本包含(%)) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: '客户名称(文本包含(%)) 值不能为空', 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: 'blur' },
],
n_ibizordername_like: [
{ type: 'string', message: '订单名称(%) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单名称(%) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: '订单名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: '订单名称(%) 值不能为空', 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: 'blur' },
],
n_ordertime_gtandeq: [
{ type: 'string', message: '订单时间(大于等于(>=)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单时间(大于等于(>=)) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: '订单时间(大于等于(>=)) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: '订单时间(大于等于(>=)) 值不能为空', 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: 'blur' },
],
n_ordertype_eq: [
{ type: 'string', message: '订单类型(等于(=)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单类型(等于(=)) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ordertype_eq.required, type: 'string', message: '订单类型(等于(=)) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ordertype_eq.required, type: 'string', message: '订单类型(等于(=)) 值不能为空', 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: 'blur' },
],
}
......
......@@ -397,26 +397,26 @@ export default class UIPART_0013Base extends Vue implements ControlInterface {
n_ibizordername_like: [
{ type: 'string', message: '订单名称 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单名称 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: '订单名称 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: '订单名称 值不能为空', 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: 'blur' },
],
n_orderstate_eq: [
{ type: 'string', message: '订单状态 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单状态 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: '订单状态 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: '订单状态 值不能为空', 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: 'blur' },
],
n_ordertime_gt: [
{ type: 'string', message: '订单时间从 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单时间从 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ordertime_gt.required, type: 'string', message: '订单时间从 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ordertime_gt.required, type: 'string', message: '订单时间从 值不能为空', 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: 'blur' },
],
n_ordertime_lt: [
{ type: 'string', message: '到 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '到 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ordertime_lt.required, type: 'string', message: '到 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ordertime_lt.required, type: 'string', message: '到 值不能为空', 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: 'blur' },
],
}
......
......@@ -401,26 +401,26 @@ export default class Usr1121660606Base extends Vue implements ControlInterface {
n_ibizcustomername_like: [
{ type: 'string', message: '客户名称(文本包含(%)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '客户名称(文本包含(%)) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: '客户名称(文本包含(%)) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizcustomername_like.required, type: 'string', message: '客户名称(文本包含(%)) 值不能为空', 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: 'blur' },
],
n_ibizordername_like: [
{ type: 'string', message: '订单名称(文本包含(%)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单名称(文本包含(%)) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: '订单名称(文本包含(%)) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizordername_like.required, type: 'string', message: '订单名称(文本包含(%)) 值不能为空', 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: 'blur' },
],
n_orderstate_eq: [
{ type: 'string', message: '订单状态(等于(=)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单状态(等于(=)) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: '订单状态(等于(=)) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_orderstate_eq.required, type: 'string', message: '订单状态(等于(=)) 值不能为空', 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: 'blur' },
],
n_ordertime_gtandeq: [
{ type: 'string', message: '订单时间(大于等于(>=)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '订单时间(大于等于(>=)) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: '订单时间(大于等于(>=)) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ordertime_gtandeq.required, type: 'string', message: '订单时间(大于等于(>=)) 值不能为空', 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: 'blur' },
],
}
......
......@@ -350,8 +350,8 @@ export default class DefaultBase extends Vue implements ControlInterface {
n_ibizsample0003name_like: [
{ type: 'string', message: '名称(%) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '名称(%) 值必须为字符串类型', trigger: 'blur' },
{ required: this.detailsModel.n_ibizsample0003name_like.required, type: 'string', message: '名称(%) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.n_ibizsample0003name_like.required, type: 'string', message: '名称(%) 值不能为空', 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: 'blur' },
],
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册