This commit is contained in:
bryan sun
2019-10-17 19:30:46 +08:00
parent 1989b23ce9
commit 98c67d3822
27 changed files with 128 additions and 122 deletions

View File

@@ -46,27 +46,27 @@
</el-card> </el-card>
<el-card> <el-card>
<el-table :data="tableData1" border stripe size="mini" highlight-current-row style="width: 100%;margin-top: 3px" height="550px"> <el-table :data="tableData1" border stripe size="mini" highlight-current-row style="width: 100%;margin-top: 3px" height="550px">
<el-table-column label="项目名称" align="center"> <el-table-column label="项目名称" sortable prop="项目名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="机床图号" align="center"> <el-table-column label="机床图号" sortable prop="机床图号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床图号 }} {{ scope.row.机床图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件图号" align="center"> <el-table-column label="零件图号" sortable prop="零件图号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center"> <el-table-column label="零件名称" sortable prop="零件名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="出库时间" align="center"> <el-table-column label="出库时间" sortable prop="出库时间" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.出库时间 }} {{ scope.row.出库时间 }}
</template> </template>

View File

@@ -40,12 +40,12 @@
align="center" align="center"
width="55" width="55"
type="index"/> type="index"/>
<el-table-column align="center" label="零件名称" width="150px"> <el-table-column align="center" label="零件名称" sortable prop="零件名称" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="零件图号" width="150px"> <el-table-column align="center" label="零件图号" sortable prop="零件图号" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
@@ -55,22 +55,22 @@
{{ scope.row.出库数量 }} {{ scope.row.出库数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="机床图号" width="120px"> <el-table-column align="center" label="机床图号" sortable prop="机床图号" width="120px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床图号 }} {{ scope.row.机床图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="组号" width="120px"> <el-table-column align="center" label="组号" sortable prop="组号" width="120px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.组号 }} {{ scope.row.组号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="领料人"> <el-table-column align="center" label="领料人" sortable prop="出库备注">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.出库备注 }} {{ scope.row.出库备注 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="出库时间"> <el-table-column align="center" label="出库时间" sortable prop="出库时间">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.出库时间 }} {{ scope.row.出库时间 }}
</template> </template>

View File

@@ -40,12 +40,12 @@
align="center" align="center"
width="55" width="55"
type="index"/> type="index"/>
<el-table-column align="center" label="零件名称" width="150px"> <el-table-column align="center" label="零件名称" sortable prop="零件名称" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="零件图号" width="150px"> <el-table-column align="center" label="零件图号" sortable prop="零件图号" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
@@ -55,12 +55,12 @@
{{ scope.row.入库数量 }} {{ scope.row.入库数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="机床图号" width="120px"> <el-table-column align="center" label="机床图号" sortable prop="机床图号" width="120px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床图号 }} {{ scope.row.机床图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="组号" width="120px"> <el-table-column align="center" label="组号" sortable prop="组号" width="120px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.组号 }} {{ scope.row.组号 }}
</template> </template>
@@ -70,12 +70,12 @@
{{ scope.row.仓库名称 }} {{ scope.row.仓库名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="货位名称" width="120px"> <el-table-column align="center" label="货位名称" sortable prop="货位名称" width="120px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.货位名称 }} {{ scope.row.货位名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="入库时间"> <el-table-column align="center" label="入库时间" sortable prop="入库时间">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.入库时间 }} {{ scope.row.入库时间 }}
</template> </template>

View File

@@ -59,12 +59,12 @@
style="width: 100%;" style="width: 100%;"
border> border>
<el-table-column label="序号" type="index" align="center" width="55"/> <el-table-column label="序号" type="index" align="center" width="55"/>
<el-table-column label="零件图号" align="center" min-width="150px"> <el-table-column label="零件图号" sortable prop="零件图号" align="center" min-width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center" min-width="120px"> <el-table-column label="零件名称" sortable prop="零件名称" align="center" min-width="120px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
@@ -74,12 +74,12 @@
{{ scope.row.完成数量 }} {{ scope.row.完成数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="工艺名称" align="center" min-width="70px"> <el-table-column label="工艺名称" sortable prop="工艺名称" align="center" min-width="90px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.工艺名称 }} {{ scope.row.工艺名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作者" align="center" min-width="80px"> <el-table-column label="操作者" sortable prop="姓名" align="center" min-width="80px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.姓名 }} {{ scope.row.姓名 }}
</template> </template>
@@ -115,12 +115,12 @@
<span v-else>{{ scope.row.修补工时 }}</span> <span v-else>{{ scope.row.修补工时 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="修补操作时间" align="center" min-width="160px"> <el-table-column label="修补操作时间" sortable prop="修补操作时间" align="center" min-width="160px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.修补操作时间 || '—' }} {{ scope.row.修补操作时间 || '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="修补人" align="center" min-width="100px"> <el-table-column label="修补人" sortable prop="修补人" align="center" min-width="100px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.修补人 || '—' }} {{ scope.row.修补人 || '—' }}
</template> </template>

View File

@@ -27,18 +27,18 @@
type="selection" type="selection"
width="55" width="55"
align="center"/> align="center"/>
<el-table-column label="打印状态" align="center"> <el-table-column label="打印状态" sortable prop="备料打印" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.备料打印!=='0'" type="success" size="mini">已导出</el-tag> <el-tag v-if="scope.row.备料打印!=='0'" type="success" size="mini">已导出</el-tag>
<el-tag v-else type="warning" size="mini">未导出</el-tag> <el-tag v-else type="warning" size="mini">未导出</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center" > <el-table-column label="零件名称" sortable prop="零件名称" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件图号" align="center" > <el-table-column label="零件图号" sortable prop="零件图号" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>

View File

@@ -102,17 +102,17 @@
type="selection" type="selection"
align="center" align="center"
width="35"/> width="35"/>
<el-table-column label="零件号" align="center" min-width="220"> <el-table-column label="零件号" sortable prop="零件图号" align="center" min-width="220">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center"> <el-table-column label="零件名称" sortable prop="零件名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="规格" align="center"> <el-table-column label="规格" sortable prop="规格" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.规格 }} {{ scope.row.规格 }}
</template> </template>
@@ -137,7 +137,7 @@
{{ scope.row.未投产数量 }} {{ scope.row.未投产数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件类型" align="center" width="100"> <el-table-column label="零件类型" sortable prop="零件类型名称" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件类型名称 }} {{ scope.row.零件类型名称 }}
</template> </template>
@@ -219,7 +219,9 @@
<template slot-scope="scope">{{ scope.row.零件图号 }}</template> <template slot-scope="scope">{{ scope.row.零件图号 }}</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="零件名称"> sortable
prop="零件名称"
label="零件名称" >
<template slot-scope="scope">{{ scope.row.零件名称 }}</template> <template slot-scope="scope">{{ scope.row.零件名称 }}</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column

View File

@@ -35,12 +35,12 @@
<el-card> <el-card>
<el-table v-loading="loading" :data="tableData" height="350" style="width: 100%;margin: 3px 0" size="mini" border stripe highlight-current-row element-loading-text="拼命加载中" @selection-change="handleSelectionChange2"> <el-table v-loading="loading" :data="tableData" height="350" style="width: 100%;margin: 3px 0" size="mini" border stripe highlight-current-row element-loading-text="拼命加载中" @selection-change="handleSelectionChange2">
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center"/>
<el-table-column label="零件名称" align="center" width="220px"> <el-table-column label="零件名称" sortable prop="零件名称" align="center" width="220px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件图号" align="center" width="280px"> <el-table-column label="零件图号" sortable prop="零件图号" align="center" width="280px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
@@ -78,12 +78,12 @@
<el-card> <el-card>
<el-table v-loading="loading2" :data="tableData2" height="350" style="width: 100%;margin: 3px 0" size="mini" border stripe highlight-current-row element-loading-text="拼命加载中" @selection-change="handleSelectionChange"> <el-table v-loading="loading2" :data="tableData2" height="350" style="width: 100%;margin: 3px 0" size="mini" border stripe highlight-current-row element-loading-text="拼命加载中" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center"/>
<el-table-column label="零件名称" align="center" width="220px"> <el-table-column label="零件名称" sortable prop="零件名称" align="center" width="220px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件图号" align="center" width="240px"> <el-table-column label="零件图号" sortable prop="零件图号" align="center" width="240px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>

View File

@@ -32,27 +32,27 @@
</el-card> </el-card>
<el-card> <el-card>
<el-table :data="tableData" border size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="250px" @row-click="searchPart"> <el-table :data="tableData" border size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="250px" @row-click="searchPart">
<el-table-column label="项目名称" align="center"> <el-table-column label="项目名称" sortable prop="项目名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="机床编号" align="center"> <el-table-column label="机床编号" sortable prop="机床图号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床图号 }} {{ scope.row.机床图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="机床名称" align="center"> <el-table-column label="机床名称" sortable prop="机床名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床名称 }} {{ scope.row.机床名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="组号" align="center"> <el-table-column label="组号" sortable prop="组号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.组号 }} {{ scope.row.组号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="组件名称" align="center"> <el-table-column label="组件名称" sortable prop="组件名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.组件名称 }} {{ scope.row.组件名称 }}
</template> </template>

View File

@@ -53,22 +53,22 @@
type="selection" type="selection"
align="center" align="center"
width="55"/> width="55"/>
<el-table-column label="机床号" align="center"> <el-table-column label="机床号" sortable prop="机床图号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床图号 }} {{ scope.row.机床图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="组号" align="center"> <el-table-column label="组号" sortable prop="组号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.组号 }} {{ scope.row.组号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件图号" align="center"> <el-table-column label="零件图号" sortable prop="零件图号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center"> <el-table-column label="零件名称" sortable prop="零件名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
@@ -78,7 +78,7 @@
{{ scope.row.批次数量 }} {{ scope.row.批次数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="工艺员" align="center"> <el-table-column label="工艺员" sortable prop="工艺员" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.工艺员 }} {{ scope.row.工艺员 }}
</template> </template>

View File

@@ -40,12 +40,12 @@
stripe stripe
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection"/> <el-table-column align="center" type="selection"/>
<el-table-column align="center" label="零件号" min-width="160"> <el-table-column align="center" label="零件号" sortable prop="零件号" min-width="160">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件号 }} {{ scope.row.零件号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="零件名称"> <el-table-column align="center" sortable prop="零件名称" label="零件名称">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>

View File

@@ -65,12 +65,12 @@
type="selection" type="selection"
align="center" align="center"
width="50"/> width="50"/>
<el-table-column label="零件图号" align="center" width="200"> <el-table-column label="零件图号" sortable prop="零件图号" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center" width="300"> <el-table-column label="零件名称" sortable prop="零件名称" align="center" width="300">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>

View File

@@ -49,14 +49,16 @@
@current-change="fetchTableData2"> @current-change="fetchTableData2">
<el-table-column <el-table-column
align="center" align="center"
prop="province1" sortable
prop="零件图号"
label="零件号" label="零件号"
> >
<template slot-scope="scope">{{ scope.row.零件图号 }}</template> <template slot-scope="scope">{{ scope.row.零件图号 }}</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
prop="province2" sortable
prop="零件名称"
label="零件名称" label="零件名称"
> >
<template slot-scope="scope">{{ scope.row.零件名称 }}</template> <template slot-scope="scope">{{ scope.row.零件名称 }}</template>

View File

@@ -11,17 +11,17 @@
<el-card> <el-card>
<el-table :data="List" border size="small" stripe highlight-current-row height="500px"> <el-table :data="List" border size="small" stripe highlight-current-row height="500px">
<el-table-column label="设备名称" align="center" > <el-table-column label="设备名称" sortable prop="设备名称" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.设备名称 }} {{ scope.row.设备名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备编号" align="center" > <el-table-column label="设备编号" sortable prop="设备编号" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.设备编号 }} {{ scope.row.设备编号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备型号" align="center" > <el-table-column label="设备型号" sortable prop="设备型号" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.设备型号 }} {{ scope.row.设备型号 }}
</template> </template>

View File

@@ -83,19 +83,19 @@
</el-table> </el-table>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="合同编号" width="150"> <el-table-column align="center" label="合同编号" sortable prop="合同编号" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<template> <template>
<el-tag slot="reference">{{ scope.row.合同编号 }}</el-tag> <el-tag slot="reference">{{ scope.row.合同编号 }}</el-tag>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="项目名称" min-width="150"> <el-table-column align="center" label="项目名称" sortable prop="项目名称" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="项目下达日期" width="150"> <el-table-column align="center" label="项目下达日期" sortable prop="合同签订日期" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.合同签订日期 }} {{ scope.row.合同签订日期 }}
</template> </template>

View File

@@ -55,22 +55,22 @@
type="index" type="index"
align="center" align="center"
width="50"/> width="50"/>
<el-table-column label="零件图号" align="center" width="230px"> <el-table-column label="零件图号" sortable prop="零件图号" align="center" width="230px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center" width="230px"> <el-table-column label="零件名称" sortable prop="零件名称" align="center" width="230px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="材料" align="center" min-width="150px"> <el-table-column label="材料" sortable prop="材料" align="center" min-width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.材料 }} {{ scope.row.材料 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="种类" align="center" width="150px"> <el-table-column label="种类" sortable prop="零件类型名称" align="center" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件类型名称 }} {{ scope.row.零件类型名称 }}
</template> </template>

View File

@@ -33,6 +33,8 @@
<el-table-column <el-table-column
align="center" align="center"
label="工艺名称" label="工艺名称"
sortable
prop="工艺名称"
width="200"> width="200">
<template slot-scope="scope">{{ scope.row.工艺名称 }}</template> <template slot-scope="scope">{{ scope.row.工艺名称 }}</template>
</el-table-column> </el-table-column>

View File

@@ -62,34 +62,34 @@
align="center" align="center"
fixed="left" fixed="left"
width="50"/> width="50"/>
<el-table-column label="付款状态" width="70" align="center" fixed="left"> <el-table-column label="付款状态" sortable prop="实际付款时间" width="100" align="center" fixed="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.实际付款时间!==''" type="success" size="small">已付</el-tag> <el-tag v-if="scope.row.实际付款时间!==''" type="success" size="small">已付</el-tag>
<el-tag v-else type="info" size="small">未付</el-tag> <el-tag v-else type="info" size="small">未付</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="到货状态" width="70" align="center" fixed="left"> <el-table-column label="到货状态" sortable prop="单据状态" width="100" align="center" fixed="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.单据状态==='3'" type="success" size="small">已到</el-tag> <el-tag v-if="scope.row.单据状态==='3'" type="success" size="small">已到</el-tag>
<el-tag v-else type="info" size="small">未到</el-tag> <el-tag v-else type="info" size="small">未到</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="表单号" align="center" min-width="200px" fixed="left"> <el-table-column label="表单号" sortable prop="表单号" align="center" min-width="200px" fixed="left">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.表单号 }} {{ scope.row.表单号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="外协厂家名称" align="center" min-width="200px"> <el-table-column label="外协厂家" sortable prop="外协厂家名称" align="center" min-width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.外协厂家名称 }} {{ scope.row.外协厂家名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="任务下达日期" align="center" min-width="125px"> <el-table-column label="任务下达日期" sortable prop="任务下达日期" align="center" min-width="125px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.任务下达日期 }} {{ scope.row.任务下达日期 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="外协员" align="center" width="80px"> <el-table-column label="外协员" sortable prop="外协员姓名" align="center" width="90px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.外协员姓名 }} {{ scope.row.外协员姓名 }}
</template> </template>
@@ -216,12 +216,12 @@
<el-card> <el-card>
<el-table v-loading="loading2" :data="tableData2" :summary-method="getSummaries" size="mini" stripe height="370" show-summary style="width: 100%;" border element-loading-text="拼命加载中"> <el-table v-loading="loading2" :data="tableData2" :summary-method="getSummaries" size="mini" stripe height="370" show-summary style="width: 100%;" border element-loading-text="拼命加载中">
<el-table-column label="发票号" align="center" width="230px"> <el-table-column label="发票号" sortable prop="发票号" align="center" width="230px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.发票号 }} {{ scope.row.发票号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="接收人" align="center" width="180px"> <el-table-column label="接收人" sortable prop="接收人" align="center" width="180px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.接收人 }} {{ scope.row.接收人 }}
</template> </template>

View File

@@ -30,28 +30,28 @@
</el-card> </el-card>
<el-card> <el-card>
<el-table v-loading="loading2" :data="List" highlight-current-row height="350" size="mini" stripe border @row-click="searchProcess" > <el-table v-loading="loading2" :data="List" highlight-current-row height="350" size="mini" stripe border @row-click="searchProcess" >
<el-table-column label="单据状态" width="100" align="center"> <el-table-column label="单据状态" sortable prop="单据状态" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.单据状态==='成交'" type="success" size="small">成交</el-tag> <el-tag v-if="scope.row.单据状态==='成交'" type="success" size="small">成交</el-tag>
<el-tag v-else type="info" size="small">未成交</el-tag> <el-tag v-else type="info" size="small">未成交</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="表单号" align="center" min-width="200px"> <el-table-column label="表单号" sortable prop="表单号" align="center" min-width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.表单号 }} {{ scope.row.表单号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="外协厂家" align="center" min-width="200px"> <el-table-column label="外协厂家" sortable prop="外协厂家" align="center" min-width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.外协厂家 }} {{ scope.row.外协厂家 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="任务下达日期" align="center" min-width="100px"> <el-table-column label="任务下达日期" sortable prop="任务下达日期" align="center" min-width="100px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.任务下达日期 }} {{ scope.row.任务下达日期 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="外协计划员" align="center" > <el-table-column label="外协员" sortable prop="外协计划员" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.外协计划员 }} {{ scope.row.外协计划员 }}
</template> </template>
@@ -99,17 +99,17 @@
<el-table-column <el-table-column
type="selection" type="selection"
width="55"/> width="55"/>
<el-table-column label="项目名称" align="center" > <el-table-column label="项目名称" sortable prop="项目名称" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件图号" align="center" width="120px" > <el-table-column label="零件图号" sortable prop="零件图号" align="center" width="120px" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center" min-width="140px" > <el-table-column label="零件名称" sortable prop="零件名称" align="center" min-width="140px" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>

View File

@@ -20,28 +20,28 @@
<el-card> <el-card>
<el-table v-loading="loading2" :data="List" highlight-current-row stripe size="mini" height="350" border @row-click="searchProcess" > <el-table v-loading="loading2" :data="List" highlight-current-row stripe size="mini" height="350" border @row-click="searchProcess" >
<el-table-column label="付款状态" width="100" align="center"> <el-table-column label="付款状态" sortable prop="实际付款时间" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.实际付款时间!==''" type="success" size="small" style="margin: 0px">已付款</el-tag> <el-tag v-if="scope.row.实际付款时间!==''" type="success" size="small" style="margin: 0px">已付款</el-tag>
<el-tag v-else type="info" size="small" style="margin: 0px">未付款</el-tag> <el-tag v-else type="info" size="small" style="margin: 0px">未付款</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="表单号" align="center" min-width="200px"> <el-table-column label="表单号" sortable prop="表单号" align="center" min-width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.表单号 }} {{ scope.row.表单号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="外协厂家" align="center" min-width="200px"> <el-table-column label="外协厂家" sortable prop="外协厂家" align="center" min-width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.外协厂家 }} {{ scope.row.外协厂家 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="任务下达日期" align="center" min-width="100px"> <el-table-column label="任务下达日期" sortable prop="任务下达日期" align="center" min-width="100px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.任务下达日期 }} {{ scope.row.任务下达日期 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="外协计划员" align="center" > <el-table-column label="外协员" sortable prop="外协计划员" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.外协计划员 }} {{ scope.row.外协计划员 }}
</template> </template>

View File

@@ -49,22 +49,22 @@
type="index" type="index"
align="center" align="center"
width="50"/> width="50"/>
<el-table-column label="零件图号" align="center" width="220px"> <el-table-column label="零件图号" sortable prop="零件图号" align="center" width="220px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center" width="220px"> <el-table-column label="零件名称" sortable prop="零件名称" align="center" width="220px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="材料" align="center"> <el-table-column label="材料" sortable prop="材料" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.材料 }} {{ scope.row.材料 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="种类" align="center" width="220px"> <el-table-column label="种类" sortable prop="零件类型名臣" align="center" width="220px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件类型名称 }} {{ scope.row.零件类型名称 }}
</template> </template>

View File

@@ -147,22 +147,22 @@
highlight-current-row highlight-current-row
border border
stripe> stripe>
<el-table-column align="center" label="物料名称"> <el-table-column align="center" label="物料名称" sortable prop="物料名称">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.物料名称 }} {{ scope.row.物料名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="物料规格"> <el-table-column align="center" label="物料规格" sortable prop="物料规格">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.物料规格 }} {{ scope.row.物料规格 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="物料型号"> <el-table-column align="center" label="物料型号" sortable prop="物料型号">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.物料型号 }} {{ scope.row.物料型号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="供货商"> <el-table-column align="center" label="供货商" sortable prop="供货商">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供货商 }} {{ scope.row.供货商 }}
</template> </template>

View File

@@ -39,12 +39,12 @@
</el-tooltip> </el-tooltip>
<el-table v-loading="loading1" :data="tableData1" border stripe highlight-current-row style="width: 100%;margin-top:3px;" height="330" size="mini" @selection-change="handleSelectionChange"> <el-table v-loading="loading1" :data="tableData1" border stripe highlight-current-row style="width: 100%;margin-top:3px;" height="330" size="mini" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="55"/> <el-table-column type="selection" align="center" width="55"/>
<el-table-column label="零件图号" min-width="100" align="center"> <el-table-column label="零件图号" sortable prop="零件图号" min-width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件图号 }} {{ scope.row.零件图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" min-width="100" align="center"> <el-table-column label="零件名称" sortable prop="零件名称" min-width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
@@ -54,7 +54,7 @@
{{ scope.row.批次数量 }} {{ scope.row.批次数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="材料" align="center"> <el-table-column label="材料" sortable prop="材料" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.材料 }} {{ scope.row.材料 }}
</template> </template>
@@ -88,7 +88,7 @@
</el-tooltip> </el-tooltip>
</div> </div>
<el-table v-loading="" :data="tableData2" border stripe style="max-height: 460px;" height="230px" size="mini" highlight-current-row @row-click="searchTable3"> <el-table v-loading="" :data="tableData2" border stripe style="max-height: 460px;" height="230px" size="mini" highlight-current-row @row-click="searchTable3">
<el-table-column label="采购状态" align="center" width="100" fixed="left"> <el-table-column label="采购状态" sortable prop="采购计划状态" align="center" width="100" fixed="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.采购计划状态)===0" type="warning" size="mini">编辑中</el-tag> <el-tag v-if="Number(scope.row.采购计划状态)===0" type="warning" size="mini">编辑中</el-tag>
<el-tag v-if="Number(scope.row.采购计划状态)===1" type="primary" size="mini">已保存</el-tag> <el-tag v-if="Number(scope.row.采购计划状态)===1" type="primary" size="mini">已保存</el-tag>
@@ -96,27 +96,27 @@
<el-tag v-if="Number(scope.row.采购计划状态)===4" type="info" size="mini">已结算</el-tag> <el-tag v-if="Number(scope.row.采购计划状态)===4" type="info" size="mini">已结算</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="采购计划单号" align="center" min-width="170"> <el-table-column label="采购计划单号" sortable prop="采购单号" align="center" min-width="170">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.采购单号 }} {{ scope.row.采购单号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="采购计划单名称" align="center" min-width="170"> <el-table-column label="采购计划单名称" sortable prop="采购单名称" align="center" min-width="170">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.采购单名称 }} {{ scope.row.采购单名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="供应商" align="center" min-width="250" show-overflow-tooltip> <el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="250" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供应商名称 }} {{ scope.row.供应商名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="采购员" align="center" min-width="80"> <el-table-column label="采购员" sortable prop="姓名" align="center" min-width="80">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.姓名 }} {{ scope.row.姓名 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="下单日期" align="center" width="100"> <el-table-column label="下单日期" sortable prop="下单日期" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.下单日期.split(' ')[0] }} {{ scope.row.下单日期.split(' ')[0] }}
</template> </template>
@@ -165,7 +165,7 @@
<el-tag v-if="Number(scope.row.是否到货)===2" type="info" size="mini">已结算</el-tag> <el-tag v-if="Number(scope.row.是否到货)===2" type="info" size="mini">已结算</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="物料编码" align="center" width="200"> <el-table-column label="物料编码" sortable prop="物料零件编码" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.物料零件编码 }} {{ scope.row.物料零件编码 }}
</template> </template>
@@ -175,12 +175,12 @@
<!--{{ scope.row.原材料名称 }}--> <!--{{ scope.row.原材料名称 }}-->
<!--</template>--> <!--</template>-->
<!--</el-table-column>--> <!--</el-table-column>-->
<el-table-column label="零件名称" align="center"> <el-table-column label="零件名称" sortable prop="零件名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="材料" align="center" > <el-table-column label="材料" sortable prop="材料" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.材料 }} {{ scope.row.材料 }}
</template> </template>

View File

@@ -42,12 +42,12 @@
</el-form> </el-form>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="供应商" align="center" width="170" show-overflow-tooltip> <el-table-column label="供应商" sortable prop="供应商名称" align="center" width="170" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供应商名称 }} {{ scope.row.供应商名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="发票号" align="center" width="130"> <el-table-column label="发票号" sortable prop="发票号" align="center" width="130">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.发票号 }} {{ scope.row.发票号 }}
</template> </template>
@@ -57,17 +57,17 @@
{{ scope.row.发票金额 }} {{ scope.row.发票金额 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="申请人" align="center" width="100"> <el-table-column label="申请人" sortable prop="申请人姓名" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.申请人姓名 ? scope.row.申请人姓名 : '未提交' }} {{ scope.row.申请人姓名 ? scope.row.申请人姓名 : '未提交' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="申请时间" align="center" width="130"> <el-table-column label="申请时间" sortable prop="申请时间" align="center" width="130">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.申请时间 ? scope.row.申请时间 : '—' }} {{ scope.row.申请时间 ? scope.row.申请时间 : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="采购审批" align="center" width="80"> <el-table-column label="采购审批" sortable prop="审批人1姓名" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.审批人1姓名 ? scope.row.审批人1姓名 : '未审批' }} {{ scope.row.审批人1姓名 ? scope.row.审批人1姓名 : '未审批' }}
</template> </template>
@@ -77,7 +77,7 @@
{{ scope.row.审批1时间 ? scope.row.审批1时间 : '—' }} {{ scope.row.审批1时间 ? scope.row.审批1时间 : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="财务审批" align="center" width="80"> <el-table-column label="财务审批" sortable prop="审批人2姓名" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.审批人2姓名 ? scope.row.审批人2姓名 : '未审批' }} {{ scope.row.审批人2姓名 ? scope.row.审批人2姓名 : '未审批' }}
</template> </template>
@@ -87,7 +87,7 @@
{{ scope.row.审批2时间 ? scope.row.审批2时间 : '—' }} {{ scope.row.审批2时间 ? scope.row.审批2时间 : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="总经理审批" align="center" width="100"> <el-table-column label="总经理审批" sortable prop="审批人3姓名" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.审批人3姓名 ? scope.row.审批人3姓名 : '未审批' }} {{ scope.row.审批人3姓名 ? scope.row.审批人3姓名 : '未审批' }}
</template> </template>

View File

@@ -40,12 +40,12 @@
<el-tag v-else type="primary" size="mini">未结算</el-tag> <el-tag v-else type="primary" size="mini">未结算</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="供应商" align="center" min-width="280"> <el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="280">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供应商名称 }} {{ scope.row.供应商名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="到货日期" align="center" width="150"> <el-table-column label="到货日期" sortable prop="到货日期" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.日期.split(' ')[0] }} {{ scope.row.日期.split(' ')[0] }}
</template> </template>
@@ -99,7 +99,7 @@
size="mini" size="mini"
@row-click="searchTable6"> @row-click="searchTable6">
<el-table-column width="60" align="center" type="index" label="序号"/> <el-table-column width="60" align="center" type="index" label="序号"/>
<el-table-column label="材料" align="center" width="200"> <el-table-column label="材料" sortable prop="材料" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.材料 }} {{ scope.row.材料 }}
</template> </template>
@@ -155,17 +155,17 @@
stripe stripe
style="margin: 3px 0" style="margin: 3px 0"
size="mini"> size="mini">
<el-table-column label="物料编码" align="center" width="200"> <el-table-column label="物料编码" sortable prop="物料零件编码" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.物料零件编码 }} {{ scope.row.物料零件编码 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" align="center"> <el-table-column label="零件名称" sortable prop="零件名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="材料" align="center" > <el-table-column label="材料" sortable prop="材料" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.材料 }} {{ scope.row.材料 }}
</template> </template>

View File

@@ -89,12 +89,12 @@
</el-table> </el-table>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="发票号" min-width="120px"> <el-table-column align="center" label="发票号" sortable prop="发票号" min-width="120px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.发票号 }} {{ scope.row.发票号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="开票时间" min-width="100px"> <el-table-column align="center" label="开票时间" sortable prop="开票时间" min-width="100px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.开票时间 }} {{ scope.row.开票时间 }}
</template> </template>
@@ -104,7 +104,7 @@
{{ scope.row.开票金额 }} {{ scope.row.开票金额 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="供应商" min-width="200px" show-overflow-tooltip> <el-table-column align="center" label="供应商" sortable prop="供应商名称" min-width="200px" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供应商名称 }} {{ scope.row.供应商名称 }}
</template> </template>

View File

@@ -33,17 +33,17 @@
<el-card> <el-card>
<el-table v-loading="" :data="tableData1" border style="max-height: 500px;" height="500px" size="mini" stripe> <el-table v-loading="" :data="tableData1" border style="max-height: 500px;" height="500px" size="mini" stripe>
<el-table-column label="供应商" align="center" min-width="250"> <el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="250">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供应商名称 }} {{ scope.row.供应商名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="请款时间" align="center" min-width="150"> <el-table-column label="请款时间" sortable prop="请款时间" align="center" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.请款时间 }} {{ scope.row.请款时间 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="请款人" align="center" min-width="80"> <el-table-column label="请款人" sortable prop="姓名" align="center" min-width="80">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.姓名 }} {{ scope.row.姓名 }}
</template> </template>

View File

@@ -65,7 +65,7 @@
</el-table> </el-table>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="供应商" align="center" min-width="250" show-overflow-tooltip> <el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="250" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供应商名称 }} {{ scope.row.供应商名称 }}
</template> </template>