|
|
|
@ -187,7 +187,7 @@ |
|
|
|
|
round |
|
|
|
|
@click="batchDeliver(0, 0)">取消全部发货</el-button> |
|
|
|
|
</template> |
|
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" |
|
|
|
|
<el-button v-if="!viewDisabled&&!isEdit&&!renewDisabled" |
|
|
|
|
type="primary" |
|
|
|
|
round |
|
|
|
|
@click="addCourseJurisdiction(1)">添加</el-button> |
|
|
|
@ -216,7 +216,7 @@ |
|
|
|
|
<div class="small"> |
|
|
|
|
<el-input class="time-input" |
|
|
|
|
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
maxlength="4" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
@input="scope.row.periodOfUse = scope.row.periodOfUse.replace(/[^0-9.]/g,'')" |
|
|
|
@ -224,7 +224,7 @@ |
|
|
|
|
placeholder="输入时间"></el-input> |
|
|
|
|
<el-select class="time-select" |
|
|
|
|
v-model="scope.row.options" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)"> |
|
|
|
|
<el-option label="日" |
|
|
|
@ -246,7 +246,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -256,7 +256,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -341,7 +341,7 @@ |
|
|
|
|
width="180"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div class="flex-c-c"> |
|
|
|
|
<el-button v-if="!editDisabled&&!viewDisabled" |
|
|
|
|
<el-button v-if="!isEdit&&!viewDisabled" |
|
|
|
|
type="text" |
|
|
|
|
@click="delCourseForm(scope.$index, scope.row)" |
|
|
|
|
style="margin-right:10px;">删除</el-button> |
|
|
|
@ -399,7 +399,7 @@ |
|
|
|
|
round |
|
|
|
|
@click="batchDeliver(0, 5)">取消全部发货</el-button> |
|
|
|
|
</template> |
|
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" |
|
|
|
|
<el-button v-if="!viewDisabled&&!isEdit&&!renewDisabled" |
|
|
|
|
type="primary" |
|
|
|
|
round |
|
|
|
|
@click="addCourseJurisdiction(2)">添加</el-button> |
|
|
|
@ -428,7 +428,7 @@ |
|
|
|
|
<div class="small"> |
|
|
|
|
<el-input class="time-input" |
|
|
|
|
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
maxlength="4" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
@input="scope.row.periodOfUse = scope.row.periodOfUse.replace(/[^0-9.]/g,'')" |
|
|
|
@ -436,7 +436,7 @@ |
|
|
|
|
placeholder="输入时间"></el-input> |
|
|
|
|
<el-select class="time-select" |
|
|
|
|
v-model="scope.row.options" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)"> |
|
|
|
|
<el-option label="日" |
|
|
|
@ -458,7 +458,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -468,7 +468,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -553,7 +553,7 @@ |
|
|
|
|
width="180"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div class="flex-c-c"> |
|
|
|
|
<el-button v-if="!editDisabled&&!viewDisabled" |
|
|
|
|
<el-button v-if="!isEdit&&!viewDisabled" |
|
|
|
|
type="text" |
|
|
|
|
@click="delCourseDataForm(scope.$index, scope.row)" |
|
|
|
|
style="margin-right:10px;">删除</el-button> |
|
|
|
@ -611,7 +611,7 @@ |
|
|
|
|
round |
|
|
|
|
@click="batchDeliver(0, 1)">取消全部发货</el-button> |
|
|
|
|
</template> |
|
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" |
|
|
|
|
<el-button v-if="!viewDisabled&&!isEdit&&!renewDisabled" |
|
|
|
|
type="primary" |
|
|
|
|
round |
|
|
|
|
class="mag" |
|
|
|
@ -641,7 +641,7 @@ |
|
|
|
|
<div class="small"> |
|
|
|
|
<el-input class="time-input" |
|
|
|
|
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
maxlength="4" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options)" |
|
|
|
|
@input="scope.row.periodOfUse = scope.row.periodOfUse.replace(/[^0-9.]/g,'')" |
|
|
|
@ -650,7 +650,7 @@ |
|
|
|
|
<span style="margin-left:5px"> |
|
|
|
|
<el-select class="time-select" |
|
|
|
|
v-model="scope.row.options" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options)"> |
|
|
|
|
<el-option label="日" |
|
|
|
@ -673,7 +673,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -683,7 +683,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -794,7 +794,7 @@ |
|
|
|
|
width="180"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div class="flex-c-c"> |
|
|
|
|
<el-button v-if="!editDisabled&&!viewDisabled" |
|
|
|
|
<el-button v-if="!isEdit&&!viewDisabled" |
|
|
|
|
type="text" |
|
|
|
|
@click="delDataForm(scope.$index, scope.row)" |
|
|
|
|
style="margin-right:10px;">删除</el-button> |
|
|
|
@ -845,7 +845,7 @@ |
|
|
|
|
round |
|
|
|
|
@click="batchDeliver(0, 2)">取消全部发货</el-button> |
|
|
|
|
</template> |
|
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" |
|
|
|
|
<el-button v-if="!viewDisabled&&!isEdit&&!renewDisabled" |
|
|
|
|
type="primary" |
|
|
|
|
round |
|
|
|
|
class="mag" |
|
|
|
@ -875,7 +875,7 @@ |
|
|
|
|
<div class="small"> |
|
|
|
|
<el-input class="time-input" |
|
|
|
|
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
maxlength="4" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options)" |
|
|
|
|
@input="scope.row.periodOfUse = scope.row.periodOfUse.replace(/[^0-9.]/g,'')" |
|
|
|
@ -884,7 +884,7 @@ |
|
|
|
|
<span style="margin-left:5px"> |
|
|
|
|
<el-select class="time-select" |
|
|
|
|
v-model="scope.row.options" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options)"> |
|
|
|
|
<el-option label="日" |
|
|
|
@ -907,7 +907,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
|
</p> |
|
|
|
@ -916,7 +916,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -994,7 +994,7 @@ |
|
|
|
|
width="180"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div class="flex-c-c"> |
|
|
|
|
<el-button v-if="!editDisabled&&!viewDisabled" |
|
|
|
|
<el-button v-if="!isEdit&&!viewDisabled" |
|
|
|
|
type="text" |
|
|
|
|
@click="delDataFormList(scope.$index, scope.row)" |
|
|
|
|
style="margin-right:10px;">删除</el-button> |
|
|
|
@ -1045,7 +1045,7 @@ |
|
|
|
|
round |
|
|
|
|
@click="batchDeliver(0, 3)">取消全部发货</el-button> |
|
|
|
|
</template> |
|
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" |
|
|
|
|
<el-button v-if="!viewDisabled&&!isEdit&&!renewDisabled" |
|
|
|
|
type="primary" |
|
|
|
|
round |
|
|
|
|
class="mag" |
|
|
|
@ -1076,7 +1076,7 @@ |
|
|
|
|
<div class="small"> |
|
|
|
|
<el-input class="time-input" |
|
|
|
|
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
maxlength="4" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
@input="scope.row.periodOfUse = scope.row.periodOfUse.replace(/[^0-9.]/g,'')" |
|
|
|
@ -1084,7 +1084,7 @@ |
|
|
|
|
placeholder="输入时间"></el-input> |
|
|
|
|
<el-select class="time-select" |
|
|
|
|
v-model="scope.row.options" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)"> |
|
|
|
|
<el-option label="日" |
|
|
|
@ -1106,7 +1106,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -1116,7 +1116,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -1197,7 +1197,7 @@ |
|
|
|
|
<el-button style="margin-right: 10px;" |
|
|
|
|
type="text" |
|
|
|
|
@click="showShip(scope.row)">{{ viewDisabled ? '' : '编辑' }}发货内容</el-button> |
|
|
|
|
<el-button v-if="!editDisabled&&!viewDisabled" |
|
|
|
|
<el-button v-if="!isEdit&&!viewDisabled" |
|
|
|
|
type="text" |
|
|
|
|
@click="delPracticalCourses(scope.$index, scope.row)" |
|
|
|
|
style="margin: 0 10px;">删除</el-button> |
|
|
|
@ -1255,7 +1255,7 @@ |
|
|
|
|
round |
|
|
|
|
@click="batchDeliver(0, 4)">取消全部发货</el-button> |
|
|
|
|
</template> |
|
|
|
|
<el-button v-if="!viewDisabled&&!editDisabled&&!renewDisabled" |
|
|
|
|
<el-button v-if="!viewDisabled&&!isEdit&&!renewDisabled" |
|
|
|
|
type="primary" |
|
|
|
|
round |
|
|
|
|
class="mag" |
|
|
|
@ -1286,7 +1286,7 @@ |
|
|
|
|
<div class="small"> |
|
|
|
|
<el-input class="time-input" |
|
|
|
|
:class="!scope.row.periodOfUse&&whetherSubmit?'red':''" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
maxlength="4" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
@input="scope.row.periodOfUse = scope.row.periodOfUse.replace(/[^0-9.]/g,'')" |
|
|
|
@ -1294,7 +1294,7 @@ |
|
|
|
|
placeholder="输入时间"></el-input> |
|
|
|
|
<el-select class="time-select" |
|
|
|
|
v-model="scope.row.options" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)"> |
|
|
|
|
<el-option label="日" |
|
|
|
@ -1316,7 +1316,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -1326,7 +1326,7 @@ |
|
|
|
|
style="width:130px" |
|
|
|
|
v-model="scope.row.startTime" |
|
|
|
|
type="date" |
|
|
|
|
:disabled="viewDisabled||editDisabled" |
|
|
|
|
:disabled="viewDisabled||isEdit" |
|
|
|
|
@change="deadLine(scope.row.periodOfUse,scope.row,scope.row.options, 1)" |
|
|
|
|
placeholder="请选择使用日期"> |
|
|
|
|
</el-date-picker> |
|
|
|
@ -1407,7 +1407,7 @@ |
|
|
|
|
<el-button style="margin-right: 10px;" |
|
|
|
|
type="text" |
|
|
|
|
@click="showShip(scope.row)">{{ viewDisabled ? '' : '编辑' }}发货内容</el-button> |
|
|
|
|
<el-button v-if="!editDisabled&&!viewDisabled" |
|
|
|
|
<el-button v-if="!isEdit&&!viewDisabled" |
|
|
|
|
type="text" |
|
|
|
|
@click="delExpTool(scope.$index, scope.row)" |
|
|
|
|
style="margin-right:10px;">删除</el-button> |
|
|
|
@ -1743,11 +1743,12 @@ export default { |
|
|
|
|
loading: false,// 页面加载 |
|
|
|
|
isAdd: false, // 是否添加 |
|
|
|
|
viewDisabled: false,// 查看禁用 |
|
|
|
|
editDisabled: false,// 编辑禁用 |
|
|
|
|
editDisabled: false,// 编辑和处理禁用 |
|
|
|
|
isEdit: false, // 编辑 |
|
|
|
|
renewDisabled: false,// 续费禁用 |
|
|
|
|
dataLoading: false,// 产品弹框加载 |
|
|
|
|
whetherSubmit: false,/* 提交否 */ |
|
|
|
|
dispose: false, |
|
|
|
|
dispose: false, // 处理 |
|
|
|
|
showSelectClient: false,// 切换展示选择客户页 |
|
|
|
|
form: {// 基本信息 |
|
|
|
|
// orderNumber: '',// 编号 |
|
|
|
@ -1954,6 +1955,7 @@ export default { |
|
|
|
|
this.dispose = true; |
|
|
|
|
} else { |
|
|
|
|
this.titlesw = '修改订单' |
|
|
|
|
this.isEdit = true |
|
|
|
|
} |
|
|
|
|
this.editDisabled = true; |
|
|
|
|
await this.getDetail(this.$route.query.orderId); |
|
|
|
@ -2031,8 +2033,7 @@ export default { |
|
|
|
|
this.$post(this.api.renew, { |
|
|
|
|
authority: 1, |
|
|
|
|
customerId, |
|
|
|
|
productId: orderOther.filter(e => e.authority === 1).map(e => e.dataOrCourseId), |
|
|
|
|
mallId: orderOther.filter(e => e.authority === 1).map(e => e.mallId), |
|
|
|
|
productId: orderOther.filter(e => e.authority === 1).map(e => e.mallId), |
|
|
|
|
}).then(({ orderOthers }) => { |
|
|
|
|
list.push(...orderOthers) |
|
|
|
|
resolve() |
|
|
|
@ -2044,8 +2045,7 @@ export default { |
|
|
|
|
this.$post(this.api.renew, { |
|
|
|
|
authority: 0, |
|
|
|
|
customerId, |
|
|
|
|
productId: orderOther.filter(e => !e.authority).map(e => e.dataOrCourseId), |
|
|
|
|
mallId: orderOther.filter(e => !e.authority).map(e => e.mallId), |
|
|
|
|
productId: orderOther.filter(e => !e.authority).map(e => e.mallId), |
|
|
|
|
}).then(({ orderOthers }) => { |
|
|
|
|
list.push(...orderOthers) |
|
|
|
|
resolve() |
|
|
|
@ -2057,8 +2057,7 @@ export default { |
|
|
|
|
this.$post(this.api.renew, { |
|
|
|
|
authority: 2, |
|
|
|
|
customerId, |
|
|
|
|
productId: orderOther.filter(e => e.authority === 2).map(e => e.dataOrCourseId), |
|
|
|
|
mallId: orderOther.filter(e => e.authority === 2).map(e => e.mallId), |
|
|
|
|
productId: orderOther.filter(e => e.authority === 2).map(e => e.mallId), |
|
|
|
|
}).then(({ orderOthers }) => { |
|
|
|
|
list.push(...orderOthers) |
|
|
|
|
resolve() |
|
|
|
@ -2070,8 +2069,7 @@ export default { |
|
|
|
|
this.$post(this.api.renew, { |
|
|
|
|
authority: 3, |
|
|
|
|
customerId, |
|
|
|
|
productId: orderOther.filter(e => e.authority === 3).map(e => e.dataOrCourseId), |
|
|
|
|
mallId: orderOther.filter(e => e.authority === 3).map(e => e.mallId), |
|
|
|
|
productId: orderOther.filter(e => e.authority === 3).map(e => e.mallId), |
|
|
|
|
}).then(({ orderOthers }) => { |
|
|
|
|
list.push(...orderOthers) |
|
|
|
|
resolve() |
|
|
|
@ -2084,8 +2082,7 @@ export default { |
|
|
|
|
authority: 4, |
|
|
|
|
// authority: 3, |
|
|
|
|
customerId, |
|
|
|
|
productId: orderOther.filter(e => e.authority === 4).map(e => e.dataOrCourseId), |
|
|
|
|
mallId: orderOther.filter(e => e.authority === 4).map(e => e.mallId), |
|
|
|
|
productId: orderOther.filter(e => e.authority === 4).map(e => e.mallId), |
|
|
|
|
}).then(({ orderOthers }) => { |
|
|
|
|
list.push(...orderOthers) |
|
|
|
|
resolve() |
|
|
|
@ -2580,10 +2577,8 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}; |
|
|
|
|
const productId = [] |
|
|
|
|
const mallId = [] |
|
|
|
|
this.practicalCoursesSelect.map(e => {// 取得选中的值,进行赋值 |
|
|
|
|
e.associatedProduct && productId.push(+e.associatedProduct); |
|
|
|
|
mallId.push(e.mallId) |
|
|
|
|
productId.push(e.mallId) |
|
|
|
|
let find = this[name].some(i => e.mallId === i.mallId);// 判断已有的相同的id不进行处理 |
|
|
|
|
if (!find) { |
|
|
|
|
// 查询产品管理设置的平台结算价 |
|
|
|
@ -2605,7 +2600,6 @@ export default { |
|
|
|
|
authority, |
|
|
|
|
customerId: this.form.customerId, |
|
|
|
|
productId, |
|
|
|
|
mallId |
|
|
|
|
}).then(res => { |
|
|
|
|
this[name].map(e => { |
|
|
|
|
res.orderOthers.map(el => { |
|
|
|
|