|
@@ -151,7 +151,6 @@
|
|
|
</template>
|
|
|
<!-- 盈亏成本单价 -->
|
|
|
<template slot="checkProfitLossCost" slot-scope="text, record">
|
|
|
- <div v-if="record.cost">
|
|
|
<span v-if="record.checkProfitLossQty<=0||record.stockQty==record.checkQty" :style="{ color: record.checkProfitLossQty<0?'green':'', fontWeight: record.checkProfitLossQty!=0?'bold':'' }">{{ record.cost }}</span>
|
|
|
<div v-else>
|
|
|
<a-input-number
|
|
@@ -164,8 +163,6 @@
|
|
|
@blur="e => checkCostBlur(e.target.value, record)"
|
|
|
style="width:100%;color: red;fontWeight:bold'"/>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <span v-else>--</span>
|
|
|
</template>
|
|
|
</s-table>
|
|
|
</a-card>
|