This commit is contained in:
liushuai
2020-05-13 18:42:58 +08:00
parent 5dcb28e73e
commit decf0bf58e
8 changed files with 339 additions and 708 deletions

View File

@@ -114,7 +114,7 @@
@sort-change="sortChange"
@selection-change="handleSelectionChange1"
@select="handleSelection">
<el-table-column :selectable="selectable" align="center" width="43" type="selection"/>
<el-table-column :selectable="selectable" align="center" width="43" type="selection" fixed="left"/>
<el-table-column v-if="switchValue" label="操作" align="center" width="110" fixed="left">
<template slot-scope="scope">
<el-button :disabled="parseInt(scope.row.询价状态编号)!==1||parseInt(scope.row.是否确认)!==1" type="distribution" size="mini" @click="materialChange(scope.row)">物料变更</el-button>
@@ -129,18 +129,18 @@
<!--</template>-->
<!--</el-table-column>-->
<!--物料名称排序-->
<el-table-column label="名称" align="center" width="120" prop="物料名称" sortable="custom">
<el-table-column label="名称" align="center" width="120" prop="物料名称" sortable="custom" fixed="left">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column label="规格" align="center" width="160" prop="物料规格" show-overflow-tooltip>
<el-table-column label="规格" align="center" width="160" prop="物料规格" fixed="left" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
</el-table-column>
<!--物料排序-->
<el-table-column label="图号或型号" align="center" width="130" prop="物料型号" sortable="custom" show-overflow-tooltip>
<el-table-column label="图号或型号" align="center" width="130" prop="物料型号" sortable="custom" fixed="left" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
@@ -338,7 +338,7 @@
@selection-change="handleSelectionChange2"
@sort-change="sortChange"
@select="handleSelection1">
<el-table-column :selectable="selectable" align="center" width="50" type="selection"/>
<el-table-column :selectable="selectable" align="center" width="50" type="selection" fixed="left"/>
<!--<el-table-column label="操作" align="center" width="100" fixed="left">-->
<!--<template slot-scope="scope">-->
<!--<el-button :disabled="parseInt(scope.row.询价状态编号)!==1||parseInt(scope.row.是否确认)!==1" type="primary" size="mini" @click="partChange(scope.row)">零件变更</el-button>-->
@@ -352,17 +352,17 @@
<!--<el-tag v-if="purchased(scope.row)" type="info" size="small">已采购</el-tag>-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column label="名称" align="center" min-width="120">
<el-table-column label="名称" align="center" min-width="120" fixed="left">
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="规格" align="center" min-width="80">
<el-table-column label="规格" align="center" min-width="80" fixed="left">
<template slot-scope="scope">
{{ scope.row.规格 }}
</template>
</el-table-column>
<el-table-column label="图号" align="center" min-width="130" prop="零件图号">
<el-table-column label="图号" align="center" min-width="130" prop="零件图号" fixed="left">
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>

View File

@@ -41,6 +41,11 @@
{{ scope.row.数量 }}
</template>
</el-table-column>
<el-table-column label="用滞货数" align="center" width="80">
<template slot-scope="scope">
{{ scope.row.使用滞货数量 }}
</template>
</el-table-column>
<el-table-column label="用库存数" align="center" width="80">
<template slot-scope="scope">
{{ scope.row.使用库存数 }}

View File

@@ -96,9 +96,9 @@
{{ scope.row.零件数量 || '—' }}
</template>
</el-table-column>
<el-table-column align="center" label="用库存数" width="100px">
<el-table-column align="center" label="用库存数" width="100px">
<template slot-scope="scope">
{{ scope.row.使用库存数 ? scope.row.使用库存数 : '' }}
{{ scope.row.使用库存数 ? scope.row.使用库存数 : '0' }}
</template>
</el-table-column>
<el-table-column align="center" label="采购数" width="70px">
@@ -215,6 +215,16 @@
{{ scope.row.零件数量 || '—' }}
</template>
</el-table-column>
<el-table-column align="center" label="用滞货数" width="80px">
<template slot-scope="scope">
{{ scope.row.使用滞货数量 ? scope.row.使用滞货数量 : 0 }}
</template>
</el-table-column>
<el-table-column align="center" label="用库存数" width="80px">
<template slot-scope="scope">
{{ scope.row.使用库存数 ? scope.row.使用库存数 : 0 }}
</template>
</el-table-column>
<el-table-column align="center" label="采购数" width="70px">
<template slot-scope="scope">
{{ scope.row.数量 }}