提交 21a4513b 编写于 作者: ibizdev's avatar ibizdev

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

上级 d812ae70
...@@ -371,6 +371,7 @@ export default { ...@@ -371,6 +371,7 @@ export default {
formitem6: "滑动输入条(>=60)", formitem6: "滑动输入条(>=60)",
formitem7: "下拉列表框(notnil)", formitem7: "下拉列表框(notnil)",
formitem8: "开关(=0)", formitem8: "开关(=0)",
formitem9: "选项框(=0)",
ibizcustomerid: "客户标识", ibizcustomerid: "客户标识",
ibizorderid: "订单标识", ibizorderid: "订单标识",
}, },
......
...@@ -370,6 +370,7 @@ export default { ...@@ -370,6 +370,7 @@ export default {
formitem6: "滑动输入条(>=60)", formitem6: "滑动输入条(>=60)",
formitem7: "下拉列表框(notnil)", formitem7: "下拉列表框(notnil)",
formitem8: "开关(=0)", formitem8: "开关(=0)",
formitem9: "选项框(=0)",
ibizcustomerid: "客户标识", ibizcustomerid: "客户标识",
ibizorderid: "订单标识", ibizorderid: "订单标识",
}, },
......
...@@ -213,6 +213,15 @@ ...@@ -213,6 +213,15 @@
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem9.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='formitem9' :itemRules="this.rules().formitem9" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem9')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem9.error" :isEmptyCaption="false" labelPos="LEFT">
<div style="">
<app-checkbox :value="this.data.formitem9" @change="($event)=>{this.data.formitem9 = $event} " :disabled="detailsModel.formitem9.disabled"></app-checkbox>
</div>
</app-form-item>
</i-col> </i-col>
</row> </row>
...@@ -622,6 +631,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -622,6 +631,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
formitem6: null, formitem6: null,
formitem7: null, formitem7: null,
formitem8: null, formitem8: null,
formitem9: null,
ibizcustomerid: null, ibizcustomerid: null,
ibizorderid: null, ibizorderid: null,
ibizorder:null, ibizorder:null,
...@@ -739,6 +749,10 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -739,6 +749,10 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem8.required, type: 'string', message: '开关(=0) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem8.required, type: 'string', message: '开关(=0) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem8.required, type: 'string', message: '开关(=0) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem8.required, type: 'string', message: '开关(=0) 值不能为空', trigger: 'blur' },
], ],
formitem9: [
{ required: this.detailsModel.formitem9.required, type: 'string', message: '选项框(=0) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem9.required, type: 'string', message: '选项框(=0) 值不能为空', trigger: 'blur' },
],
} }
} }
...@@ -891,6 +905,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -891,6 +905,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
formitem7: new FormItemModel({ caption: '下拉列表框(notnil)', detailType: 'FORMITEM', name: 'formitem7', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem7: new FormItemModel({ caption: '下拉列表框(notnil)', detailType: 'FORMITEM', name: 'formitem7', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem8: new FormItemModel({ caption: '开关(=0)', detailType: 'FORMITEM', name: 'formitem8', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem8: new FormItemModel({ caption: '开关(=0)', detailType: 'FORMITEM', name: 'formitem8', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem9: new FormItemModel({ caption: '选项框(=0)', detailType: 'FORMITEM', name: 'formitem9', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizcustomerid: new FormItemModel({ caption: '客户标识', detailType: 'FORMITEM', name: 'ibizcustomerid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizcustomerid: new FormItemModel({ caption: '客户标识', detailType: 'FORMITEM', name: 'ibizcustomerid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1186,6 +1202,18 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -1186,6 +1202,18 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem8', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'formitem8', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 formitem9 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem9')
onFormitem9Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem9', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizcustomerid 值 * 监控表单属性 ibizcustomerid 值
* *
...@@ -1365,6 +1393,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -1365,6 +1393,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
} }
/** /**
...@@ -2467,6 +2496,9 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -2467,6 +2496,9 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
if (this.data.hasOwnProperty('formitem8')) { if (this.data.hasOwnProperty('formitem8')) {
this.data['formitem8'] = '0'; this.data['formitem8'] = '0';
} }
if (this.data.hasOwnProperty('formitem9')) {
this.data['formitem9'] = '0';
}
} }
/** /**
......
...@@ -126,6 +126,10 @@ export default class UIPART_0011Model { ...@@ -126,6 +126,10 @@ export default class UIPART_0011Model {
name: 'formitem8', name: 'formitem8',
dataType:'FORMITEM', dataType:'FORMITEM',
}, },
{
name: 'formitem9',
dataType:'FORMITEM',
},
{ {
name: 'ibizcustomerid', name: 'ibizcustomerid',
prop: 'ibizcustomerid', prop: 'ibizcustomerid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册