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

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

上级 5e9a6df7
...@@ -1047,6 +1047,14 @@ ...@@ -1047,6 +1047,14 @@
"viewname": "IBIZOrderODSP_W_WFGridView", "viewname": "IBIZOrderODSP_W_WFGridView",
"viewtag": "bd43538c91a9a638b36a721a43bd43a5" "viewtag": "bd43538c91a9a638b36a721a43bd43a5"
}, },
"ibizbookusr6gridview": {
"title": "图书表格视图",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr6GridView",
"viewtag": "bdb15578e295954bc2ecd16771c3e200"
},
"ibizorderdetaileditview": { "ibizorderdetaileditview": {
"title": "订单明细编辑视图", "title": "订单明细编辑视图",
"caption": "订单明细", "caption": "订单明细",
......
...@@ -110,6 +110,10 @@ export default { ...@@ -110,6 +110,10 @@ export default {
caption: "图书", caption: "图书",
title: "图书表格视图(行编辑)", title: "图书表格视图(行编辑)",
}, },
usr6gridview: {
caption: "图书",
title: "图书表格视图",
},
usr4dataview: { usr4dataview: {
caption: "图书", caption: "图书",
title: "图书数据视图(项布局面板)", title: "图书数据视图(项布局面板)",
...@@ -379,6 +383,16 @@ export default { ...@@ -379,6 +383,16 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
ibizbookname: "图书名称",
updateman: "更新人",
updatedate: "更新时间",
},
nodata:"",
uiactions: {
},
},
gridexpbar_grid_grid: { gridexpbar_grid_grid: {
columns: { columns: {
}, },
...@@ -1170,6 +1184,8 @@ export default { ...@@ -1170,6 +1184,8 @@ export default {
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usr6gridviewtoolbar_toolbar: {
},
tree_treeview: { tree_treeview: {
nodata:"", nodata:"",
nodes: { nodes: {
......
...@@ -109,6 +109,10 @@ export default { ...@@ -109,6 +109,10 @@ export default {
caption: "图书", caption: "图书",
title: "图书表格视图(行编辑)", title: "图书表格视图(行编辑)",
}, },
usr6gridview: {
caption: "图书",
title: "图书表格视图",
},
usr4dataview: { usr4dataview: {
caption: "图书", caption: "图书",
title: "图书数据视图(项布局面板)", title: "图书数据视图(项布局面板)",
...@@ -378,6 +382,16 @@ export default { ...@@ -378,6 +382,16 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
ibizbookname: "图书名称",
updateman: "更新人",
updatedate: "更新时间",
},
nodata:"",
uiactions: {
},
},
gridexpbar_grid_grid: { gridexpbar_grid_grid: {
columns: { columns: {
}, },
...@@ -1169,6 +1183,8 @@ export default { ...@@ -1169,6 +1183,8 @@ export default {
}, },
haspanellistviewtoolbar_toolbar: { haspanellistviewtoolbar_toolbar: {
}, },
usr6gridviewtoolbar_toolbar: {
},
tree_treeview: { tree_treeview: {
nodata:"", nodata:"",
nodes: { nodes: {
......
...@@ -79,12 +79,12 @@ export default { ...@@ -79,12 +79,12 @@ export default {
ibizuniproductname: "产品名称", ibizuniproductname: "产品名称",
quantity: "数量", quantity: "数量",
amount: "小计", amount: "小计",
ibizorderid: "订单标识",
ibizorderdetailname: "订单明细名称", ibizorderdetailname: "订单明细名称",
unit: "单位", unit: "单位",
unitprice: "单价", unitprice: "单价",
ibizordername: "订单名称", ibizordername: "订单名称",
ibizuniproductid: "统一产品标识", ibizuniproductid: "统一产品标识",
ibizorderid: "订单标识",
ibizorderdetailid: "订单明细标识", ibizorderdetailid: "订单明细标识",
}, },
uiactions: { uiactions: {
......
...@@ -78,12 +78,12 @@ export default { ...@@ -78,12 +78,12 @@ export default {
ibizuniproductname: "产品名称", ibizuniproductname: "产品名称",
quantity: "数量", quantity: "数量",
amount: "小计", amount: "小计",
ibizorderid: "订单标识",
ibizorderdetailname: "订单明细名称", ibizorderdetailname: "订单明细名称",
unit: "单位", unit: "单位",
unitprice: "单价", unitprice: "单价",
ibizordername: "订单名称", ibizordername: "订单名称",
ibizuniproductid: "统一产品标识", ibizuniproductid: "统一产品标识",
ibizorderid: "订单标识",
ibizorderdetailid: "订单明细标识", ibizorderdetailid: "订单明细标识",
}, },
uiactions: { uiactions: {
......
...@@ -1055,6 +1055,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1055,6 +1055,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderODSP_W_WFGridView", "viewname": "IBIZOrderODSP_W_WFGridView",
"viewtag": "bd43538c91a9a638b36a721a43bd43a5" "viewtag": "bd43538c91a9a638b36a721a43bd43a5"
}, },
"ibizbookusr6gridview": {
"title": "图书表格视图",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr6GridView",
"viewtag": "bdb15578e295954bc2ecd16771c3e200"
},
"ibizorderdetaileditview": { "ibizorderdetaileditview": {
"title": "订单明细编辑视图", "title": "订单明细编辑视图",
"caption": "订单明细", "caption": "订单明细",
......
...@@ -119,6 +119,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -119,6 +119,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'customview',srfappde:'ibizbooks',component:'ibizbookcustom-view'}); this.allViewMap.set(':',{viewname:'customview',srfappde:'ibizbooks',component:'ibizbookcustom-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizbooks',component:'ibizbookedit-view'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizbooks',component:'ibizbookedit-view'});
this.allViewMap.set(':',{viewname:'roweditgridview',srfappde:'ibizbooks',component:'ibizbookrow-edit-grid-view'}); this.allViewMap.set(':',{viewname:'roweditgridview',srfappde:'ibizbooks',component:'ibizbookrow-edit-grid-view'});
this.allViewMap.set(':',{viewname:'usr6gridview',srfappde:'ibizbooks',component:'ibizbookusr6-grid-view'});
this.allViewMap.set(':',{viewname:'usr4dataview',srfappde:'ibizbooks',component:'ibizbookusr4-data-view'}); this.allViewMap.set(':',{viewname:'usr4dataview',srfappde:'ibizbooks',component:'ibizbookusr4-data-view'});
this.allViewMap.set(':',{viewname:'usr3gridview',srfappde:'ibizbooks',component:'ibizbookusr3-grid-view'}); this.allViewMap.set(':',{viewname:'usr3gridview',srfappde:'ibizbooks',component:'ibizbookusr3-grid-view'});
this.allViewMap.set(':',{viewname:'dataview',srfappde:'ibizbooks',component:'ibizbookdata-view'}); this.allViewMap.set(':',{viewname:'dataview',srfappde:'ibizbooks',component:'ibizbookdata-view'});
......
...@@ -709,30 +709,30 @@ export default class RulesFormBase extends Vue implements ControlInterface { ...@@ -709,30 +709,30 @@ export default class RulesFormBase extends Vue implements ControlInterface {
] ]
}, },
], ],
type:[ price:[
{ {
type:"STRINGLENGTH", type:"VALUERANGE2",
condOP:"", condOP:"",
ruleInfo:"内容长度必须大于[0]且小于等于[6]", ruleInfo:"数值必须大于[0.0]且小于等于[100.0]",
isKeyCond:false, isKeyCond:false,
isNotMode:false, isNotMode:false,
maxValue:6, maxValue:100,
minValue:0, minValue:0,
deName:"type", deName:"price",
isIncludeMaxValue:true, isIncludeMaxValue:true,
isIncludeMinValue:false, isIncludeMinValue:false,
}, },
], ],
price:[ type:[
{ {
type:"VALUERANGE2", type:"STRINGLENGTH",
condOP:"", condOP:"",
ruleInfo:"数值必须大于[0.0]且小于等于[100.0]", ruleInfo:"内容长度必须大于[0]且小于等于[6]",
isKeyCond:false, isKeyCond:false,
isNotMode:false, isNotMode:false,
maxValue:100, maxValue:6,
minValue:0, minValue:0,
deName:"price", deName:"type",
isIncludeMaxValue:true, isIncludeMaxValue:true,
isIncludeMinValue:false, isIncludeMinValue:false,
}, },
......
...@@ -536,12 +536,12 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -536,12 +536,12 @@ export default class UI_0007Base extends Vue implements ControlInterface {
ibizuniproductname: null, ibizuniproductname: null,
quantity: null, quantity: null,
amount: null, amount: null,
ibizorderid: null,
ibizorderdetailname: null, ibizorderdetailname: null,
unit: null, unit: null,
unitprice: null, unitprice: null,
ibizordername: null, ibizordername: null,
ibizuniproductid: null, ibizuniproductid: null,
ibizorderid: null,
ibizorderdetailid: null, ibizorderdetailid: null,
ibizorderdetail:null, ibizorderdetail:null,
}; };
...@@ -752,8 +752,6 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -752,8 +752,6 @@ export default class UI_0007Base extends Vue implements ControlInterface {
quantity: new FormItemModel({ caption: '数量', detailType: 'FORMITEM', name: 'quantity', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) quantity: new FormItemModel({ caption: '数量', detailType: 'FORMITEM', name: 'quantity', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
amount: new FormItemModel({ caption: '小计', detailType: 'FORMITEM', name: 'amount', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) amount: new FormItemModel({ caption: '小计', detailType: 'FORMITEM', name: 'amount', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizorderid: new FormItemModel({ caption: '订单标识', detailType: 'FORMITEM', name: 'ibizorderid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizorderdetailname: new FormItemModel({ caption: '订单明细名称', detailType: 'FORMITEM', name: 'ibizorderdetailname', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizorderdetailname: new FormItemModel({ caption: '订单明细名称', detailType: 'FORMITEM', name: 'ibizorderdetailname', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -764,6 +762,8 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -764,6 +762,8 @@ export default class UI_0007Base extends Vue implements ControlInterface {
ibizordername: new FormItemModel({ caption: '订单名称', detailType: 'FORMITEM', name: 'ibizordername', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizordername: new FormItemModel({ caption: '订单名称', detailType: 'FORMITEM', name: 'ibizordername', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizuniproductid: new FormItemModel({ caption: '统一产品标识', detailType: 'FORMITEM', name: 'ibizuniproductid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizuniproductid: new FormItemModel({ caption: '统一产品标识', detailType: 'FORMITEM', name: 'ibizuniproductid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizorderid: new FormItemModel({ caption: '订单标识', detailType: 'FORMITEM', name: 'ibizorderid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizorderdetailid: new FormItemModel({ caption: '订单明细标识', detailType: 'FORMITEM', name: 'ibizorderdetailid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizorderdetailid: new FormItemModel({ caption: '订单明细标识', detailType: 'FORMITEM', name: 'ibizorderdetailid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -901,18 +901,6 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -901,18 +901,6 @@ export default class UI_0007Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'amount', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'amount', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 ibizorderid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UI_0007Base
*/
@Watch('data.ibizorderid')
onIbizorderidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'ibizorderid', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizorderdetailname 值 * 监控表单属性 ibizorderdetailname 值
* *
...@@ -973,6 +961,18 @@ export default class UI_0007Base extends Vue implements ControlInterface { ...@@ -973,6 +961,18 @@ export default class UI_0007Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'ibizuniproductid', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'ibizuniproductid', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 ibizorderid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UI_0007Base
*/
@Watch('data.ibizorderid')
onIbizorderidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'ibizorderid', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizorderdetailid 值 * 监控表单属性 ibizorderdetailid 值
* *
......
...@@ -70,11 +70,6 @@ export default class UI_0007Model { ...@@ -70,11 +70,6 @@ export default class UI_0007Model {
prop: 'amount', prop: 'amount',
dataType: 'FLOAT', dataType: 'FLOAT',
}, },
{
name: 'ibizorderid',
prop: 'ibizorderid',
dataType: 'PICKUP',
},
{ {
name: 'ibizorderdetailname', name: 'ibizorderdetailname',
prop: 'ibizorderdetailname', prop: 'ibizorderdetailname',
...@@ -100,6 +95,11 @@ export default class UI_0007Model { ...@@ -100,6 +95,11 @@ export default class UI_0007Model {
prop: 'ibizuniproductid', prop: 'ibizuniproductid',
dataType: 'PICKUP', dataType: 'PICKUP',
}, },
{
name: 'ibizorderid',
prop: 'ibizorderid',
dataType: 'PICKUP',
},
{ {
name: 'ibizorderdetailid', name: 'ibizorderdetailid',
prop: 'ibizorderdetailid', prop: 'ibizorderdetailid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册