|
@@ -163,15 +163,18 @@
|
|
<el-table
|
|
<el-table
|
|
:data="dailyExpensesData.dailyFeeDetails"
|
|
:data="dailyExpensesData.dailyFeeDetails"
|
|
row-key="id"
|
|
row-key="id"
|
|
|
|
+ table-layout="auto"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
label="序号"
|
|
label="序号"
|
|
property="id"
|
|
property="id"
|
|
prop="id"
|
|
prop="id"
|
|
|
|
+ align="center"
|
|
/>
|
|
/>
|
|
<el-table-column
|
|
<el-table-column
|
|
property="illustrate"
|
|
property="illustrate"
|
|
label="费用说明"
|
|
label="费用说明"
|
|
|
|
+ align="center"
|
|
>
|
|
>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-input
|
|
<el-input
|
|
@@ -185,6 +188,7 @@
|
|
<el-table-column
|
|
<el-table-column
|
|
property="feePrice"
|
|
property="feePrice"
|
|
label="报销金额"
|
|
label="报销金额"
|
|
|
|
+ align="center"
|
|
>
|
|
>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -198,6 +202,7 @@
|
|
<el-table-column
|
|
<el-table-column
|
|
property="feeTime"
|
|
property="feeTime"
|
|
label="日期"
|
|
label="日期"
|
|
|
|
+ align="center"
|
|
>
|
|
>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
@@ -210,6 +215,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
label="操作"
|
|
label="操作"
|
|
|
|
+ align="center"
|
|
>
|
|
>
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-button
|
|
<el-button
|
|
@@ -656,8 +662,6 @@ const expensesDetailsData = (val) => {
|
|
for (let i = 1; i <= dailyExpensesData.value.dailyFeeDetails.length; i++) {
|
|
for (let i = 1; i <= dailyExpensesData.value.dailyFeeDetails.length; i++) {
|
|
dailyExpensesData.value.dailyFeeDetails[i - 1].id = i
|
|
dailyExpensesData.value.dailyFeeDetails[i - 1].id = i
|
|
}
|
|
}
|
|
- console.log(dailyExpensesData.value)
|
|
|
|
- console.log(dailyExpensesData.value.dailyFeeDetails.id)
|
|
|
|
openDailyExpenses.value = true
|
|
openDailyExpenses.value = true
|
|
}
|
|
}
|
|
|
|
|