From 769b5faa1169ab3945ca7d8f487c19047863a0bd Mon Sep 17 00:00:00 2001 From: xiezhijun <15270898033@163.com> Date: Wed, 28 Jul 2021 17:54:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=96=B0=E5=A2=9E=E5=95=86?= =?UTF-8?q?=E5=8A=A1=E4=B8=8B=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/custom/SysOrderController.java | 3 ++ .../com/stdiet/custom/domain/SysOrder.java | 6 +++ .../service/impl/SysOrderServiceImpl.java | 23 ++++++++ .../com/stdiet/custom/utils/OrderUtils.java | 2 +- .../mapper/custom/SysCommisionMapper.xml | 8 +++ .../mapper/custom/SysOrderMapper.xml | 13 ++++- stdiet-ui/src/components/OrderAdd/index.vue | 52 ++++++++++++++++--- .../src/components/OrderDetail/index.vue | 5 +- stdiet-ui/src/components/OrderEdit/index.vue | 32 +++++++++--- stdiet-ui/src/store/getters.js | 3 +- stdiet-ui/src/store/modules/global.js | 4 +- stdiet-ui/src/utils/orderType.js | 5 ++ stdiet-ui/src/views/custom/order/index.vue | 34 +++++++++--- 13 files changed, 165 insertions(+), 25 deletions(-) diff --git a/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/SysOrderController.java b/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/SysOrderController.java index 2824ce842..fa1719d47 100644 --- a/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/SysOrderController.java +++ b/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/SysOrderController.java @@ -171,6 +171,9 @@ public class SysOrderController extends OrderBaseController { if (user.getUserId().equals(order.getPushPreSaleId())) { order.setPushPreSale(user.getNickName()); } + if (user.getUserId().equals(order.getBusinessAffairId())) { + order.setBusinessAffair(user.getNickName()); + } } order.setOrderTypeName(OrderUtils.getOrderTypeName(order)); } diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysOrder.java b/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysOrder.java index 5c206c66c..1dece95c8 100644 --- a/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysOrder.java +++ b/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysOrder.java @@ -188,6 +188,12 @@ public class SysOrder extends BaseEntity { @Excel(name = "运营助理") private String operatorAssis; + /** 商务ID */ + private Long businessAffairId; + + /** 商务*/ + private String businessAffair; + /** * 推荐人 */ diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysOrderServiceImpl.java b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysOrderServiceImpl.java index 3e22eddef..66bf11ab6 100644 --- a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysOrderServiceImpl.java +++ b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysOrderServiceImpl.java @@ -214,6 +214,20 @@ public class SysOrderServiceImpl implements ISysOrderService { } } } + //商务订单 + else if("4".equals(sysOrder.getOrderType())){ + sysOrder.setNutritionistId((sysOrder.getNutritionistIdList() != null && sysOrder.getNutritionistIdList().length > 0) ? sysOrder.getNutritionistIdList()[0] : null); + sysOrder.setMainOrderId(0L); + sysOrder.setAfterSaleCommissOrder(0); + sysOrder.setPreSaleId(null); + sysOrder.setOnSaleId(null); + sysOrder.setPushPreSaleId(null); + sysOrder.setPlannerId(null); + sysOrder.setPlannerAssisId(null); + sysOrder.setOperatorId(null); + sysOrder.setOperatorAssisId(null); + row = sysOrderMapper.insertSysOrder(sysOrder); + } return row; } @@ -273,6 +287,15 @@ public class SysOrderServiceImpl implements ISysOrderService { if("3".equals(sysOrder.getOrderType())){ sysOrder.setPreSaleId(null); } + if("4".equals(sysOrder.getOrderType())){ + sysOrder.setPreSaleId(null); + sysOrder.setOnSaleId(null); + sysOrder.setPushPreSaleId(null); + sysOrder.setPlannerId(null); + sysOrder.setPlannerAssisId(null); + sysOrder.setOperatorId(null); + sysOrder.setOperatorAssisId(null); + } if(oldSysOrder.getStartTime() == null){//确保提成计算时间不为空 sysOrder.setCommissStartTime(sysOrder.getOrderTime()); } diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/utils/OrderUtils.java b/stdiet-custom/src/main/java/com/stdiet/custom/utils/OrderUtils.java index 9c86dbf32..96c68be4c 100644 --- a/stdiet-custom/src/main/java/com/stdiet/custom/utils/OrderUtils.java +++ b/stdiet-custom/src/main/java/com/stdiet/custom/utils/OrderUtils.java @@ -4,7 +4,7 @@ import com.stdiet.custom.domain.SysOrder; public class OrderUtils { - private static final String[] orderTypeArray = {"普通单","比例拆分单","体验单","售中单"}; + private static final String[] orderTypeArray = {"普通单","比例拆分单","体验单","售中单","商务单"}; private static final String[] orderCountTypeArray = {"一开单","二开单","一开单(拆分)","二开单(拆分)"}; diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysCommisionMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysCommisionMapper.xml index 9fced82a6..2adfd0325 100644 --- a/stdiet-custom/src/main/resources/mapper/custom/SysCommisionMapper.xml +++ b/stdiet-custom/src/main/resources/mapper/custom/SysCommisionMapper.xml @@ -77,6 +77,14 @@ <property name="postId" value="16"/> </include> UNION + <include refid="groupAmountVo"> + <property name="column" value="business_affair_id"/> + <property name="reviewStatus" value="#{reviewStatus}"/> + <property name="beginTime" value="#{beginTime}"/> + <property name="endTime" value="#{endTime}"/> + <property name="postId" value="17"/> + </include> + UNION <include refid="groupAmountVo"> <property name="column" value="after_sale_id"/> <property name="reviewStatus" value="#{reviewStatus}"/> diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysOrderMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysOrderMapper.xml index fe8aa5b08..e02ac9243 100644 --- a/stdiet-custom/src/main/resources/mapper/custom/SysOrderMapper.xml +++ b/stdiet-custom/src/main/resources/mapper/custom/SysOrderMapper.xml @@ -41,6 +41,7 @@ <result property="serverEndTime" column="server_end_time"/> <result property="becomeFanTime" column="become_fan_time"/> + <result property="businessAffairId" column="business_affair_id" /> <result property="pushPreSaleId" column="push_pre_sale_id" /> <result property="onSaleId" column="on_sale_id"/> <result property="orderType" column="order_type"/> @@ -64,7 +65,7 @@ o.serve_time_id, o.pay_type_id, pay.dict_label as pay_type, o.pre_sale_id, o.create_by, o.create_time, o.after_sale_id, o.update_by, o.update_time, o.nutritionist_id, o.remark, o.nutri_assis_id, o.account_id, acc.dict_label as account, o.planner_id, o.planner_assis_id, o.operator_id, o.operator_assis_id, o.recommender, o.order_time,o.give_serve_day,o.conditioning_project_id,cp.dict_label as conditioning_project,o.server_end_time, - o.on_sale_id,o.order_type,o.order_count_type,o.order_money_type,o.main_order_id,o.after_sale_commiss_order,o.commiss_start_time, o.counted,o.push_pre_sale_id + o.on_sale_id,o.order_type,o.order_count_type,o.order_money_type,o.main_order_id,o.after_sale_commiss_order,o.commiss_start_time, o.counted,o.push_pre_sale_id,o.business_affair_id from sys_order o LEFT JOIN sys_customer sc ON sc.id = o.cus_id LEFT JOIN (SELECT dict_label, dict_value FROM sys_dict_data WHERE dict_type = 'cus_pay_type') AS pay ON pay.dict_value = o.pay_type_id @@ -127,6 +128,9 @@ <if test="onSaleId != null"> and o.on_sale_id = #{onSaleId} </if> + <if test="businessAffairId != null"> + and o.business_affair_id = #{businessAffairId} + </if> <if test="afterSaleId != null ">and o.after_sale_id = #{afterSaleId}</if> <if test="nutritionistId != null ">and o.nutritionist_id = #{nutritionistId}</if> <if test="nutriAssisId != null ">and o.nutri_assis_id = #{nutriAssisId}</if> @@ -185,6 +189,9 @@ <if test="onSaleId != null"> and o.on_sale_id = #{onSaleId} </if> + <if test="businessAffairId != null"> + and o.business_affair_id = #{businessAffairId} + </if> <if test="preSaleId != null ">and pre_sale_id = #{preSaleId}</if> <if test="afterSaleId != null ">and after_sale_id = #{afterSaleId}</if> <if test="nutritionistId != null ">and nutritionist_id = #{nutritionistId}</if> @@ -252,6 +259,7 @@ <if test="operatorId != null">operator_id,</if> <if test="serveTimeId != null">serve_time_id,</if> <if test="recommender != null">recommender,</if> + <if test="businessAffairId != null">business_affair_id,</if> <if test="pushPreSaleId != null">push_pre_sale_id,</if> <if test="amount != null">amount,</if> <if test="orderTime != null">order_time,</if> @@ -296,6 +304,7 @@ <if test="operatorId != null">#{operatorId},</if> <if test="serveTimeId != null">#{serveTimeId},</if> <if test="recommender != null">#{recommender},</if> + <if test="businessAffairId != null">#{businessAffairId},</if> <if test="pushPreSaleId != null">#{pushPreSaleId},</if> <if test="amount != null">#{amount},</if> <if test="orderTime != null">#{orderTime},</if> @@ -343,6 +352,7 @@ <if test="operatorId != null">operator_id = #{operatorId},</if> <if test="serveTimeId != null">serve_time_id = #{serveTimeId},</if> <if test="recommender != null">recommender = #{recommender},</if> + <if test="businessAffairId != null">business_affair_id = #{businessAffairId},</if> <if test="pushPreSaleId != null">push_pre_sale_id = #{pushPreSaleId},</if> <if test="amount != null">amount = #{amount},</if> <if test="orderTime != null">order_time = #{orderTime},</if> @@ -415,6 +425,7 @@ <result property="serverEndTime" column="server_end_time"/> <result property="becomeFanTime" column="become_fan_time"/> + <result property="businessAffairId" column="business_affair_id" /> <result property="pushPreSaleId" column="push_pre_sale_id" /> <result property="onSaleId" column="on_sale_id"/> <result property="orderType" column="order_type"/> diff --git a/stdiet-ui/src/components/OrderAdd/index.vue b/stdiet-ui/src/components/OrderAdd/index.vue index 7fd42f1c1..da543fdea 100644 --- a/stdiet-ui/src/components/OrderAdd/index.vue +++ b/stdiet-ui/src/components/OrderAdd/index.vue @@ -111,7 +111,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8" v-show="preSaleShow"> + <el-col :span="8" v-show="preSaleShow && !businessAffairShow"> <el-form-item label="售前" prop="preSaleId" > <el-select v-model="form.preSaleId" placeholder="请选择" filterable clearable> @@ -124,6 +124,18 @@ </el-select> </el-form-item> </el-col> + <el-col :span="8" v-show="businessAffairShow"> + <el-form-item label="商务" prop="businessAffairId" > + <el-select v-model="form.businessAffairId" placeholder="请选择" filterable clearable> + <el-option + v-for="dict in bdOptions" + :key="dict.dictValue" + :label="dict.dictLabel" + :value="parseInt(dict.dictValue)" + /> + </el-select> + </el-form-item> + </el-col> <el-col :span="8" v-show="pushPreSaleShow"> <el-form-item label="售前推送" prop="preSaleId" title="售前推送人就是该客户体验单的销售,只有售中一开单需要选择"> <el-select v-model="form.pushPreSaleId" placeholder="请选择" filterable @@ -204,7 +216,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8"> + <el-col :span="8" v-show="!businessAffairShow"> <el-form-item label="策划" prop="plannerId"> <el-select v-model="form.plannerId" placeholder="请选择" filterable clearable> @@ -217,7 +229,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8"> + <el-col :span="8" v-show="!businessAffairShow"> <el-form-item label="策划助理" prop="plannerAssisId"> <el-select v-model="form.plannerAssisId" placeholder="请选择" filterable clearable> @@ -230,7 +242,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8"> + <el-col :span="8" v-show="!businessAffairShow"> <el-form-item label="运营" prop="operatorId"> <el-select v-model="form.operatorId" placeholder="请选择" filterable clearable> @@ -243,7 +255,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8"> + <el-col :span="8" v-show="!businessAffairShow"> <el-form-item label="运营助理" prop="operatorAssisId"> <el-select v-model="form.operatorAssisId" placeholder="请选择" filterable clearable> @@ -481,6 +493,8 @@ export default { pushPreSaleShow: false, //售后、营养师、营养师助理是否显示 afterNutiShow: true, + //商务订单 + businessAffairShow: false }; }, created() { @@ -546,7 +560,9 @@ export default { // 运营助理字典 "operatorAssisIdOptions", //售前推送 - "pushPreSaleIdOptions" + "pushPreSaleIdOptions", + //商务 + "bdOptions" ]), }, methods: { @@ -662,6 +678,25 @@ export default { return false; } } + }else if(this.form.orderTypeList[0] == 4){ + //商务不能为空 + if(this.form.businessAffairId == null || this.form.businessAffairId <= 0){ + this.$message({ + type: 'warning', + message: '商务不能为空', + center: true + }); + return false; + } + //营养师不能为空 + if(this.form.nutritionistIdList == null || this.form.nutritionistIdList.length != 1 || this.form.nutritionistIdList[0] <= 0){ + this.$message({ + type: 'warning', + message: '营养师不能为空,普通单只能选择一个营养师', + center: true + }); + return false; + } } return true; }, @@ -731,6 +766,7 @@ export default { pauseTime: null, payTypeId: defaultPayType ? parseInt(defaultPayType.dictValue) : null, preSaleId: defaultPresale ? parseInt(defaultPresale.dictValue) : null, + businessAffairId: null, pushPreSaleId: null, recipesPlanContinue: 1, createBy: null, @@ -815,7 +851,7 @@ export default { // }, "form.orderTypeList": function (newVal, oldVal) { //判断订单类型是否选择了二开 - if (newVal[1] == 1 || newVal[1] == 3) { + if ((newVal[1] == 1 || newVal[1] == 3) && newVal[0] != 4) { this.form.secondAfterSaleFlag = 1; this.secondAfterSaleFlagShow = true; } else { @@ -867,6 +903,8 @@ export default { this.onSaleShow = false; } } + //是否选择了商务单 + this.businessAffairShow = newVal[0] == 4; }, }, }; diff --git a/stdiet-ui/src/components/OrderDetail/index.vue b/stdiet-ui/src/components/OrderDetail/index.vue index ced246c13..a8f2a422a 100644 --- a/stdiet-ui/src/components/OrderDetail/index.vue +++ b/stdiet-ui/src/components/OrderDetail/index.vue @@ -73,7 +73,7 @@ export default { ["订单类型","审核状态", "成交时间"], ["调理项目","姓名", "手机号"], ["金额","收款方式", "收款账号"], - ["服务时长","赠送时长", "售前"], + ["服务时长","赠送时长", "售前/商务"], ["售前推送","售中","售后"], ["营养师","助理营养师","策划"], ["策划助理","运营","运营助理"], @@ -112,6 +112,9 @@ export default { getInfoDetail({ orderId }).then((response) => { response.data.weight = response.data.weight != null ? response.data.weight + "斤" : ""; response.data.giveServeDay = response.data.giveServeDay != null ? response.data.giveServeDay + "天" : ""; + if(response.data.orderType == 4){ + response.data.preSale = response.data.businessAffair; + } for (let i = 0; i < this.orderTitleData.length; i++) { this.orderDetailList.push({ attr_name_one: this.orderTitleData[i][0], diff --git a/stdiet-ui/src/components/OrderEdit/index.vue b/stdiet-ui/src/components/OrderEdit/index.vue index 706f09328..c214fed80 100644 --- a/stdiet-ui/src/components/OrderEdit/index.vue +++ b/stdiet-ui/src/components/OrderEdit/index.vue @@ -90,7 +90,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8" v-show="preSaleShow"> + <el-col :span="8" v-show="preSaleShow && !businessAffairShow"> <el-form-item label="售前" prop="preSaleId"> <el-select v-model="form.preSaleId" placeholder="请选择"> <el-option @@ -102,7 +102,18 @@ </el-select> </el-form-item> </el-col> - + <el-col :span="8" v-show="businessAffairShow"> + <el-form-item label="商务" prop="businessAffairId" > + <el-select v-model="form.businessAffairId" placeholder="请选择" filterable clearable> + <el-option + v-for="dict in bdOptions" + :key="dict.dictValue" + :label="dict.dictLabel" + :value="parseInt(dict.dictValue)" + /> + </el-select> + </el-form-item> + </el-col> <el-col :span="8" v-show="pushPreSaleShow"> <el-form-item label="售前推送" prop="preSaleId"> <el-select v-model="form.pushPreSaleId" placeholder="请选择"> @@ -163,7 +174,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8" v-show="planOperatorShow"> + <el-col :span="8" v-show="planOperatorShow && !businessAffairShow"> <el-form-item label="策划" prop="plannerId"> <el-select v-model="form.plannerId" placeholder="请选择"> <el-option @@ -175,7 +186,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8" v-show="planOperatorShow"> + <el-col :span="8" v-show="planOperatorShow && !businessAffairShow"> <el-form-item label="策划助理" prop="plannerAssisId"> <el-select v-model="form.plannerAssisId" placeholder="请选择"> <el-option @@ -187,7 +198,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8" v-show="planOperatorShow"> + <el-col :span="8" v-show="planOperatorShow && !businessAffairShow"> <el-form-item label="运营" prop="operatorId"> <el-select v-model="form.operatorId" placeholder="请选择"> <el-option @@ -199,7 +210,7 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8" v-show="planOperatorShow"> + <el-col :span="8" v-show="planOperatorShow && !businessAffairShow"> <el-form-item label="运营助理" prop="operatorAssisId"> <el-select v-model="form.operatorAssisId" placeholder="请选择"> <el-option @@ -415,6 +426,8 @@ export default { afterSaleNutriAssShow: true, //是否显示策划、策划助理、运营、运营助理 planOperatorShow: true, + //商务单 + businessAffairShow: false }; }, created() { @@ -466,7 +479,9 @@ export default { // 运营助理字典 "operatorAssisIdOptions", //售前推送 - "pushPreSaleIdOptions" + "pushPreSaleIdOptions", + //商务 + "bdOptions" ]), }, methods: { @@ -630,6 +645,9 @@ export default { this.planOperatorShow = false; } + //是否商务单 + this.businessAffairShow = this.form.orderType == "4"; + //console.log(this.preSaleShow + " | " + this.pushPreSaleShow + " | " + this.onSaleShow + " | " + this.afterSaleNutriAssShow + "|" + this.planOperatorShow); }, handleOnClosed() { diff --git a/stdiet-ui/src/store/getters.js b/stdiet-ui/src/store/getters.js index c731df0c2..b42ef3c90 100644 --- a/stdiet-ui/src/store/getters.js +++ b/stdiet-ui/src/store/getters.js @@ -24,6 +24,7 @@ const getters = { plannerAssisIdOptions: state => state.global.plannerAssisIdOptions, operatorIdOptions: state => state.global.operatorIdOptions, operatorAssisIdOptions: state => state.global.operatorAssisIdOptions, - pushPreSaleIdOptions: state => state.global.pushPreSaleIdOptions + pushPreSaleIdOptions: state => state.global.pushPreSaleIdOptions, + bdOptions: state => state.global.bdOptions }; export default getters; diff --git a/stdiet-ui/src/store/modules/global.js b/stdiet-ui/src/store/modules/global.js index c0dfee00b..b93604e42 100644 --- a/stdiet-ui/src/store/modules/global.js +++ b/stdiet-ui/src/store/modules/global.js @@ -11,7 +11,8 @@ const oriState = { operatorIdOptions: [], operatorAssisIdOptions: [], msgUnreadCount: 0, - pushPreSaleIdOptions:[] + pushPreSaleIdOptions:[], + bdOptions:[] }; const mutations = { @@ -51,6 +52,7 @@ const actions = { operatorIdOptions: options["operator"] || [], operatorAssisIdOptions: options["operator_assis"] || [], pushPreSaleIdOptions: options["push_pre_sale"] || [], + bdOptions: options["bd"] || [], }); } }; diff --git a/stdiet-ui/src/utils/orderType.js b/stdiet-ui/src/utils/orderType.js index 6b9d7fd8b..55bec0f4b 100644 --- a/stdiet-ui/src/utils/orderType.js +++ b/stdiet-ui/src/utils/orderType.js @@ -75,6 +75,11 @@ export const orderTypeArray = [ value: 3, label: "售中单", children: orderCountExtendedTypeArray + }, + { + value: 4, + label: "商务单", + children: orderCountTypeArray } ] diff --git a/stdiet-ui/src/views/custom/order/index.vue b/stdiet-ui/src/views/custom/order/index.vue index 0814b0da4..896ad2903 100644 --- a/stdiet-ui/src/views/custom/order/index.vue +++ b/stdiet-ui/src/views/custom/order/index.vue @@ -88,6 +88,24 @@ </el-select> </el-form-item> </el-col> + <el-col :span="6" v-if="!isPartner"> + <el-form-item label="商务" prop="businessAffairId"> + <el-select + v-model="queryParams.businessAffairId" + placeholder="请选择商务" + clearable + filterable + size="small" + > + <el-option + v-for="dict in bdOptions" + :key="dict.dictValue" + :label="dict.dictLabel" + :value="parseInt(dict.dictValue)" + /> + </el-select> + </el-form-item> + </el-col> <el-col :span="6" v-if="!isPartner"> <el-form-item label="售前推送" prop="pushPreSaleId"> <el-select @@ -272,8 +290,8 @@ </el-select> </el-form-item> </el-col> - <el-col :span="6" v-if="!isPartner"> - <el-form-item label="订单金额" prop="amountFlag"> + <el-col :span="33" > + <el-form-item label="订单金额" prop="amountFlag" v-if="!isPartner"> <el-select v-model="queryParams.amountFlag" clearable @@ -284,9 +302,7 @@ <el-option :key="2" label="退款订单" :value="1" /> </el-select> </el-form-item> - </el-col> - <el-col :span="26"> - <el-form-item label="订单类型" prop="searchOrderTypeArray"> + <el-form-item label="订单类型" prop="searchOrderTypeArray" v-if="!isPartner" style="margin-left:140px"> <el-cascader placeholder="请选择订单类型" v-model="searchOrderTypeArray" @@ -410,7 +426,7 @@ width="90" /> <el-table-column label="服务时长" align="center" prop="serveTime" /> - <el-table-column label="销售/售中" align="center" prop="preSale" > + <el-table-column label="销售/商务/售中" align="center" prop="preSale" > <template slot-scope="scope"> <div v-if="scope.row.orderType == 2"> <div> @@ -420,6 +436,9 @@ {{scope.row.onSaleId ? scope.row.onSale : "无" }} </div> </div> + <div v-else-if="scope.row.orderType == 4"> + {{scope.row.businessAffairId ? scope.row.businessAffair : "无"}} + </div> <div v-else> {{scope.row.preSaleId ? scope.row.preSale : scope.row.onSale}} </div> @@ -636,6 +655,7 @@ export default { recommender: null, reviewStatus: null, serveTimeId: null, + businessAffairId: null }, //查询时选择的订单类型数组 searchOrderTypeArray: null, @@ -673,6 +693,8 @@ export default { "operatorAssisIdOptions", //售前推送 "pushPreSaleIdOptions", + //商务 + "bdOptions", // "userId", //