Commit 08cdc83a authored by v-yuchenglong's avatar v-yuchenglong

update:图片保存问题,订单管理退款显示

parent 3add37c8
......@@ -414,10 +414,15 @@ export default {
// 编辑商品详情
async editGoodsMet(goodsSkuID) {
let pic = this.picUrlList[0].url;
let pic;
if(this.picUrlList.length!=0){
pic = this.getUrlParms(this.picUrlList[0].url, "url")
}else{
pic = this.picUploadList[0];
}
const res = await editGoods({
goods_name: this.commodityForm.goods_name,
desc_pic_url: this.getUrlParms(pic, "url"),
desc_pic_url:pic,
desc: "",
inventory_add: this.commodityForm.inventory_total,
original_price: this.commodityForm.original_price,
......
......@@ -158,7 +158,8 @@
v-show="
scope.row.order_status == '2' ||
scope.row.order_status == '6' ||
scope.row.order_status == '8'
scope.row.order_status == '8' &&
scope.row.payment !== 0
"
>退款</el-button
>
......@@ -170,6 +171,7 @@
>拒绝</el-button
>
</el-button-group>
<!-- {{scope.row.payment}} -->
</template>
</el-table-column>
</el-table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment