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

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

上级 36bf26c7
...@@ -709,30 +709,30 @@ export default class RulesFormBase extends Vue implements ControlInterface { ...@@ -709,30 +709,30 @@ export default class RulesFormBase extends Vue implements ControlInterface {
] ]
}, },
], ],
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,
}, },
], ],
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,
}, },
......
...@@ -49,10 +49,15 @@ ...@@ -49,10 +49,15 @@
</i-col> </i-col>
<i-col v-show="detailsModel.amount.visible" :style="{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }"> <i-col v-show="detailsModel.amount.visible" :style="{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }">
<app-form-item name='amount' :itemRules="this.rules().amount" class='' :caption="$t('entities.ibizorderdetail.ui_0007_form.details.amount')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.amount.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='amount' :itemRules="this.rules().amount" class='' :caption="$t('entities.ibizorderdetail.ui_0007_form.details.amount')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.amount.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
<app-span name='amount' :value="data.amount" dataType="FLOAT" :precision="2" v-model="data.amount"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""> @enter="onEnter($event)"
</app-span> unit=""
:disabled="detailsModel.amount.disabled"
type='number'
:precision="2"
style="">
</input-box>
</app-form-item> </app-form-item>
...@@ -73,20 +78,29 @@ ...@@ -73,20 +78,29 @@
</i-col> </i-col>
<i-col v-show="detailsModel.unit.visible" :style="{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }"> <i-col v-show="detailsModel.unit.visible" :style="{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }">
<app-form-item name='unit' :itemRules="this.rules().unit" class='' :caption="$t('entities.ibizorderdetail.ui_0007_form.details.unit')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.unit.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='unit' :itemRules="this.rules().unit" class='' :caption="$t('entities.ibizorderdetail.ui_0007_form.details.unit')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.unit.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
<app-span name='unit' :value="data.unit" dataType="PICKUPDATA" :precision="0" v-model="data.unit"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""> @enter="onEnter($event)"
</app-span> unit=""
:disabled="detailsModel.unit.disabled"
type='text'
style="">
</input-box>
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.unitprice.visible" :style="{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }"> <i-col v-show="detailsModel.unitprice.visible" :style="{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }">
<app-form-item name='unitprice' :itemRules="this.rules().unitprice" class='' :caption="$t('entities.ibizorderdetail.ui_0007_form.details.unitprice')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.unitprice.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='unitprice' :itemRules="this.rules().unitprice" class='' :caption="$t('entities.ibizorderdetail.ui_0007_form.details.unitprice')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.unitprice.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
<app-span name='unitprice' :value="data.unitprice" dataType="PICKUPDATA" :precision="0" v-model="data.unitprice"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""> @enter="onEnter($event)"
</app-span> unit=""
:disabled="detailsModel.unitprice.disabled"
type='number'
:precision="2"
style="">
</input-box>
</app-form-item> </app-form-item>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册