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