|
|
@@ -3,9 +3,11 @@
|
|
|
<block v-if="!$util.isEmpty(bxList)">
|
|
|
<view v-for="(item, index) in bxList" :key="index">
|
|
|
<view style="background-color: white;margin-bottom:15upx;padding:20upx 0 20upx 20upx;">
|
|
|
- <view style="font-size:33upx;margin-bottom:20upx;margin-top:20upx;">
|
|
|
- <view><text style="font-weight:bold;">{{item.staffName?item.staffName:''}}</text></view>
|
|
|
- <view><text>待报销:¥{{ item.amount }}</text></view>
|
|
|
+ <view style="font-size:33upx;margin-bottom:20upx;">
|
|
|
+ <view>
|
|
|
+ <text style="font-weight:bold;">{{item.staffName?item.staffName:''}}</text>
|
|
|
+ <text style="margin-left:30upx;">待报销:¥{{ item.amount }}</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<button @tap="confirmBx(index,item.amount)" class="admin-button-com blue middle">确认报销</button>
|
|
|
</view>
|
|
|
@@ -16,13 +18,12 @@
|
|
|
</block>
|
|
|
</view>
|
|
|
</template>
|
|
|
-
|
|
|
<script>
|
|
|
import AppWrapperEmpty from "@/components/app-wrapper-empty";
|
|
|
import { getUnBxList,bx } from '@/api/expend'
|
|
|
import DateSelect from "@/components/module/dateSelect"
|
|
|
export default {
|
|
|
- name: "bxList",
|
|
|
+ name: "mayBx",
|
|
|
components: {
|
|
|
AppWrapperEmpty,
|
|
|
DateSelect
|
|
|
@@ -55,7 +56,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
init(){
|
|
|
- getUnBxList({searchTime: this.searchTime,startTime: this.startTime,endTime: this.endTime}).then(res=>{
|
|
|
+ getUnBxList({}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
this.bxList = res.data.list ? res.data.list : []
|
|
|
}
|