Commit cf919340 by 袁成

feat: 整数输入

parent ede254bb
<template>
<div>
<Input v-model="value" type='number' :disabled="state=='readOnly'" @on-blur="onBlur" />
</div>
</template>
<script>
import Input from './util/bc_input'
export default {
mixins: [Input],
data() {
return {}
},
methods: {}
}
</script>
<style lang='less' scoped>
</style>
\ No newline at end of file
......@@ -53,6 +53,14 @@ export default {
"extends": {
"config": [
{
"key": "formulas.editable",
"type": "formula",
"title": "是否可编辑",
"configFormula": true,
"disableSwitch": false,
"formulas.editable": true
},
{
"key": "field",
"type": "field",
"ref": "BillClassVO.attributes",
......@@ -65,6 +73,33 @@ export default {
"path": "资产/通用"
},
{
"title": "整数输入",
"description": "",
"discard": false,
"dynamicComponent": 'billForm',
"extends": {
"config": [
{
"key": "formulas.editable",
"type": "formula",
"title": "是否可编辑",
"configFormula": true,
"disableSwitch": false,
"formulas.editable": true
},
{
"key": "field",
"type": "field",
"ref": "BillClassVO.attributes",
"disableReload": false,
"title": "关联字段"
},
]
},
"value": "integerControl",
"path": "资产/通用"
},
{
"value": "ButtonControl",
"discard": false,
"path": "资产/通用",
......@@ -1317,7 +1352,6 @@ export default {
"description": "",
"title": "财务_查询草稿[CW_draftSearchAction]",
"value": "draftSearchAction",
"btnDisable": "false",
"btnDisable": "billReadOnly;1;90;91;92"
}, {
"discard": false,
......
......@@ -70,6 +70,7 @@ import rbcBasedataTree from './control/baseDataSelect/index.vue'
import newsDetail from './components-control/news-detail.vue'
import queryDate from './control/query-date.vue'
import userSelectControl from './control/userSelect.vue'
import integerControl from './control/integerControl.vue'
//formula
import GetMdByFormerCode from './formula/GetMdByFormerCode'
import GetBrowserVersion from './formula/GetBrowserVersion'
......@@ -259,7 +260,8 @@ export default {
ApprovalUserControl,
WorkflowTrack,
rbcBasedataTree,
userSelectControl
userSelectControl,
integerControl
},
formula: {
SubTableSetBaseData,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment