a
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
<el-tabs v-model="PartType" type="border-card" @tab-click="searchTable()">
|
<el-tabs v-model="PartType" type="border-card" @tab-click="searchTable()">
|
||||||
<el-tab-pane label="标准件" name="标准件">
|
<el-tab-pane label="标准件" name="标准件">
|
||||||
<el-table v-loading="loading0" :data="tableData0" size="mini" height="700px" border stripe @sort-change="sortChange0">
|
<el-table v-loading="loading0" :data="tableData0" size="mini" height="700px" border stripe @sort-change="sortChange0">
|
||||||
<el-table-column align="center" prop="询价状态编号" label="采购状态" width="110px" sortable="custom">
|
<el-table-column align="center" prop="询价状态编号" label="采购状态" width="110px" sortable="custom" fixed="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!--<el-tag v-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>-->
|
<!--<el-tag v-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>-->
|
||||||
<!--<el-tag v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>-->
|
<!--<el-tag v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>-->
|
||||||
@@ -61,22 +61,22 @@
|
|||||||
<span v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</span>
|
<span v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="机床图号" prop="机床图号" width="94px" show-overflow-tooltip>
|
<el-table-column align="center" label="机床图号" prop="机床图号" width="94px" show-overflow-tooltip 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 align="center" label="组号" prop="组号" width="80px" sortable="custom">
|
<el-table-column align="center" label="组号" prop="组号" width="80px" sortable="custom" 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 align="center" label="名称" prop="物料名称" width="153px" show-overflow-tooltip sortable="custom">
|
<el-table-column align="center" label="名称" prop="物料名称" width="153px" show-overflow-tooltip sortable="custom" 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 align="center" label="型号" width="128px" show-overflow-tooltip>
|
<el-table-column align="center" label="型号" width="128px" show-overflow-tooltip fixed="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.物料型号 }}
|
{{ scope.row.物料型号 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
{{ scope.row.供货商 || '—' }}
|
{{ scope.row.供货商 || '—' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="计划数量" width="100px">
|
<el-table-column align="center" label="计划数" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件数量 || '—' }}
|
{{ scope.row.零件数量 || '—' }}
|
||||||
</template>
|
</template>
|
||||||
@@ -101,17 +101,17 @@
|
|||||||
{{ scope.row.使用库存数 ? scope.row.使用库存数 : '—' }}
|
{{ scope.row.使用库存数 ? scope.row.使用库存数 : '—' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="采购数量" width="100px">
|
<el-table-column align="center" label="采购数" width="70px">
|
||||||
<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="100px">
|
<el-table-column align="center" label="到货数" width="70px">
|
||||||
<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="100px">
|
<el-table-column align="center" label="不良数" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.不合格数量 }}
|
{{ scope.row.不合格数量 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="外购件" name="外购件">
|
<el-tab-pane label="外购件" name="外购件">
|
||||||
<el-table v-loading="loading1" :data="tableData1" size="mini" height="700px" border stripe @sort-change="sortChange1">
|
<el-table v-loading="loading1" :data="tableData1" size="mini" height="700px" border stripe @sort-change="sortChange1">
|
||||||
<el-table-column align="center" label="采购状态" prop="询价状态编号" width="110px" sortable="custom">
|
<el-table-column align="center" label="采购状态" prop="询价状态编号" width="110px" sortable="custom" fixed="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="!scope.row.人员编号" type="primary" size="small">未分配</span>
|
<span v-if="!scope.row.人员编号" type="primary" size="small">未分配</span>
|
||||||
<span v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</span>
|
<span v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</span>
|
||||||
@@ -180,22 +180,22 @@
|
|||||||
<span v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</span>
|
<span v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="机床图号" prop="机床图号" width="94px" show-overflow-tooltip>
|
<el-table-column align="center" label="机床图号" prop="机床图号" width="94px" show-overflow-tooltip 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 align="center" label="组号" prop="组号" width="80px" sortable="custom">
|
<el-table-column align="center" label="组号" prop="组号" width="80px" sortable="custom" 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 align="center" label="名称" prop="物料名称" width="153px" show-overflow-tooltip sortable="custom">
|
<el-table-column align="center" label="名称" prop="物料名称" width="153px" show-overflow-tooltip sortable="custom" 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 align="center" label="型号" width="128px" show-overflow-tooltip>
|
<el-table-column align="center" label="型号" width="128px" show-overflow-tooltip fixed="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.物料型号 }}
|
{{ scope.row.物料型号 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -210,22 +210,22 @@
|
|||||||
{{ scope.row.供货商 || '—' }}
|
{{ scope.row.供货商 || '—' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="计划数量" width="100px">
|
<el-table-column align="center" label="计划数" width="70px">
|
||||||
<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="100px">
|
<el-table-column align="center" label="采购数" width="70px">
|
||||||
<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="100px">
|
<el-table-column align="center" label="到货数" width="70px">
|
||||||
<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="100px">
|
<el-table-column align="center" label="不良数" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.不合格数量 }}
|
{{ scope.row.不合格数量 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -287,7 +287,7 @@
|
|||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="基本件" name="基本件">
|
<el-tab-pane label="基本件" name="基本件">
|
||||||
<el-table v-loading="loading2" :data="tableData2" size="mini" height="700px" border stripe @sort-change="sortChange2">
|
<el-table v-loading="loading2" :data="tableData2" size="mini" height="700px" border stripe @sort-change="sortChange2">
|
||||||
<el-table-column align="center" label="采购状态" prop="询价状态编号" width="110px" sortable="custom">
|
<el-table-column align="center" label="采购状态" prop="询价状态编号" width="110px" sortable="custom" fixed="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="!scope.row.人员编号" type="primary" size="small">未分配</span>
|
<span v-if="!scope.row.人员编号" type="primary" size="small">未分配</span>
|
||||||
<span v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</span>
|
<span v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</span>
|
||||||
@@ -295,22 +295,22 @@
|
|||||||
<span v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</span>
|
<span v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="机床图号" prop="机床图号" width="94px" show-overflow-tooltip>
|
<el-table-column align="center" label="机床图号" prop="机床图号" width="94px" show-overflow-tooltip 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 align="center" label="组号" prop="组号" width="80px" sortable="custom">
|
<el-table-column align="center" label="组号" prop="组号" width="80px" sortable="custom" 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 align="center" label="名称" prop="物料名称" width="153px" show-overflow-tooltip sortable="custom">
|
<el-table-column align="center" label="名称" prop="物料名称" width="153px" show-overflow-tooltip sortable="custom" 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 align="center" label="图号" width="100px" show-overflow-tooltip>
|
<el-table-column align="center" label="图号" width="100px" show-overflow-tooltip fixed="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.零件图号 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -330,34 +330,28 @@
|
|||||||
{{ scope.row.供货商 || '—' }}
|
{{ scope.row.供货商 || '—' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="计划数量" width="100px">
|
<el-table-column align="center" label="计划数" width="70px">
|
||||||
<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="100px">
|
<el-table-column align="center" label="采购数" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.采购数量 }}
|
{{ scope.row.采购数量 }}
|
||||||
<!--{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.数量 || '—' }}-->
|
<!--{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.数量 || '—' }}-->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="到货数量" width="100px">
|
<el-table-column align="center" label="到货数" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.到货数量 }}
|
{{ scope.row.到货数量 }}
|
||||||
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.已到货数量 || '—' }}
|
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.已到货数量 || '—' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="不合格数量" width="100px">
|
<el-table-column align="center" label="不良数" width="70px">
|
||||||
<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="90px">-->
|
|
||||||
<!-- <template slot-scope="scope">-->
|
|
||||||
<!-- <span v-if="Number(scope.row.到货数量) >= Number(scope.row.采购数量)">已到货</span>-->
|
|
||||||
<!-- <span v-else>未到货</span>-->
|
|
||||||
<!-- </template>-->
|
|
||||||
<!-- </el-table-column>-->
|
|
||||||
<el-table-column align="center" label="供应商" prop="供应商名称" min-width="100px" show-overflow-tooltip sortable="custom">
|
<el-table-column align="center" label="供应商" prop="供应商名称" min-width="100px" show-overflow-tooltip sortable="custom">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.供应商名称 || '—' }}
|
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.供应商名称 || '—' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user