|
@@ -911,10 +911,14 @@ export default {
|
|
|
}
|
|
|
form.goodsJson =
|
|
|
form.applyType == "SERVICE" ? null : JSON.stringify(goodsJson);
|
|
|
- if (this.insertOrderType == 1) {
|
|
|
+ if (this.insertOrderType == 1) {
|
|
|
form.calenderId = null;
|
|
|
+ form.type='PERSONAL'
|
|
|
} else if (this.insertOrderType == 2) {
|
|
|
form.userId = null;
|
|
|
+ form.type='SCHOOL'
|
|
|
+ }else{
|
|
|
+ form.type='OTHER'
|
|
|
}
|
|
|
routeOrderAdd(form).then((res) => {
|
|
|
if (res.code == 200) {
|