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

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

上级 36bf26c7
......@@ -709,30 +709,30 @@ export default class RulesFormBase extends Vue implements ControlInterface {
]
},
],
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,
},
],
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,
},
......
......@@ -49,10 +49,15 @@
</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 }">
<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-span name='amount' :value="data.amount" dataType="FLOAT" :precision="2"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style="">
</app-span>
<input-box
v-model="data.amount"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.amount.disabled"
type='number'
:precision="2"
style="">
</input-box>
</app-form-item>
......@@ -73,20 +78,29 @@
</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 }">
<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-span name='unit' :value="data.unit" dataType="PICKUPDATA" :precision="0"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style="">
</app-span>
<input-box
v-model="data.unit"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.unit.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</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 }">
<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-span name='unitprice' :value="data.unitprice" dataType="PICKUPDATA" :precision="0"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style="">
</app-span>
<input-box
v-model="data.unitprice"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.unitprice.disabled"
type='number'
:precision="2"
style="">
</input-box>
</app-form-item>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册