Commit 337b6566 by 李伟康

批量退款增加提示

1 parent fdab1c65
...@@ -183,7 +183,7 @@ const batchRefundOrder = params => { ...@@ -183,7 +183,7 @@ const batchRefundOrder = params => {
method: 'POST', method: 'POST',
data: params, data: params,
sign: true, sign: true,
returnAll: false returnAll: true
}) })
} }
......
...@@ -1620,7 +1620,14 @@ export default { ...@@ -1620,7 +1620,14 @@ export default {
}) })
console.log(res) console.log(res)
this.batchRefundVisible = false this.batchRefundVisible = false
if (res) this.searchForm.requestSource != 0 ? this.handleSearch() : this.$refs.allOrderRef.refreshTable(false) if (res) {
this.$message({
message: res.code == '0' ? '操作成功' : '操作失败',
type: res.code == '0' ? 'success' : 'error',
customClass: 'message-Z-zinde'
})
this.searchForm.requestSource != 0 ? this.handleSearch() : this.$refs.allOrderRef.refreshTable(false)
}
} }
} }
} }
...@@ -1670,7 +1677,7 @@ export default { ...@@ -1670,7 +1677,7 @@ export default {
.refund-btn { .refund-btn {
margin: 0 0 10px auto; margin: 0 0 10px auto;
} }
.is-disabled{ .is-disabled {
color: #c0c4cc !important; color: #c0c4cc !important;
border-color: #ebeef5 !important; border-color: #ebeef5 !important;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!