Commit 54f270ea by zhangxw

需求开发

1 parent 2f1b3556
...@@ -52,11 +52,9 @@ ...@@ -52,11 +52,9 @@
<td :key="eIdx">{{ calcPrice(ele.standardShelfCost, item.priceCoefficient) }}</td> <td :key="eIdx">{{ calcPrice(ele.standardShelfCost, item.priceCoefficient) }}</td>
<td :key="eIdx">{{ calcPrice(ele.standardSalesCost, item.priceCoefficient) }}</td> <td :key="eIdx">{{ calcPrice(ele.standardSalesCost, item.priceCoefficient) }}</td>
</template> </template>
</template>
<template v-for="(ele, eIdx) in item.childSalePeriodData">
<template v-if="item.computeFlag == 1"> <template v-if="item.computeFlag == 1">
<td :key="eIdx"><el-input v-model="ele.shelfCost" :placeholder="placeholder" @input="changePrice($event, ele, 'shelfCost')" :disabled="disabled"></el-input></td> <td :key="eIdx"><el-input v-model="item.childSalePeriodData[eIdx].shelfCost" :placeholder="placeholder" @input="changePrice($event, item.childSalePeriodData[eIdx], 'shelfCost')" :disabled="disabled"></el-input></td>
<td :key="eIdx"><el-input v-model="ele.salesCost" :placeholder="placeholder" @input="changePrice($event, ele, 'salesCost')" :disabled="disabled"></el-input></td> <td :key="eIdx"><el-input v-model="item.childSalePeriodData[eIdx].salesCost" :placeholder="placeholder" @input="changePrice($event, item.childSalePeriodData[eIdx], 'salesCost')" :disabled="disabled"></el-input></td>
</template> </template>
</template> </template>
<td class="del-btn"><span v-if="index > 2 && !disabled" class="btn" @click="delSection(index)">删除</span></td> <td class="del-btn"><span v-if="index > 2 && !disabled" class="btn" @click="delSection(index)">删除</span></td>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!