|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <label class="search__label">费用类型:</label>
|
|
|
- <el-select v-model="param.content.where.feestype" placeholder="请选择费用类型" class="inline-16" size="small" filterable clearable @change="listData(param.content.phonenumber = 1)">
|
|
|
+ <label class="search__label">{{$t(`费用类型`)}}:</label>
|
|
|
+ <el-select v-model="param.content.where.feestype" :placeholder="$t(`请选择费用类型`)" class="inline-16" size="small" filterable clearable @change="listData(param.content.phonenumber = 1)">
|
|
|
<el-option
|
|
|
v-for="item in feestypeList"
|
|
|
:key="item.index"
|
|
|
@@ -9,8 +9,8 @@
|
|
|
:value="item.value">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
- <label class="search__label">归属应用:</label>
|
|
|
- <el-select v-model="param.content.where.ownertable" placeholder="请选择归属应用" class="inline-16" size="small" clearable @change="listData(param.content.phonenumber = 1)">
|
|
|
+ <label class="search__label">{{$t(`归属应用`)}}:</label>
|
|
|
+ <el-select v-model="param.content.where.ownertable" :placeholder="$t(`请选择归属应用`)" class="inline-16" size="small" clearable @change="listData(param.content.phonenumber = 1)">
|
|
|
<el-option
|
|
|
v-for="item in applicationList"
|
|
|
:key="item.value"
|
|
|
@@ -28,7 +28,7 @@
|
|
|
<table-new-layout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :width="true" :customHeader="true" fixedName="operation" :checkbox="true" @selectionChange="selectionChange" height="calc(100vh - 340px)">
|
|
|
<template v-slot:header="data">
|
|
|
<!-- <div v-if="data.data.property == 'feestypefullname'">
|
|
|
- <el-select v-model="feestype" placeholder="请选择费用类型" class="inline-16" size="small" @change="feesTypeAllChange">
|
|
|
+ <el-select v-model="feestype" :placeholder="$t(`请选择费用类型`)" class="inline-16" size="small" @change="feesTypeAllChange">
|
|
|
<el-option
|
|
|
v-for="item in feestypeList"
|
|
|
:key="item.index1"
|
|
|
@@ -43,10 +43,10 @@
|
|
|
</template>
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div v-if="scope.column.columnname === 'amount'">
|
|
|
- <el-input v-model="scope.column.data[scope.column.columnname]" placeholder="填写金额" type="number" :step="0.000001" @change="amountChange(scope.column.data)" size="small"></el-input>
|
|
|
+ <el-input v-model="scope.column.data[scope.column.columnname]" :placeholder="$t(`填写金额`)" type="number" :step="0.000001" @change="amountChange(scope.column.data)" size="small"></el-input>
|
|
|
</div>
|
|
|
<div v-else-if="scope.column.columnname === 'feestypefullname'">
|
|
|
- <el-select v-model="scope.column.data.feestypefullname" placeholder="请选择费用类型" class="inline-16" size="small" filterable @change="feesTypeChange(scope.column.data)">
|
|
|
+ <el-select v-model="scope.column.data.feestypefullname" :placeholder="$t(`请选择费用类型`)" class="inline-16" size="small" filterable @change="feesTypeChange(scope.column.data)">
|
|
|
<el-option
|
|
|
v-for="item in feestypeList"
|
|
|
:key="item.value"
|
|
|
@@ -74,7 +74,7 @@
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
<el-drawer
|
|
|
- title="添加营销费用明细"
|
|
|
+ :title="$t(`添加营销费用明细`)"
|
|
|
:visible.sync="drawerShow"
|
|
|
direction="rtl"
|
|
|
size="70%"
|
|
|
@@ -86,8 +86,8 @@
|
|
|
<addTemplate ref="addRef" :param="followParam" :tablecols="tablecolsAdd" height="calc(100vh - 180px)" :hrid="data.hrid" @addSuccess="addSuccess">
|
|
|
<template v-slot:operation="scope">
|
|
|
<div class="mt-10 inline-16">
|
|
|
- <label class="search__label">归属应用:</label>
|
|
|
- <el-select v-model="followParam.content.where.ownertable" placeholder="请选择归属应用" class="inline-16" size="small" @change="$refs.addRef.listData($refs.addRef.param.content.pageNumber = 1)" clearable >
|
|
|
+ <label class="search__label">{{$t(`归属应用`)}}:</label>
|
|
|
+ <el-select v-model="followParam.content.where.ownertable" :placeholder="$t(`请选择归属应用`)" class="inline-16" size="small" @change="$refs.addRef.listData($refs.addRef.param.content.pageNumber = 1)" clearable >
|
|
|
<el-option
|
|
|
v-for="item in applicationList"
|
|
|
:key="item.value"
|
|
|
@@ -97,7 +97,7 @@
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<div class="mt-10 inline-16">
|
|
|
- <label class="search__label">跟进时间:</label>
|
|
|
+ <label class="search__label">{{$t(`跟进时间`)}}:</label>
|
|
|
<el-date-picker
|
|
|
style="margin-right: 10px"
|
|
|
size="small"
|
|
|
@@ -106,9 +106,9 @@
|
|
|
format="yyyy-MM-dd"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
type="daterange"
|
|
|
- range-separator="至"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期">
|
|
|
+ :range-separator="$t(`至`)"
|
|
|
+ :start-placeholder="$t(`开始日期`)"
|
|
|
+ :end-placeholder="$t(`结束日期`)">
|
|
|
</el-date-picker>
|
|
|
</div>
|
|
|
|
|
|
@@ -332,8 +332,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
clickDel(){
|
|
|
- this.$confirm('确定删除已选营销明细吗?', this.$t('提示'), {
|
|
|
- confirmButtonText: '确定删除',
|
|
|
+ this.$confirm(this.$t('确定删除已选营销明细吗')+'?', this.$t('提示'), {
|
|
|
+ confirmButtonText: this.$t('确定删除'),
|
|
|
cancelButtonText: this.$t('取消'),
|
|
|
type: 'warning'
|
|
|
}).then(async() => {
|