用户新增

master
lion 3 years ago
parent 7956b1b9f6
commit deac15f7a7

@ -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;

@ -115,9 +115,9 @@
trigger: 'blur'
},
{
min: 3,
min: 2,
max: 5,
message: '长度在 3 到 5 个字符',
message: '长度在 2 到 5 个字符',
trigger: 'blur'
}
],
@ -127,9 +127,9 @@
trigger: 'blur'
},
{
min: 3,
min: 2,
max: 5,
message: '长度在 3 到 5 个字符',
message: '长度在 2 到 5 个字符',
trigger: 'blur'
}
],

Loading…
Cancel
Save