Commit 9e1fbd75 authored by zs嵩's avatar zs嵩

批量费用申请

parent 4a09c476
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<el-table-column :label="$t('货币类型')"> <el-table-column :label="$t('货币类型')">
<template v-slot:default="scope"> <template v-slot:default="scope">
<el-select :disabled="!scope.row.editMode && !!scope.row.status" v-model="scope.row.applicationFeeCurrency"> <el-select :disabled="!scope.row.editMode && !!scope.row.status" v-model="scope.row.applicationFeeCurrency">
<el-option v-for="item in JSON.parse(currencys)" :key="item.id" :label="isChinese ? item.titleZh : item.titleEn" :value="item.id" /> <el-option v-for="item in currencyList" :key="item.id" :label="isChinese ? item.titleZh : item.titleEn" :value="item.id" />
</el-select> </el-select>
</template> </template>
</el-table-column> </el-table-column>
...@@ -51,12 +51,8 @@ ...@@ -51,12 +51,8 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('操作')"> <el-table-column :label="$t('操作')">
<template v-slot:default="scope"> <template slot-scope="{ index }">
<el-tag v-if="scope.row.status !== 0 && !scope.row.editMode">{{ STATUS[scope.row.status] }} </el-tag> <el-button type="text" @click="del(index)">删除</el-button>
<!--el-button type="text" v-if="scope.row.status == 1" @click="examineFn">{{$t('审核中')}}</el-button-->
<el-button type="text" v-if="scope.row.id && modifable(scope.row)" @click="modify(scope.row)">{{ $t("修改") }} </el-button>
<el-button type="text" v-if="scope.row.status === 0" @click="del(scope.$index)">删除 </el-button>
<el-button type="text" v-if="scope.row.id && scope.row.applicationFee === 0 && scope.row.status === 2 && !scope.row.editMode" @click="deleteByFeeIsZero(scope.row.id)">删除 </el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -101,7 +97,8 @@ ...@@ -101,7 +97,8 @@
</el-table-column> </el-table-column>
<el-table-column type="expand" :label="$t('更多')"> <el-table-column type="expand" :label="$t('更多')">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-table :data="row.orderFeeApplicationBaseVOList || []"> <div style="padding: 20px; background: #f4f4f4; margin: 0 20px 0 100px; border: 1px solid #e4e4e4">
<el-table :data="row.orderFeeApplicationBaseVOList || []" border size="mini">
<el-table-column :label="$t('序号')" type="index"></el-table-column> <el-table-column :label="$t('序号')" type="index"></el-table-column>
<el-table-column :label="$t('费用类型')"> <el-table-column :label="$t('费用类型')">
<template v-slot:default="scope"> <template v-slot:default="scope">
...@@ -116,7 +113,7 @@ ...@@ -116,7 +113,7 @@
<el-table-column :label="$t('货币类型')"> <el-table-column :label="$t('货币类型')">
<template v-slot:default="scope"> <template v-slot:default="scope">
<el-select :disabled="!scope.row.editMode && !!scope.row.status" v-model="scope.row.applicationFeeCurrency"> <el-select :disabled="!scope.row.editMode && !!scope.row.status" v-model="scope.row.applicationFeeCurrency">
<el-option v-for="item in JSON.parse(currencys)" :key="item.id" :label="isChinese ? item.titleZh : item.titleEn" :value="item.id" /> <el-option v-for="item in currencyList" :key="item.id" :label="isChinese ? item.titleZh : item.titleEn" :value="item.id" />
</el-select> </el-select>
</template> </template>
</el-table-column> </el-table-column>
...@@ -154,6 +151,7 @@ ...@@ -154,6 +151,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -307,7 +305,7 @@ export default { ...@@ -307,7 +305,7 @@ export default {
del(index) { del(index) {
this.$confirm(this.$t("确定要删除此条费用申请么?")).then(() => { this.$confirm(this.$t("确定要删除此条费用申请么?")).then(() => {
this.list.splice(index, 1) this.batchApplyDetailsInfoVO.feeDetailsVOList.splice(index, 1)
}) })
}, },
// 过滤订单状态筛选字典内容 // 过滤订单状态筛选字典内容
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment