|
|
@@ -23,13 +23,15 @@
|
|
|
ref="multipleTable"
|
|
|
:data="list"
|
|
|
style="width: 100%"
|
|
|
+ :height="tableHieght"
|
|
|
:header-cell-style="{height:'50px',color:'#606266',fontWeight:'400'}"
|
|
|
:cell-style="{height:'50px',color:'#666666',fontWeight:'400'}"
|
|
|
@selection-change="selectionChange"
|
|
|
>
|
|
|
<el-table-column
|
|
|
type="selection"
|
|
|
- width="55">
|
|
|
+ width="55"
|
|
|
+ fixed>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
@@ -52,41 +54,27 @@
|
|
|
width="180">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- label="型号"
|
|
|
+ prop="erpitemno"
|
|
|
+ label="品号"
|
|
|
width="180">
|
|
|
- <template slot-scope="scope">
|
|
|
- <p><span>{{scope.row.model || '--'}}</span></p>
|
|
|
- </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- label="规格"
|
|
|
- width="180">
|
|
|
- <template slot-scope="scope">
|
|
|
- <p><span>{{scope.row.spec || '--'}}</span></p>
|
|
|
- </template>
|
|
|
+ prop="standards"
|
|
|
+ label="标准"
|
|
|
+ width="100">
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column
|
|
|
- prop="unitid"
|
|
|
- label="起订量/增量"
|
|
|
- width="150">
|
|
|
- <template slot-scope="scope">
|
|
|
- <p><span>{{scope.row.orderminqty}}</span> / <span>{{scope.row.orderaddqty}}</span></p>
|
|
|
- </template>
|
|
|
- </el-table-column>-->
|
|
|
<el-table-column
|
|
|
- prop="caliber"
|
|
|
- label="口径"
|
|
|
+ label="型号"
|
|
|
width="180">
|
|
|
<template slot-scope="scope">
|
|
|
- <p><span>{{scope.row.caliber?scope.row.caliber:'--'}}</span></p>
|
|
|
+ <p><span>{{scope.row.model || '--'}}</span></p>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="pressure"
|
|
|
- label="压力"
|
|
|
+ label="规格"
|
|
|
width="180">
|
|
|
<template slot-scope="scope">
|
|
|
- <p><span>{{scope.row.pressure?scope.row.pressure:'--'}}</span></p>
|
|
|
+ <p><span>{{scope.row.spec || '--'}}</span></p>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
@@ -194,14 +182,13 @@
|
|
|
</div>
|
|
|
<div style="float: right">
|
|
|
<el-pagination
|
|
|
- style="text-align:right"
|
|
|
background
|
|
|
- small
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
- :current-page="currentPage"
|
|
|
- :page-size="params.content.pageSize"
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
+ :current-page="params.content.pageNumber"
|
|
|
+ :page-sizes="[20, 50, 100, 200]"
|
|
|
+ :page-size="100"
|
|
|
+ layout="total,sizes, prev, pager, next, jumper"
|
|
|
:total="total">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
@@ -223,7 +210,7 @@ export default {
|
|
|
components:{add,uploadFile, previewImage,delete_product},
|
|
|
data () {
|
|
|
return {
|
|
|
- tableHieght:"600px",
|
|
|
+ tableHieght:"860px",
|
|
|
totalPrice:0,
|
|
|
tablecols:[],
|
|
|
list:[],
|
|
|
@@ -239,7 +226,7 @@ export default {
|
|
|
"content": {
|
|
|
"sa_projectid": 2,
|
|
|
"pageNumber": 1,
|
|
|
- "pageSize": 20,
|
|
|
+ "pageSize": 100,
|
|
|
"where": {
|
|
|
"condition": ""
|
|
|
}
|