|
@@ -22,7 +22,7 @@
|
|
|
@keyup.native.enter="listData(param.content.pageNumber = 1)" @clear="listData(param.content.pageNumber = 1)" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
</el-input>
|
|
|
<el-button type="primary" @click="clickAdd" size="small">添加</el-button>
|
|
|
- <el-button type="primary" class="inline-16" @click="clickDel" size="small">删除</el-button>
|
|
|
+ <el-button :type="delSelect.length == 0?'':'primary'" class="inline-16" @click="clickDel" size="small" :disabled="delSelect.length == 0">删除</el-button>
|
|
|
<exportFile class="inline-16" :param="param" :columns="tablecols" fileName="营销费用明细"></exportFile>
|
|
|
<div style="margin-top: 15px">
|
|
|
<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)">
|
|
@@ -85,28 +85,33 @@
|
|
|
<div class="drawer__panel" style="margin-bottom: 0;padding-bottom: 0">
|
|
|
<addTemplate ref="addRef" :param="followParam" :tablecols="tablecolsAdd" height="calc(100vh - 180px)" :hrid="data.hrid" @addSuccess="addSuccess">
|
|
|
<template v-slot:operation="scope">
|
|
|
- <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 >
|
|
|
- <el-option
|
|
|
- v-for="item in applicationList"
|
|
|
- :key="item.value"
|
|
|
- :label="item.remarks"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- <label class="search__label">跟进时间:</label>
|
|
|
- <el-date-picker
|
|
|
- style="margin-right: 10px"
|
|
|
- size="small"
|
|
|
- v-model="followDate"
|
|
|
- @change="selectDate"
|
|
|
- format="yyyy-MM-dd"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- type="daterange"
|
|
|
- range-separator="至"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期">
|
|
|
- </el-date-picker>
|
|
|
+ <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 >
|
|
|
+ <el-option
|
|
|
+ v-for="item in applicationList"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.remarks"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div class="mt-10 inline-16">
|
|
|
+ <label class="search__label">跟进时间:</label>
|
|
|
+ <el-date-picker
|
|
|
+ style="margin-right: 10px"
|
|
|
+ size="small"
|
|
|
+ v-model="followDate"
|
|
|
+ @change="selectDate"
|
|
|
+ format="yyyy-MM-dd"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ type="daterange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </div>
|
|
|
+
|
|
|
</template>
|
|
|
</addTemplate>
|
|
|
</div>
|
|
@@ -266,15 +271,17 @@ export default {
|
|
|
"sa_salesfeesdetailid": data.sa_salesfeesdetailid,
|
|
|
"ownerid": data.ownerid,
|
|
|
"ownertable": data.ownertable,
|
|
|
- "feestype": data.feestype,
|
|
|
+ "feestype": data.feestypefullname,
|
|
|
"amount": data.amount,
|
|
|
"followupdate": data.followupdate
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
})
|
|
|
+ this.listData()
|
|
|
},
|
|
|
async amountChange(data){
|
|
|
+ console.log(data,'data金额调整')
|
|
|
const res = await this.$api.requested({
|
|
|
"id": "20240611093004",
|
|
|
"content": {
|