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

@@ -39,12 +39,12 @@
</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-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">
{{ scope.row.零件图号 }}
</template>
</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">
{{ scope.row.零件名称 }}
</template>
@@ -54,7 +54,7 @@
{{ scope.row.批次数量 }}
</template>
</el-table-column>
<el-table-column label="材料" align="center">
<el-table-column label="材料" sortable prop="材料" align="center">
<template slot-scope="scope">
{{ scope.row.材料 }}
</template>
@@ -88,7 +88,7 @@
</el-tooltip>
</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-column label="采购状态" align="center" width="100" fixed="left">
<el-table-column label="采购状态" sortable prop="采购计划状态" align="center" width="100" fixed="left">
<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.采购计划状态)===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>
</template>
</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">
{{ scope.row.采购单号 }}
</template>
</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">
{{ scope.row.采购单名称 }}
</template>
</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">
{{ scope.row.供应商名称 }}
</template>
</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">
{{ scope.row.姓名 }}
</template>
</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">
{{ scope.row.下单日期.split(' ')[0] }}
</template>
@@ -165,7 +165,7 @@
<el-tag v-if="Number(scope.row.是否到货)===2" type="info" size="mini">已结算</el-tag>
</template>
</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">
{{ scope.row.物料零件编码 }}
</template>
@@ -175,12 +175,12 @@
<!--{{ scope.row.原材料名称 }}-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column label="零件名称" align="center">
<el-table-column label="零件名称" sortable prop="零件名称" align="center">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="材料" align="center" >
<el-table-column label="材料" sortable prop="材料" align="center" >
<template slot-scope="scope">
{{ scope.row.材料 }}
</template>

View File

@@ -42,12 +42,12 @@
</el-form>
</template>
</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">
{{ scope.row.供应商名称 }}
</template>
</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">
{{ scope.row.发票号 }}
</template>
@@ -57,17 +57,17 @@
{{ scope.row.发票金额 }}
</template>
</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">
{{ scope.row.申请人姓名 ? scope.row.申请人姓名 : '未提交' }}
</template>
</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">
{{ scope.row.申请时间 ? scope.row.申请时间 : '—' }}
</template>
</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">
{{ scope.row.审批人1姓名 ? scope.row.审批人1姓名 : '未审批' }}
</template>
@@ -77,7 +77,7 @@
{{ scope.row.审批1时间 ? scope.row.审批1时间 : '—' }}
</template>
</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">
{{ scope.row.审批人2姓名 ? scope.row.审批人2姓名 : '未审批' }}
</template>
@@ -87,7 +87,7 @@
{{ scope.row.审批2时间 ? scope.row.审批2时间 : '—' }}
</template>
</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">
{{ scope.row.审批人3姓名 ? scope.row.审批人3姓名 : '未审批' }}
</template>

View File

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

View File

@@ -89,12 +89,12 @@
</el-table>
</template>
</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">
{{ scope.row.发票号 }}
</template>
</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">
{{ scope.row.开票时间 }}
</template>
@@ -104,7 +104,7 @@
{{ scope.row.开票金额 }}
</template>
</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">
{{ scope.row.供应商名称 }}
</template>

View File

@@ -33,17 +33,17 @@
<el-card>
<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">
{{ scope.row.供应商名称 }}
</template>
</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">
{{ scope.row.请款时间 }}
</template>
</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">
{{ scope.row.姓名 }}
</template>

View File

@@ -65,7 +65,7 @@
</el-table>
</template>
</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">
{{ scope.row.供应商名称 }}
</template>