|
@@ -328,7 +328,7 @@
|
|
|
<el-button class="radius-2px width-100" type="primary" @click="addShow = true">添加应收</el-button>
|
|
<el-button class="radius-2px width-100" type="primary" @click="addShow = true">添加应收</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-108 m-r-8">
|
|
<div class="col-108 m-r-8">
|
|
|
- <el-button class="radius-2px width-100" type="primary">批量结算</el-button>
|
|
|
|
|
|
|
+ <el-button class="radius-2px width-100" type="primary" @click="batchSettle">批量结算</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-108 m-r-8">
|
|
<div class="col-108 m-r-8">
|
|
|
<el-button class="radius-2px width-100" type="primary" @click="dropdownCommand('删除')">删除</el-button>
|
|
<el-button class="radius-2px width-100" type="primary" @click="dropdownCommand('删除')">删除</el-button>
|
|
@@ -1037,7 +1037,7 @@ const batchSettle = () => {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
api.financeApi.getReceivableCompany({
|
|
api.financeApi.getReceivableCompany({
|
|
|
- incomeIds: [...selectedList.value]
|
|
|
|
|
|
|
+ incomeIds: selectedList.value.map((item: any) => item.id)
|
|
|
}).then((res: any) => {
|
|
}).then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
options.value = res.data
|
|
options.value = res.data
|