费用结算
This commit is contained in:
parent
d0068ab35d
commit
ad775627c5
|
|
@ -9,7 +9,16 @@ export function ApiGetBackApplyList(query) {
|
|||
})
|
||||
}
|
||||
|
||||
// 退料审核新增
|
||||
// 退料审核列表
|
||||
export function getBackAuditList(query) {
|
||||
return request({
|
||||
url: '/material/backApply/getBackAuditList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 退料申请新增
|
||||
export function ApiSubmitBackApply(query) {
|
||||
return request({
|
||||
url: '/material/backApply/submitBackApply',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,33 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询费用结算列表
|
||||
export function getSltAgreementInfo(query) {
|
||||
return request({
|
||||
url: '/material/sltAgreementInfo/getSltAgreementInfo',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -496,7 +496,7 @@
|
|||
|
||||
<script>
|
||||
import { listType, getType, delType, addType, updateType, refreshCache } from "@/api/system/dict/type";
|
||||
import { ApiGetBackApplyList, ApiGetView, ApiBackApplyAudit } from "@/api/claimAndRefund/return.js"
|
||||
import { getBackAuditList, ApiGetView, ApiBackApplyAudit } from "@/api/claimAndRefund/return.js"
|
||||
import {
|
||||
getInfo, h
|
||||
} from "@/api/login";
|
||||
|
|
@ -608,7 +608,7 @@ export default {
|
|||
...this.queryParams
|
||||
}
|
||||
console.log("paramsparamsparams", params)
|
||||
const res = await ApiGetBackApplyList(params)
|
||||
const res = await getBackAuditList(params)
|
||||
this.typeList = res.data.rows;
|
||||
this.total = res.data.total;
|
||||
this.loading = false;
|
||||
|
|
|
|||
|
|
@ -38,13 +38,13 @@
|
|||
<el-table-column label="外部租赁费用" align="center" prop="remark" :show-overflow-tooltip="true" />
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
<!-- <pagination
|
||||
v-show="total>0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
/> -->
|
||||
<div style="width: 100%;text-align: right;padding: 20px 20px;">租赁费用小计:97010.08</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -63,13 +63,13 @@
|
|||
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
<!-- <pagination
|
||||
v-show="total>0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
/> -->
|
||||
<div style="width: 100%;text-align: right;padding: 20px 20px;">维修费用小计:230</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -88,13 +88,13 @@
|
|||
<el-table-column label="维修费用" align="center" prop="planStartTime" :show-overflow-tooltip="true" />
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
<!-- <pagination
|
||||
v-show="total>0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
/> -->
|
||||
<div style="width: 100%;text-align: right;padding: 20px 20px;">报废费用小计:230</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -112,13 +112,13 @@
|
|||
<el-table-column label="丢失费用" align="center" prop="planStartTime" :show-overflow-tooltip="true" />
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
<!-- <pagination
|
||||
v-show="total>0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
/> -->
|
||||
<div style="width: 100%;text-align: right;padding: 20px 20px;">丢失费用小计:230</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="结算状态" prop="projectId">
|
||||
<el-select v-model="queryParams.projectId" placeholder="请选择结算状态" clearable>
|
||||
<el-form-item label="结算状态" prop="sltStatus">
|
||||
<el-select v-model="queryParams.sltStatus" placeholder="请选择结算状态" clearable>
|
||||
<el-option
|
||||
v-for="item in statusList"
|
||||
:key="item.id"
|
||||
|
|
@ -51,7 +51,8 @@
|
|||
<el-table-column label="签订日期" align="center" prop="signTime" :show-overflow-tooltip="true" /> -->
|
||||
<el-table-column label="结算单位" align="center" prop="unitName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="结算工程" align="center" prop="projectName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="合计费用" align="center" prop="planStartTime" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="合计费用" align="center" prop="cost" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="结算状态" align="center" prop="sltStatus" :show-overflow-tooltip="true" />
|
||||
<!-- <el-table-column label="租赁期限(天)" align="center" prop="leaseDay" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="授权人" align="center" prop="authPerson" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="联系电话 " align="center" prop="phone" :show-overflow-tooltip="true" />
|
||||
|
|
@ -64,12 +65,12 @@
|
|||
icon="el-icon-edit"
|
||||
@click="handleApply(scope.row)"
|
||||
>结算申请</el-button>
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
size="mini"
|
||||
type="danger"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
>撤销申请</el-button>
|
||||
>撤销申请</el-button> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
@ -83,11 +84,14 @@
|
|||
/>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAgreementList,getUnitList, getProjectList } from "@/api/claimAndRefund/receive";
|
||||
export default {
|
||||
<script>
|
||||
import { getAgreementList,getUnitList, getProjectList } from "@/api/claimAndRefund/receive";
|
||||
import { getSltAgreementInfo } from "@/api/cost/cost";
|
||||
|
||||
|
||||
export default {
|
||||
name: "Agreement",
|
||||
dicts: ['sys_normal_disable'],
|
||||
data() {
|
||||
|
|
@ -188,7 +192,7 @@
|
|||
/** 查询字典类型列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
getAgreementList(this.queryParams).then(response => {
|
||||
getSltAgreementInfo(this.queryParams).then(response => {
|
||||
this.agreementList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
|
|
@ -245,11 +249,11 @@
|
|||
// }, `协议_${new Date().getTime()}.xlsx`)
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep.el-table .fixed-width .el-button--mini {
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep.el-table .fixed-width .el-button--mini {
|
||||
width: 80px !important;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue