|
@@ -87,6 +87,30 @@
|
|
|
<p><span>{{scope.row.material?scope.row.material:'--'}}</span></p>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="device"
|
|
|
+ label="装置"
|
|
|
+ width="180">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <p><span>{{scope.row.device || '--'}}</span></p>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="prodline"
|
|
|
+ label="产线"
|
|
|
+ width="180">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <p><span>{{scope.row.prodline || '--'}}</span></p>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="specalnote"
|
|
|
+ label="特殊说明"
|
|
|
+ width="180">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <p><span>{{scope.row.specalnote || '--'}}</span></p>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
prop="brand"
|
|
|
label="品牌"
|
|
@@ -145,9 +169,15 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.discountDifferenceAmount > 0 ">
|
|
|
<p v-if="!saveShow || index !== scope.row.rowindex"><span :style="[setTopColor]">{{scope.row.discountrate}}</span></p>
|
|
|
+ <span v-if="saveShow && index === scope.row.rowindex">
|
|
|
+ <el-input v-model="scope.row.discountrate" size="mini" placeholder="请输入折扣" @change="onChangeDiscountrate(scope.row.discountrate,scope.row,scope.$index)"></el-input>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
<div v-else-if="scope.row.discountDifferenceAmount < 0 ">
|
|
|
<p v-if="!saveShow || index !== scope.row.rowindex"><span :style="[setDownColor]">{{scope.row.discountrate}}</span></p>
|
|
|
+ <span v-if="saveShow && index === scope.row.rowindex">
|
|
|
+ <el-input v-model="scope.row.discountrate" size="mini" placeholder="请输入折扣" @change="onChangeDiscountrate(scope.row.discountrate,scope.row,scope.$index)"></el-input>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
<span v-else>
|
|
|
<span v-if="saveShow && index === scope.row.rowindex">
|
|
@@ -177,9 +207,15 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.discountDifferenceAmount > 0 ">
|
|
|
<p v-if="!saveShow || index !== scope.row.rowindex"><span :style="[setTopColor]">{{tool.formatAmount(scope.row.price,2)}}</span></p>
|
|
|
+ <span v-if="saveShow && index === scope.row.rowindex">
|
|
|
+ <el-input v-model="scope.row.price" size="mini" placeholder="请输入单价" @change="onChangePrice(scope.row.price,scope.row,scope.$index)"></el-input>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
<div v-else-if="scope.row.discountDifferenceAmount < 0 " >
|
|
|
<p v-if="!saveShow || index !== scope.row.rowindex"><span :style="[setDownColor]">{{tool.formatAmount(scope.row.price,2)}}</span></p>
|
|
|
+ <span v-if="saveShow && index === scope.row.rowindex">
|
|
|
+ <el-input v-model="scope.row.price" size="mini" placeholder="请输入单价" @change="onChangePrice(scope.row.price,scope.row,scope.$index)"></el-input>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
<span v-else>
|
|
|
<span v-if="saveShow && index === scope.row.rowindex">
|