|
|
@@ -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 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|