修复开关问题导致关闭不了挂号服务
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
let valid = await this.$refs.uForm.validate();
|
||||
if (valid) {
|
||||
const data = {
|
||||
register_status: Number(this.form['price'] >= 0 ? 1 : 0),
|
||||
register_status: this.form['openServe'] === true? 1: 0,
|
||||
register_price: Number(this.form['price'] || 0),
|
||||
store_id: uni.getStorageSync('store_id') || 11001
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user