diff --git a/sgzb-ui/src/api/cost/cost.js b/sgzb-ui/src/api/cost/cost.js index e6884cc1..b066eab7 100644 --- a/sgzb-ui/src/api/cost/cost.js +++ b/sgzb-ui/src/api/cost/cost.js @@ -2,16 +2,16 @@ import request from '@/utils/request' // 查询费用结算申请列表 export function getSltAgreementInfo(query) { - return request({ - url: '/material/sltAgreementInfo/getSltAgreementInfo', - method: 'get', - params: query - }) - } + return request({ + url: '/material/sltAgreementInfo/getSltAgreementInfo', + method: 'get', + params: query + }) +} // 查询费用结算申请详情 -export function getSltInfo(params){ +export function getSltInfo(params) { return request({ url: '/material/sltAgreementInfo/getSltInfo', method: 'post', @@ -20,7 +20,7 @@ export function getSltInfo(params){ } // 费用结算申请提交 -export function submitFee(params){ +export function submitFee(params) { return request({ url: '/material/sltAgreementInfo/submitFee', method: 'post', @@ -55,6 +55,18 @@ export function settlementReview(query) { params: query }) } +/** + * 7.29 + */ + +/** 完工结算查询 */ +export const getComSellQueryApi = (params) => { + return request.post('/material/sltAgreementInfo/getSltInfo', params) +} +/** 编辑后保存接口 */ +export const editSaveApi = (params) => { + return request.post('/material/sltAgreementInfo/updateTrimDay', params) +} diff --git a/sgzb-ui/src/views/cost/csotSettlement/component/finishAndDetails.vue b/sgzb-ui/src/views/cost/csotSettlement/component/finishAndDetails.vue index c5dad621..fab0c681 100644 --- a/sgzb-ui/src/views/cost/csotSettlement/component/finishAndDetails.vue +++ b/sgzb-ui/src/views/cost/csotSettlement/component/finishAndDetails.vue @@ -15,29 +15,44 @@ :tableColumns="settleTableColumns" :tableTitle="`设备结算清单`" :isCostBear="true" + :constBear="1" + :totalPrice="settleTotalPrice_01" + :tableData="settleTableData_01" + @handelSaveSuccess="handelSaveSuccess" /> @@ -51,6 +66,7 @@ diff --git a/sgzb-ui/src/views/cost/csotSettlement/component/finishTable.vue b/sgzb-ui/src/views/cost/csotSettlement/component/finishTable.vue index 2d3eae75..87671fdf 100644 --- a/sgzb-ui/src/views/cost/csotSettlement/component/finishTable.vue +++ b/sgzb-ui/src/views/cost/csotSettlement/component/finishTable.vue @@ -3,14 +3,24 @@
- 调整天数批量设置: + 调整天数批量设置: +
勾选需要赔偿的维修项目 - {{ isCostBear ? '费用承担方:03' : '' }} - 合计:xxxxx元 + {{ + constBear === 1 ? '费用承担方:01' : '费用承担方:03' + }} + + 合计:{{ totalPrice }}元 {{ tableTitle }} @@ -34,6 +44,7 @@ size="mini" type="success" v-if="isEdit && isCostBear" + @click="handleSave" >保存 @@ -47,21 +58,29 @@ :key="index" :label="t.t_label" :width="t.t_slot === 't_date' ? '180' : ''" + show-overflow-tooltip >