Commit bb80fad0 by 前端

联调完成

1 parent 0ae027ab
......@@ -112,7 +112,9 @@ export default {
tableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'list',
tableOption: true,
tableOption: {
width: 120
},
tableColumns: [
{
label: '特约名称',
......@@ -129,7 +131,8 @@ export default {
{
label: '操作人',
prop: 'updatedBy'
prop: 'updatedBy',
width: 100,
},
{
......@@ -285,5 +288,4 @@ export default {
}
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>
......@@ -206,7 +206,7 @@ export default {
}
]
},
pageConf: { pageSize: 'pageCount', pageNum: 'pageSize', totalCount: 'total' },
pageConf: { pageSize: 'pageSize', pageNum: 'pageCount', totalCount: 'total' },
// 公共数据
baseData: {
goodsStatusList: [],
......
......@@ -228,7 +228,7 @@ export default {
.report-components {
background: white;
margin: 20px 0 64px;
margin: 20px 0 0;
.title {
padding: 0 20px;
font-size: 16px;
......
......@@ -4,15 +4,9 @@
<report @toSearchOrderDetail="toSearchOrderDetail" ref="reportRef" :isGH="routeInfo.isGH" :pageType="pageType" :editForm.sync="editForm"></report>
<repair ref="repairRef" @changeObjectType="changeObjectType" :isGH="routeInfo.isGH" :pageType="pageType" :serviceItemsList.sync="serviceItemsList" :totalPrice.sync="totalPrice" :accountForm.sync="accountForm"></repair>
<material ref="materialRef" :pageType="pageType" :materialForm.sync="materialForm"></material>
<div class="footer operate-btn primary_plain_btn">
<template v-if="pageType != 2">
<el-button size="small" type="primary" @click="confirmSubmit(1)">提交</el-button>
<el-button size="small" type="primary" plain @click="confirmSubmit(2)">草稿</el-button>
<el-button size="small" @click="handleCancel">取消</el-button>
</template>
<template v-else>
<el-button size="small" type="primary" @click="handleCancel">返回</el-button>
</template>
<div class="page-btm-btn">
<el-button type="primary" @click="confirmSubmit(1)">提交</el-button>
<el-button type="primary" plain @click="confirmSubmit(2)">草稿</el-button>
</div>
</div>
</template>
......@@ -86,7 +80,7 @@ export default {
computed: {
totalPrice() {
let total = this.serviceItemsList.reduce(function(prev, cur) {
return prev + (+(cur.approveAmount * 100).toFixed(0))
return prev + +(cur.approveAmount * 100).toFixed(0)
}, 0)
return total / 100
}
......
......@@ -90,7 +90,7 @@ export default {
type: 'input',
label: '序列号',
name: 'seqNo',
isClear: true,
isClear: true
},
{
label: '版本',
......@@ -414,11 +414,14 @@ export default {
detailParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'list',
tableOption: true,
tableOption: {
width: 70
},
tableColumns: [
{
label: '序列号',
prop: 'seqNo'
prop: 'seqNo',
width: 100
},
{
label: '版本',
......@@ -474,11 +477,13 @@ export default {
},
{
label: '使用年限',
prop: 'servicePeriod'
prop: 'servicePeriod',
width: 100
},
{
label: '具体价格',
prop: 'actualPrice'
prop: 'actualPrice',
width: 100
}
]
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!