|
@@ -54,46 +54,47 @@
|
|
|
<el-table-column label="序号" type="index" align="center" fixed="left" width="80"> </el-table-column>
|
|
|
<el-table-column label="衣物名称" align="center" prop="name">
|
|
|
<template slot-scope="scope">
|
|
|
- <span @click="updateClothItem(scope.$index, 0)">{{ calculateClothName(scope.$index) }}</span>
|
|
|
+ <el-button type="text" @click="updateClothItem(scope.$index, 0)">{{ calculateClothName(scope.$index) }}</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="颜色" align="center" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <span @click="updateClothItem(scope.$index, 2)">
|
|
|
+ <el-button type="text" @click="updateClothItem(scope.$index, 2)">
|
|
|
<template v-for="(color, index) in scope.row.orderClothColorDTOS">
|
|
|
{{ index == 0 ? color.clothColorName : ',' + color.clothColorName }}
|
|
|
</template>
|
|
|
- </span>
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="衣服品牌" align="center" prop="name" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <span @click="updateClothItem(scope.$index, 3)">{{ scope.row.clothBrandName }}</span>
|
|
|
+ <el-button type="text" @click="updateClothItem(scope.$index, 3)">{{ scope.row.clothBrandName }}</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="瑕疵" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <span @click="updateClothItem(scope.$index, 4)">
|
|
|
+ <el-button type="text" @click="updateClothItem(scope.$index, 4)">
|
|
|
<template v-for="(color, index) in scope.row.orderClothFlawDTOS">
|
|
|
{{ index == 0 ? color.clothFlawName : ',' + color.clothFlawName }}
|
|
|
</template>
|
|
|
- </span>
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="洗涤方式" align="center" width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <span @click="changeClothWashMode(scope.$index)" style="color: #409eff">{{ scope.row.clothWashModeName }}</span>
|
|
|
+ <el-button type="text" @click="changeClothWashMode(scope.$index)" style="color: #409eff">{{ scope.row.clothWashModeName }}</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="特殊处理(元)" align="center" prop="clothWashDayNum" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <span style="color: #ff4949" @click="changeClothSpecialPriceEvent(scope.$index)">{{ calculateClothSpecialPrice(scope.$index) }}</span>
|
|
|
+ <el-button type="text" style="color: #ff4949" @click="changeClothSpecialPriceEvent(scope.$index)">¥{{ calculateClothSpecialPrice(scope.$index) }}</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="单价(元)" align="center" prop="defaultPrice" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
- <span style="color: #ff4949" v-if="scope.row.isChangePrice == 'Y'" @click="changeClothDefaultPriceEvent(scope.$index)">{{ scope.row.defaultPrice }}</span>
|
|
|
- <span v-else>{{ scope.row.defaultPrice }}</span>
|
|
|
+ <!-- style="color: #ff4949" -->
|
|
|
+ <el-button type="text" v-if="scope.row.isChangePrice == 'Y'" @click="changeClothDefaultPriceEvent(scope.$index)">¥{{ scope.row.defaultPrice }}</el-button>
|
|
|
+ <span v-else>¥{{ scope.row.defaultPrice }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="200">
|