|
|
@ -39,102 +39,34 @@ |
|
|
|
</div> |
|
|
|
<el-table :key="tableKey" :data="formobj.scmWhenVehrebateCheckapplydetailDetails" :index="index" border style="width: 100%"> |
|
|
|
<el-table-column fixed width="80px" label="序号" type="index" :index="index + 1" align="center"/> |
|
|
|
<el-table-column label="返利类型" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.rebateTypeValue }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="数量" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.num }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="预提金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.withRebate }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="上传金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.uploadMoney }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="待确认金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.stayDetermineMoney }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="调整金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.adjustmentMoney }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="费用" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.money }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="rebateTypeValue" label="返利类型" align="center" /> |
|
|
|
<el-table-column prop="num" label="数量" align="center" /> |
|
|
|
<el-table-column prop="withRebate" label="预提金额" align="center" /> |
|
|
|
<el-table-column prop="uploadMoney" label="上传金额" align="center" /> |
|
|
|
<el-table-column prop="stayDetermineMoney" label="待确认金额" align="center" /> |
|
|
|
<el-table-column prop="adjustmentMoney" label="调整金额" align="center" /> |
|
|
|
<el-table-column prop="money" label="费用" align="center" /> |
|
|
|
<el-table-column label="明细" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="primary" size="mini" @click="handleLook(scope.row)">查看</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<div class="divStyle"> |
|
|
|
<div class="title titleOne"> |
|
|
|
<div>本月上传核对情况(按预提年月统计)</div> |
|
|
|
<el-button type="primary" size="mini" class="btntopblueline" @click="handleCheck">往月核对情况</el-button> |
|
|
|
</div> |
|
|
|
<el-table :key="lastVehrebateKey" :data="formobj.scmLastVehrebateCheckapplydetailDetails" border style="width: 100%"> |
|
|
|
<el-table-column label="预提年月" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.withholdingDate }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="预提数量" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.withholdingAmount }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="预提金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.withRebate }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="上传数量" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.uploadAmount }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="上传金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.uploadMoney }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="待确认金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.stayDetermineMoney }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="调整金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.adjustmentMoney }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="费用" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.money }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="未上传数量" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.notUploadedAmount }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="未上传金额" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.notUploadedCost }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="withholdingDate" label="预提年月" align="center" /> |
|
|
|
<el-table-column prop="withholdingAmount" label="预提数量" align="center" /> |
|
|
|
<el-table-column prop="withRebate" label="预提金额" align="center" /> |
|
|
|
<el-table-column prop="uploadAmount" label="上传数量" align="center" /> |
|
|
|
<el-table-column prop="uploadMoney" label="上传金额" align="center" /> |
|
|
|
<el-table-column prop="stayDetermineMoney" label="待确认金额" align="center" /> |
|
|
|
<el-table-column prop="adjustmentMoney" label="调整金额" align="center" /> |
|
|
|
<el-table-column prop="money" label="费用" align="center" /> |
|
|
|
<el-table-column prop="notUploadedAmount" label="未上传数量" align="center" /> |
|
|
|
<el-table-column prop="notUploadedCost" label="未上传金额" align="center" /> |
|
|
|
</el-table> |
|
|
|
<el-row> |
|
|
|
<el-col :span="2" class="tleftb"> |
|
|
@ -284,23 +216,21 @@ export default { |
|
|
|
this.viewTitle = '【编辑】单车返利核对审核申请' |
|
|
|
console.log('编辑回显', row.sid) |
|
|
|
req.fetchDetailsBySid(row.sid).then((resp) => { |
|
|
|
this.formobj = resp.data |
|
|
|
this.formobj.instanceId = resp.data.procInstId |
|
|
|
if (resp.success) { |
|
|
|
this.formobj = resp.data |
|
|
|
this.formobj.instanceId = resp.data.procInstId |
|
|
|
} |
|
|
|
}).catch((e) => { |
|
|
|
this.formobj = row |
|
|
|
}) |
|
|
|
}, |
|
|
|
changeBrand(value) { |
|
|
|
let bb = null |
|
|
|
this.brand_list.forEach((e) => { |
|
|
|
if (e.brandName === value) { |
|
|
|
bb = { |
|
|
|
name: e.brandName, |
|
|
|
sid: e.sid |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
this.formobj.brandSid = bb.sid |
|
|
|
const choose = this.brand_list.filter((item) => item.brandName === value) |
|
|
|
if (choose !== null && choose.length > 0) { |
|
|
|
this.formobj.brandSid = choose[0].sid |
|
|
|
} else { |
|
|
|
this.formobj.brandSid = '' |
|
|
|
} |
|
|
|
}, |
|
|
|
// 明细表添加一行数据 |
|
|
|
handleSelect() { |
|
|
@ -483,11 +413,7 @@ export default { |
|
|
|
req.save(this.formobj).then((resp) => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ |
|
|
|
showClose: true, |
|
|
|
type: 'success', |
|
|
|
message: resp.msg |
|
|
|
}) |
|
|
|
this.$message({ showClose: true, type: 'success', message: resp.msg }) |
|
|
|
this.handleReturn('true') |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
@ -505,11 +431,7 @@ export default { |
|
|
|
req.submitVehicleApply(this.formobj).then((resp) => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ |
|
|
|
showClose: true, |
|
|
|
type: 'success', |
|
|
|
message: resp.msg |
|
|
|
}) |
|
|
|
this.$message({ showClose: true, type: 'success', message: resp.msg }) |
|
|
|
this.handleReturn('true') |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
@ -549,13 +471,8 @@ export default { |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style scoped> |
|
|
|
.divStyle { |
|
|
|
.titleOne { |
|
|
|
padding: 7px; |
|
|
|
font-weight: bold; |
|
|
|
font-size: 16px; |
|
|
|
background-color: #0294d7; |
|
|
|
color: #ffffff; |
|
|
|
text-align: left; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
justify-content: space-between; |
|
|
|