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

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

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