提交 09cb72b0 编写于 作者: ibizdev's avatar ibizdev

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

上级 9445c91d
......@@ -86,7 +86,6 @@ export default {
srfsourcekey: "",
ibizuniproductname: "产品名称",
quantity: "数量",
amount: "小计",
ibizorderdetailname: "订单明细名称",
unit: "单位",
unitprice: "单价",
......
......@@ -85,7 +85,6 @@ export default {
srfsourcekey: "",
ibizuniproductname: "产品名称",
quantity: "数量",
amount: "小计",
ibizorderdetailname: "订单明细名称",
unit: "单位",
unitprice: "单价",
......
......@@ -46,16 +46,6 @@
</app-form-item>
</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>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.ibizorderdetailname.visible" :style="{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }">
<app-form-item name='ibizorderdetailname' :itemRules="this.rules().ibizorderdetailname" class='' :caption="$t('entities.ibizorderdetail.ui_0007_form.details.ibizorderdetailname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibizorderdetailname.error" :isEmptyCaption="false" labelPos="LEFT">
......@@ -531,7 +521,6 @@ export default class UI_0007Base extends Vue implements ControlInterface {
srfsourcekey: null,
ibizuniproductname: null,
quantity: null,
amount: null,
ibizorderdetailname: null,
unit: null,
unitprice: null,
......@@ -599,10 +588,6 @@ export default class UI_0007Base extends Vue implements ControlInterface {
{ required: this.detailsModel.quantity.required, type: 'number', message: '数量 值不能为空', trigger: 'change' },
{ required: this.detailsModel.quantity.required, type: 'number', message: '数量 值不能为空', trigger: 'blur' },
],
amount: [
{ required: this.detailsModel.amount.required, type: 'number', message: '小计 值不能为空', trigger: 'change' },
{ required: this.detailsModel.amount.required, type: 'number', message: '小计 值不能为空', trigger: 'blur' },
],
ibizorderdetailname: [
{ required: this.detailsModel.ibizorderdetailname.required, type: 'string', message: '订单明细名称 值不能为空', trigger: 'change' },
{ required: this.detailsModel.ibizorderdetailname.required, type: 'string', message: '订单明细名称 值不能为空', trigger: 'blur' },
......@@ -751,8 +736,6 @@ export default class UI_0007Base extends Vue implements ControlInterface {
ibizuniproductname: new FormItemModel({ caption: '产品名称', detailType: 'FORMITEM', name: 'ibizuniproductname', 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 })
,
ibizorderdetailname: new FormItemModel({ caption: '订单明细名称', detailType: 'FORMITEM', name: 'ibizorderdetailname', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -892,18 +875,6 @@ export default class UI_0007Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'quantity', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 amount 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UI_0007Base
*/
@Watch('data.amount')
onAmountChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'amount', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizorderdetailname 值
*
......@@ -1075,7 +1046,6 @@ export default class UI_0007Base extends Vue implements ControlInterface {
}
......
......@@ -65,11 +65,6 @@ export default class UI_0007Model {
prop: 'quantity',
dataType: 'INT',
},
{
name: 'amount',
prop: 'amount',
dataType: 'FLOAT',
},
{
name: 'ibizorderdetailname',
prop: 'ibizorderdetailname',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册