|
@@ -48,7 +48,7 @@
|
|
|
type="primary" style="margin-bottom:10px;" @click="editPriceByIds()">批量修改总价</el-button>
|
|
|
<el-button v-if="sa.isAuth('tb-order-edit-price')"
|
|
|
type="primary" style="margin-bottom:10px;" @click="saleBatch()">批量转售</el-button>
|
|
|
- <el-button
|
|
|
+ <el-button
|
|
|
type="primary" style="margin-bottom:10px;" @click="f5()">刷新</el-button>
|
|
|
</el-form>
|
|
|
|
|
@@ -74,10 +74,10 @@
|
|
|
<div v-else>未转售</div>
|
|
|
</template>
|
|
|
</sa-td>
|
|
|
- <sa-td name="销售状态" prop="resaleStatus" >
|
|
|
+ <sa-td name="销售状态" prop="beingOrder">
|
|
|
<template slot-scope="s">
|
|
|
- <div v-if="s.row.purchaserId">已销售</div>
|
|
|
- <div v-else>销售种</div>
|
|
|
+ <div v-if="s.row.beingOrder==1">已销售</div>
|
|
|
+ <div v-else>未销售</div>
|
|
|
</template>
|
|
|
</sa-td>
|
|
|
<el-table-column label="操作" fixed="right" width="100px">
|
|
@@ -240,12 +240,12 @@
|
|
|
sa.error(item.tradeNo+'转售价格不能为空')
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if(item.resaleStatus==1){
|
|
|
sa.error(item.tradeNo+'已转售')
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
let ids = sa.getArrayField(selection, 'id');
|
|
|
if(selection.length == 0) {
|
|
@@ -256,7 +256,7 @@
|
|
|
this.f5();
|
|
|
}.bind(this));
|
|
|
}.bind(this));
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
// 刷新
|
|
|
f5: function() {
|