Quellcode durchsuchen

移动端经费开支表单完善

和田中职
yxq vor 5 Monaten
Ursprung
Commit
cfb947c309
1 geänderte Dateien mit 18 neuen und 0 gelöschten Zeilen
  1. +18
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue

+ 18
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/AssetManagementSystem/Audit_Expenditures/single.vue Datei anzeigen

@@ -28,6 +28,15 @@
<view class="welCon" v-for="(item, i) in FundsApplyDetail" :key='i'>
<l-input v-model="item.ProjectContent" title="项目内容" placeholder="请填写" disabled right />
<l-input v-model="item.Number" type="number" @change="SumAmountChange(item)" title="数量" disabled placeholder="请填写" right />
<l-label title="单位">
<picker
:range="dataSource.Unit"
disabled
range-key="text"
>
<view class="picker">{{ item.Unit ? mapitem(item.Unit) : '请选择单位' }}</view>
</picker>
</l-label>
<l-input v-model="item.Price" type="number" @change="SumAmountChange(item)" title="单价(元)" disabled placeholder="请填写" right />
<l-input v-model="item.Amount" title="金额(元)" disabled placeholder="请填写" right />
</view>
@@ -87,6 +96,10 @@ export default {
Informant:[],
IsFixedAssets: [],
DeclarationType:[],
Unit:Object.values(this.GET_GLOBAL('dataDictionary').sldw).map(t => ({
value: t.value,
text: t.text
})),
},
FundsApplyDetail: [],
@@ -311,6 +324,11 @@ export default {
}else{
return '是'
}
},
mapitem(data){
return this.dataSource.Unit.find(item=>{
return item.value == data
}).text
}
}
}


Laden…
Abbrechen
Speichern