Pārlūkot izejas kodu

经费开支列表总金额显示小数,备注改为申请人,经费开支详情 备注改为申请人

新疆警官学校中职
lb01 pirms 2 gadiem
vecāks
revīzija
3a0870215d
2 mainītis faili ar 20 papildinājumiem un 7 dzēšanām
  1. +10
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/FundsApply/list.vue
  2. +10
    -5
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/FundsApply/single.vue

+ 10
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/FundsApply/list.vue Parādīt failu

@@ -31,14 +31,19 @@
{{ displayListItem(item, 'ApplyUser') }} {{ displayListItem(item, 'ApplyUser') }}
</view> </view>


<view class="customlist-item-field">
<!-- <view class="customlist-item-field">
<text class="customlist-item-field-title">备注:</text> <text class="customlist-item-field-title">备注:</text>
{{ displayListItem(item, 'Remark') }} {{ displayListItem(item, 'Remark') }}
</view> -->
<view class="customlist-item-field">
<text class="customlist-item-field-title">申请人:</text>
{{ displayListItem(item, 'Remark') }}
</view> </view>


<view class="customlist-item-field"> <view class="customlist-item-field">
<text class="customlist-item-field-title">总金额:</text> <text class="customlist-item-field-title">总金额:</text>
{{ displayListItem(item, 'SumAmount') }}
{{ decimals(displayListItem(item, 'SumAmount')) }}
</view> </view>


<view class="customlist-item-field"> <view class="customlist-item-field">
@@ -381,6 +386,9 @@
} else { } else {
return '作废'; return '作废';
} }
},
decimals(data){
return Number(data).toFixed(2)
} }


}, },


+ 10
- 5
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/FundsApply/single.vue Parādīt failu

@@ -25,9 +25,10 @@
<l-select @input="setValue('FundsApply.IsFixedAssets', $event)" <l-select @input="setValue('FundsApply.IsFixedAssets', $event)"
:value="getValue('FundsApply.IsFixedAssets')" :range="dataSource.FundsApply.IsFixedAssets" :value="getValue('FundsApply.IsFixedAssets')" :range="dataSource.FundsApply.IsFixedAssets"
title="是否固定资产" :disabled="!edit" /> <!-- v-if="!edit" --> title="是否固定资产" :disabled="!edit" /> <!-- v-if="!edit" -->
<l-textarea @input="setValue('FundsApply.Remark', $event)" :value="getValue('FundsApply.Remark')" title="备注"
:readonly="!edit" /> <!-- v-if="!edit" :readonly="!edit" -->
<!-- <l-textarea @input="setValue('FundsApply.Remark', $event)" :value="getValue('FundsApply.Remark')" title="备注"
:readonly="!edit" /> --> <!-- v-if="!edit" :readonly="!edit" -->
<l-input @input="setValue('FundsApply.Remark', $event)" :value="getValue('FundsApply.Remark')"
title="申请人" :disabled="!edit" />
<l-input @input="Statusitem(setValue('FundsApply.Status', $event)) " <l-input @input="Statusitem(setValue('FundsApply.Status', $event)) "
:value="Statusitem(getValue('FundsApply.Status'))" title="审批状态" disabled v-if="!edit" /> :value="Statusitem(getValue('FundsApply.Status'))" title="审批状态" disabled v-if="!edit" />
<!-- :disabled="!edit" --> <!-- :disabled="!edit" -->
@@ -156,9 +157,13 @@
dataSourceId: 'IsFixedAssets', dataSourceId: 'IsFixedAssets',
verify: 'NotNull' verify: 'NotNull'
}, },
// Remark: {
// type: 'texteditor',
// title: '备注',
// },
Remark: { Remark: {
type: 'texteditor',
title: '备注',
type: 'text',
title: '申请人',
}, },
SumAmount: { SumAmount: {
type: 'text', type: 'text',


Notiek ielāde…
Atcelt
Saglabāt