Commit bb80fad0 by 前端

联调完成

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