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

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

上级 9a2ba24a
......@@ -747,7 +747,7 @@ export default class Main2_2Base extends Vue implements ControlInterface {
public detailsModel: any = {
group1: new FormGroupPanelModel({ caption: '订单明细基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizorderdetail.main2_2_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
,
druipart1: new FormDRUIPartModel({ caption: '', detailType: 'DRUIPART', name: 'druipart1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
druipart1: new FormDRUIPartModel({ caption: '', detailType: 'DRUIPART', name: 'druipart1', visible: false, isShowCaption: true, form: this, isControlledContent: false })
,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
......@@ -1062,6 +1062,14 @@ export default class Main2_2Base extends Vue implements ControlInterface {
public async formLogic({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }){
if (Object.is(name, '') || Object.is(name, 'unitprice')) {
let ret = false;
const _unitprice = this.data.unitprice;
if (this.$verify.testCond(_unitprice, 'GT', '10')) {
ret = true;
}
this.detailsModel.druipart1.setVisible(ret);
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册