main
fanfan 1 month ago
parent a4928b0306
commit 7692aec61e
  1. 5
      src/views/order/Detail.vue
  2. 8
      src/views/setting/modules/CreateForm.vue

@ -589,11 +589,12 @@ export default {
.then((result) => {
if (result.status == 200) {
this.$message.success('强制取消成功', 1.5)
//
this.getDetail()
} else {
this.$message.fail('强制取消失败', 1.5)
}
//
// this.initData()
})
.finally(() => (this.isLoading = false))
},

@ -24,7 +24,13 @@
/>
</a-form-item>
<a-form-item label="加价率" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input v-decorator="['markup_rate', { rules: [{ required: true, message: '请输入加价率' }] }]" />
<a-input
addon-after="%"
v-decorator="['markup_rate', { rules: [{ required: true, message: '请输入加价率' }] }]"
/>
<div class="form-item-help">
<p class="extra">可输入小数比如0.5</p>
</div>
</a-form-item>
<a-form-item label="商家用户名" :labelCol="labelCol" :wrapperCol="wrapperCol" extra="商家后台登录用户名">
<a-input v-decorator="['user_name', { rules: [{ required: true, min: 4, message: '请输入至少4个字符' }] }]" />

Loading…
Cancel
Save