Commit 63641538 authored by 黄奎's avatar 黄奎

页面修改

parent d25c7f47
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<script> <script>
import { import {
getOrderGuestPageList, getOrderGuestPageList,
SetBackClassApply
} from '../../api/sale/sale' } from '../../api/sale/sale'
export default { export default {
name: "backclass-form", name: "backclass-form",
...@@ -134,21 +135,29 @@ ...@@ -134,21 +135,29 @@
OrderId: this.chooseItem.OrderId, OrderId: this.chooseItem.OrderId,
applyReason: this.applyReason applyReason: this.applyReason
}; };
if (!applyMsg.GuestId) {
this.$q.notify({
type: 'negative',
position: "top",
message: `请选择要申请的学员`
})
return;
}
console.log("item", applyMsg); console.log("item", applyMsg);
// updateOrderRemark(this.OrderRemarkMsg).then(res => { SetBackClassApply(applyMsg).then(res => {
// if (res.Code == 1) { if (res.Code == 1) {
// this.$q.notify({ this.$q.notify({
// icon: 'iconfont icon-chenggong', icon: 'iconfont icon-chenggong',
// color: 'accent', color: 'accent',
// timeout: 2000, timeout: 2000,
// message: '修改成功!', message: '修改成功!',
// position: 'top' position: 'top'
// }) })
// //调用父页面成功方法 //调用父页面成功方法
// this.$emit('success'); this.$emit('success');
// this.IsShowBackClassDialog = false this.IsShowBackClassDialog = false
// } }
// }) })
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment