刘璐珈噶东

This commit is contained in:
Vergil
2020-02-24 09:32:44 +08:00
parent b3513a9a3d
commit 6c08cd2ea8
19 changed files with 1217 additions and 822 deletions

View File

@@ -13,58 +13,57 @@
<el-button type="primary" icon="el-icon-search" size="small" style="margin-left: 10px" plain @click="PageSize = 30;PageCurrent = 1;fetchTableData1()">查询</el-button>
</el-row>
</el-card>
<el-card>
<el-col :span="15">
<el-table v-loading="listLoading" :data="tableData1" highlight-current-row style="margin-top: 3px" height="580" border size="mini" @row-click="selectMachine">
<el-table-column align="center" label="项目名称" prop="项目名称" width="150" show-overflow-tooltip>
<el-col :span="17.6">
<el-table v-loading="listLoading" :data="tableData1" :header-cell-style="{fontFamily:'YouYuan',fontSize:'13px',fontWeight:200}" stripe highlight-current-row style="margin-top: 3px" height="580" border size="mini" @row-click="selectMachine">
<el-table-column align="center" label="项目名称" prop="项目名称" width="130" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.项目名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="客户名称" prop="客户名称" width="230" show-overflow-tooltip>
<el-table-column align="center" label="客户名称" prop="客户名称" width="150" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.客户名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="付款方式" width="80">
<el-table-column align="center" label="付款方式" width="77">
<template slot-scope="scope">
{{ scope.row.付款方式 }}
</template>
</el-table-column>
<el-table-column align="center" label="合同总额(万元)" width="110">
<el-table-column align="center" label="合同总额(万元)" width="124">
<template slot-scope="scope">
{{ scope.row.合同总金额 }}
{{ Number(scope.row.合同总金额).toFixed(2) }}
</template>
</el-table-column>
<el-table-column align="center" label="已付金额" width="80">
<template slot-scope="scope">
{{ Number(scope.row.已支付).toFixed(2) }}
</template>
</el-table-column>
<el-table-column align="center" label="合同签订日期" width="110">
<!--<el-table-column align="center" label="已付(万元)" width="95">-->
<!--<template slot-scope="scope">-->
<!--{{ Number(scope.row.已支付).toFixed(2) }}-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column align="center" label="签订日期" width="84">
<template slot-scope="scope">
{{ scope.row.合同签订日期&&scope.row.合同签订日期!=='1900/1/1' ? scope.row.合同签订日期 : '-' }}
</template>
</el-table-column>
<el-table-column align="center" label="发货节点" width="110">
<el-table-column align="center" label="发货节点" width="84">
<template slot-scope="scope">
{{ scope.row.发货节点&&scope.row.发货节点!=='1900/1/1' ? scope.row.发货节点 : '-' }}
</template>
</el-table-column>
<el-table-column align="center" label="销售经理" prop="营销经理" width="100">
<el-table-column align="center" label="销售经理" prop="营销经理" width="78">
<template slot-scope="scope">
{{ scope.row.营销经理 }}
</template>
</el-table-column>
<el-table-column align="center" label="合同编号" prop="合同编号" width="130">
<el-table-column align="center" label="合同编号" prop="合同编号" width="117">
<template slot-scope="scope">
<template>
<span slot="reference" type="mini">{{ scope.row.合同编号 }}</span>
</template>
</template>
</el-table-column>
<el-table-column align="center" label="合同信息备注" width="120">
<el-table-column align="center" label="信息备注" width="120" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.合同信息备注 }}
</template>
@@ -81,19 +80,19 @@
@current-change="handleCurrentChange"/>
</div>
</el-col>
<el-col :span="9">
<el-table :data="tableData2" class="subTableHeader" border style="text-align: center" size="mini">
<el-table-column label="设备型号" align="center" width="230" show-overflow-tooltip>
<el-col :span="6.3">
<el-table :data="tableData2" :header-cell-style="{fontFamily:'YouYuan',fontSize:'13px',fontWeight:200}" class="subTableHeader" border style="text-align: center" size="mini">
<el-table-column label="设备型号" align="center" width="90" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
</el-table-column>
<el-table-column label="设备名称" align="center" min-width="150" show-overflow-tooltip>
<el-table-column label="设备名称" align="center" min-width="90" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.机床名称 }}
</template>
</el-table-column>
<el-table-column label="设备状态" align="center" width="100">
<el-table-column label="设备状态" align="center" width="80">
<template slot-scope="scope">
{{ scope.row.机床状态 }}
</template>
@@ -914,10 +913,24 @@ export default {
}
</style>
<style lang="scss">
/*.subTableHeader {*/
/*th {*/
/*background: #8ff4ea !important;*/
/*color: black;*/
/*}*/
/*tr.el-table__row td {*/
/*background-color: #d8e5f6 !important;*/
/*}*/
/*tr.el-table__row.el-table__row--striped td {*/
/*background: #e9f0f9 !important;*/
/*}*/
/*}*/
.subTableHeader {
th {
background: #8ff4ea !important;
color: black;
background: #7eaced !important;
color: #FFFFFF;
}
tr.el-table__row td {