|
@@ -37,46 +37,61 @@
|
|
|
<el-table-column
|
|
|
prop="itemname"
|
|
|
label="产品名称"
|
|
|
- width="180">
|
|
|
+ width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="itemno"
|
|
|
label="产品编号"
|
|
|
- width="180">
|
|
|
+ width="150">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="型号">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <p><span>{{scope.row.model.length >10?scope.row.model.substring(0,9) + '...':scope.row.model}}</span></p>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
+ label="规格">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <p><span>{{scope.row.spec.length >10?scope.row.spec.substring(0,9) + '...':scope.row.spec}}</span></p>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+<!-- <el-table-column
|
|
|
label="型号/规格">
|
|
|
<template slot-scope="scope">
|
|
|
<p><span>{{scope.row.model}}</span> / <span>{{scope.row.spec}}</span></p>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column>-->
|
|
|
<el-table-column
|
|
|
prop="gradeprice"
|
|
|
- label="单价">
|
|
|
+ label="单价"
|
|
|
+ width="90">
|
|
|
<template slot-scope="scope">
|
|
|
<p style="color:red;font-weight:500">¥ {{tool.formatAmount(scope.row.gradeprice,2)}}</p>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
label="数量"
|
|
|
- width="200">
|
|
|
+ width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input-number size="mini" v-model="scope.row.qty" :min="scope.row.orderminqty" :step="scope.row.orderaddqty" label="输入数量" @change="qtyChange"></el-input-number>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- label="计量单位">
|
|
|
+ label="计量单位"
|
|
|
+ width="80">
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag>{{ scope.row.unitname }}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- label="金额">
|
|
|
+ label="金额"
|
|
|
+ width="80">
|
|
|
<template slot-scope="scope">
|
|
|
<p style="color:red;font-weight:500">¥ {{tool.formatAmount(scope.row.gradeprice * scope.row.qty,2)}}</p>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column width="90">
|
|
|
+ <el-table-column width="90" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<slot name="del" :data="scope.row"></slot>
|
|
|
</template>
|