|
|
|
|
@ -42,9 +42,13 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
actionRender(){
|
|
|
|
|
if(!this.row?.admin_actions) return
|
|
|
|
|
// if(this.row.order_state=='finished'&&this.row.state=='canceled_by_merchant'){
|
|
|
|
|
// this.row.admin_actions['confirm_merchant_cancel'] = '确认商家无效单'
|
|
|
|
|
|
|
|
|
|
// // console.log(this.row.order_state&&this.row.state,this.row.admin_actions)
|
|
|
|
|
// }
|
|
|
|
|
let keys = Object.keys(this.row.admin_actions)
|
|
|
|
|
|
|
|
|
|
// console.log(keys)
|
|
|
|
|
return keys.map(item => {
|
|
|
|
|
return (
|
|
|
|
|
<Button
|
|
|
|
|
@ -230,6 +234,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
actionPreClick(action){
|
|
|
|
|
console.log("action",action)
|
|
|
|
|
this.action = action;
|
|
|
|
|
if(this.row.merchant){
|
|
|
|
|
this.form.follow.merchant_id=this.row.merchant.id;
|
|
|
|
|
|