Commit d627fcef by 张立顺

Merge branch 'SAAS+V4.36.2-0311' into SAAS+V4.36.0-0321

2 parents 3773543f 70045797
......@@ -79,10 +79,11 @@
交强和车船税
</p>
<el-form class="edit-sub-block" :inline="true">
<el-form-item label="交强险:">{{ $$(compulsoryInsure, 'compensation') }} / 保费:{{ $$(compulsoryInsure, 'payPrice') /
100 }}元</el-form-item>
<el-form-item label="交强险:">{{ $$(compulsoryInsure, 'compensation') }} / 保费:{{ $$(compulsoryInsure, 'payPrice')
/
100 }}元</el-form-item>
<el-form-item label="车船税:">{{ $$(vehicleInsure, 'compensation') }}年 / 保费:{{ $$(compulsoryInsure, 'payPrice') /
100 }}元</el-form-item>
100 }}元</el-form-item>
</el-form>
</div>
<div class="form_gp">
......@@ -95,6 +96,9 @@
:src="$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')" @click="handleEnlargeImg" />
{{ $$(detail, 'goodsName') }}
</el-form-item>
<el-form-item label="商品别名:" class="goods">
{{ $$(detail, 'goodsNameAlias') }}
</el-form-item>
<el-form-item label="增值权益价格/元:" style="width:450px">
{{ detail.quotedPriceUpdate / 100 }}
</el-form-item>
......@@ -278,4 +282,5 @@ export default {
align-items: center;
justify-content: center;
}
}</style>
}
</style>
......@@ -2,84 +2,51 @@
<template>
<div class="purchase">
<div class="container">
<GLCombiForm ref="showSearch"
:rowNumber="1"
:formObj="searchForm"
:formData="showFormData"
@handleOk="handleSearch"
@handleRest="handleReset"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData"
@handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="table-header">
<el-button type="primary"
class="btn"
size="small"
@click="exportExcel">导出</el-button>
<el-button type="primary" class="btn" size="small" @click="exportExcel">导出</el-button>
</div>
<!-- 表格区域 开始 -->
<GLTable ref="orderRef"
:getListApi="getListApi"
:noDataImg="url"
:searchForm="tableSearchForm"
:tableParams="tableParams"
:pageConf="pageConf"
:beforeSearchFn="beforeSearchFn"
@setTableFinishFun="setTableFinishFun">
<template slot="packageName"
slot-scope="scope">
<GLTable ref="orderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm"
:tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"
@setTableFinishFun="setTableFinishFun">
<template slot="packageName" slot-scope="scope">
<span v-if="scope.scope.mode == 0">
--
</span>
<span v-else
v-for="(item, index) in scope.scope.vdQuotationGoodsList"
:key="index">
<span v-else v-for="(item, index) in scope.scope.vdQuotationGoodsList" :key="index">
<p v-if="item.packageName">{{ item.packageName }}</p>
<p v-else> -- </p>
</span>
</template>
<template slot="goodsName"
slot-scope="scope">
<template slot="goodsName" slot-scope="scope">
<span v-if="scope.scope.mode == 0">
{{ scope.scope.goodsName }}
</span>
<span v-else
v-for="(item, index) in scope.scope.vdQuotationGoodsList"
:key="index">
<span v-else v-for="(item, index) in scope.scope.vdQuotationGoodsList" :key="index">
<p v-if="item.goodsName">{{ item.goodsName }}</p>
</span>
</template>
<div class="table-btns"
slot="auth-button"
slot-scope="scope">
<div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text"
v-if="[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)"
:disabled="scope.scope.mode != 0"
@click="handlePrint(scope.scope)">打印</el-button>
v-if="[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)"
:disabled="scope.scope.mode != 0" @click="handlePrint(scope.scope)">打印</el-button>
<el-button type="text"
v-if="[2].includes(scope.scope.equityOrderStatus) && [3, 5].includes(scope.scope.orderStatus)"
@click="handlePrintContract(scope.scope)">打印合同</el-button>
<el-button type="text"
@click="handleDetail(scope.scope)">详情</el-button>
v-if="[2].includes(scope.scope.equityOrderStatus) && [3, 5].includes(scope.scope.orderStatus)"
@click="handlePrintContract(scope.scope)">打印合同</el-button>
<el-button type="text" @click="handleDetail(scope.scope)">详情</el-button>
</div>
</GLTable>
<!-- 表格区域 end -->
</div>
<GLDialog v-if="previewVisible"
bigTitle="打印合同"
mode="big"
:visible.sync="previewVisible"
:noCancel="true"
:width="'480px'"
:close-on-click-modal="false"
@onOk="previewVisible = false"
@onCancel="previewVisible = false">
<div class="previewItem"
v-for="(item, index) in previewList"
:key="index">
<GLDialog v-if="previewVisible" bigTitle="打印合同" mode="big" :visible.sync="previewVisible" :noCancel="true"
:width="'480px'" :close-on-click-modal="false" @onOk="previewVisible = false" @onCancel="previewVisible = false">
<div class="previewItem" v-for="(item, index) in previewList" :key="index">
<span v-if="!item.goodName">合同{{ index + 1 }}</span>
<span class="goodName one-line-ellipsis"
v-else>合同名称: {{ item.goodName }}</span>
<i class="el-icon-download downloadIcon"
@click="exportFile({ contractNo: item.contractNo })"></i>
<span class="goodName one-line-ellipsis" v-else>合同名称: {{ item.goodName }}</span>
<i class="el-icon-download downloadIcon" @click="exportFile({ contractNo: item.contractNo })"></i>
</div>
</GLDialog>
</div>
......@@ -218,6 +185,11 @@ export default {
width: '200px',
},
{
label: '商品别名',
prop: 'goodsNameAlias',
width: '200px'
},
{
label: '报价金额/元',
prop: 'quotedPrice',
width: '200px',
......@@ -477,7 +449,7 @@ export default {
width: auto;
}
.previewItem + .previewItem {
.previewItem+.previewItem {
margin-top: 30px;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!