|
@@ -15,19 +15,19 @@
|
|
|
<FormItem label="合同性质" required>
|
|
|
<!-- 订单状态为“已完成”,不支持修改。 -->
|
|
|
<RadioGroup v-model="others.contract_nature">
|
|
|
- <Radio label="1" style="margin-right:30px" :disabled="others.order_status=='1'">新签合同</Radio>
|
|
|
- <Radio label="2" :disabled="others.order_status=='2'">续签合同</Radio>
|
|
|
+ <Radio label="1" style="margin-right:30px" :disabled="others.order_status=='1' || returnDisabledStatus">新签合同</Radio>
|
|
|
+ <Radio label="2" :disabled="others.order_status=='2' || returnDisabledStatus">续签合同</Radio>
|
|
|
</RadioGroup>
|
|
|
</FormItem>
|
|
|
<FormItem label="购买主体" required>
|
|
|
<RadioGroup v-model="others.buySubject" @on-change="radiosChange">
|
|
|
- <Radio label="1" style="margin-right:30px" :disabled="radio_dis || finish_dis">个人</Radio>
|
|
|
- <Radio label="2" :disabled="radio_dis || finish_dis">企业</Radio>
|
|
|
+ <Radio label="1" style="margin-right:30px" :disabled="radio_dis || finish_dis || returnDisabledStatus">个人</Radio>
|
|
|
+ <Radio label="2" :disabled="radio_dis || finish_dis || returnDisabledStatus">企业</Radio>
|
|
|
</RadioGroup>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
<FormItem label="公司名称" prop="" :required="others.buySubject == '2'">
|
|
|
- <Input v-model.trim="others.companyName" type="text" :maxlength="40" :disabled="finish_dis" placeholder="请输入公司名称"></Input>
|
|
|
+ <Input v-model.trim="others.companyName" type="text" :maxlength="40" :disabled="finish_dis || returnDisabledStatus" placeholder="请输入公司名称"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem :label-width="121" label="开通权益手机号" prop="phone" :class="{'phone-tip':others.productType == '1'||others.productType == '6'||others.productType == '7'||others.productType == '8'||others.productType == '9'||others.productType == '11'||others.productType == '12'||others.productType=='14'}">
|
|
|
<Input
|
|
@@ -42,75 +42,88 @@
|
|
|
</FormItem>
|
|
|
<FormItem label="产品类型" required prop="productType">
|
|
|
<RadioGroup v-model="others.productType" @on-change="goodChange">
|
|
|
- <Radio :label="item.v" :disabled="interested || typeRestriction || isEnterprise" v-for="item in otherPro" :key="item.v">{{ item.n }}</Radio>
|
|
|
+ <Radio :label="item.v" :disabled="interested || typeRestriction || isEnterprise || returnDisabledStatus" v-for="item in otherPro" :key="item.v">{{ item.n }}</Radio>
|
|
|
</RadioGroup>
|
|
|
</FormItem>
|
|
|
<div class="flex-endbox">
|
|
|
<FormItem label="购买产品" v-if="others.productType == '2'">
|
|
|
<RadioGroup v-model="others.product" placeholder="请选择购买产品">
|
|
|
- <Radio v-for="item in buyPro" :label="item.v" :key="item.v">{{ item.n }}</Radio>
|
|
|
+ <Radio v-for="item in buyPro" :label="item.v" :key="item.v" :disabled="returnDisabledStatus">{{ item.n }}</Radio>
|
|
|
</RadioGroup>
|
|
|
</FormItem>
|
|
|
<FormItem label="数据条数" v-if="others.productType == '2'||others.productType == '4'">
|
|
|
- <Input v-model="others.dataNum" type="text" :maxlength="8" placeholder="请输入数据条数" @on-keyup="numHandler"></Input>
|
|
|
+ <Input v-model="others.dataNum" type="text" :maxlength="8" placeholder="请输入数据条数" @on-keyup="numHandler" :disabled="returnDisabledStatus"></Input>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
<FormItem label="广告来源" prop="adSource" v-show="others.productType == '1'">
|
|
|
- <Select v-model="others.adSource" placeholder="请选择广告来源">
|
|
|
+ <Select v-model="others.adSource" placeholder="请选择广告来源" :disabled="returnDisabledStatus">
|
|
|
<Option v-for="item in adFrom" :value="item.v" :key="item.v">{{ item.n }}</Option>
|
|
|
</Select>
|
|
|
</FormItem>
|
|
|
- <FormItem label="字段类型" v-if="others.productType == '2'||others.productType == '4'">
|
|
|
- <RadioGroup v-model="others.dataType" >
|
|
|
- <Radio v-for="item in fieldStas" :label="item.v" :key="item.v">{{ item.n }}</Radio>
|
|
|
- </RadioGroup>
|
|
|
- </FormItem>
|
|
|
- <FormItem label="服务起止时间" v-if="others.productType !== '5'">
|
|
|
- <f-date ref="dateRef" :placeholder1="'请选择服务开始时间'" :placeholder2="'请选择服务结束时间'" @startsData="startsData"
|
|
|
- @endsData="endsData"></f-date>
|
|
|
- </FormItem>
|
|
|
+ <div class="flex-endbox">
|
|
|
+ <FormItem label="字段类型" v-if="others.productType == '2'||others.productType == '4'">
|
|
|
+ <RadioGroup v-model="others.dataType" >
|
|
|
+ <Radio v-for="item in fieldStas" :label="item.v" :key="item.v" :disabled="returnDisabledStatus">{{ item.n }}</Radio>
|
|
|
+ </RadioGroup>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem label="服务起止时间" v-if="others.productType !== '5'">
|
|
|
+ <f-date class="service-date-picker" ref="dateRef" :placeholder1="'请选择服务开始时间'" :placeholder2="'请选择服务结束时间'" @startsData="startsData"
|
|
|
+ @endsData="endsData"></f-date>
|
|
|
+ </FormItem>
|
|
|
+ </div>
|
|
|
+
|
|
|
<FormItem label="付费类型" required v-show="others.productType == '5'">
|
|
|
<RadioGroup v-model="others.vipType" @on-change="payChange">
|
|
|
- <Radio label="0" :disabled="gouDis || payDis">购买</Radio>
|
|
|
- <Radio label="1" :disabled="payDis">续费</Radio>
|
|
|
- <Radio label="2" :disabled="payDis">升级</Radio>
|
|
|
+ <Radio label="0" :disabled="gouDis || payDis || returnDisabledStatus">购买</Radio>
|
|
|
+ <Radio label="1" :disabled="payDis || returnDisabledStatus">续费</Radio>
|
|
|
+ <Radio label="2" :disabled="payDis || returnDisabledStatus">升级</Radio>
|
|
|
</RadioGroup>
|
|
|
</FormItem>
|
|
|
<FormItem label="购买数量" required v-show="others.buySubject == '2' && (others.productType == '5' || others.productType == '3')">
|
|
|
- <Input v-model="others.buyCount" type="tel" maxlength="4" @on-keyup="buyHandler" placeholder="请填写购买数量" :disabled="finish_dis"></Input>
|
|
|
+ <Input v-model="others.buyCount" type="tel" maxlength="4" @on-keyup="buyHandler" placeholder="请填写购买数量" :disabled="finish_dis || returnDisabledStatus"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem label="购买省份" prop="area" v-show="others.productType == '5'">
|
|
|
- <city-select ref="cityArea" :stopCheck="stopCheck" @provinceSel="provinceSel"></city-select>
|
|
|
- <div v-show="others.vipType=='1'||others.vipType=='2'" style="color:#ed4014;font-size:13px;line-height:20px">
|
|
|
+ <city-select ref="cityArea" :stopCheck="stopCheck || returnDisabledStatus" @provinceSel="provinceSel"></city-select>
|
|
|
+<!-- <div v-show="others.vipType=='1'||others.vipType=='2'" style="color:#ed4014;font-size:13px;line-height:20px">-->
|
|
|
+<!-- 原套餐购买省份:{{ areaNums.areaCount == 0 ? '全国' : areaNums.areaCount + '个' }}-->
|
|
|
+<!-- <span v-show="others.vipType == '2'">,注意:订阅的区域会调整为此次升级选择的省份,请提前与用户确认升级省份</span>-->
|
|
|
+<!-- </div>-->
|
|
|
+ <div v-show="others.vipType=='1'" style="color:#ed4014;font-size:13px;line-height:20px">
|
|
|
原套餐购买省份:{{ areaNums.areaCount == 0 ? '全国' : areaNums.areaCount + '个' }}
|
|
|
- <span v-show="others.vipType == '2'">,注意:订阅的区域会调整为此次升级选择的省份,请提前与用户确认升级省份</span>
|
|
|
+ </div>
|
|
|
+ <div v-show="others.vipType=='2'" style="color:#ed4014;font-size:13px;line-height:20px">
|
|
|
+ 注:服务到期时间:{{ serviceEndTime }},原套餐购买省份:{{ areaNums.areaCount == 0 ? '全国' : areaNums.areaCount + '个' }},
|
|
|
+ {{ '此次增购' + addAreaCount + '个' }}
|
|
|
+ <span>,注意:订阅的区域会调整为此次升级选择的省份,请提前与用户确认升级省份</span>
|
|
|
</div>
|
|
|
</FormItem>
|
|
|
<div class="two-val" style="display:flex" v-show="others.productType == '5'">
|
|
|
<FormItem required label="有效周期" prop="cycleCount" style="display:flex">
|
|
|
<Input
|
|
|
+ style="width:130px;"
|
|
|
v-model="others.cycleCount"
|
|
|
type="text"
|
|
|
@on-keyup="others.cycleCount=others.cycleCount.replace(/[^\d]+/g,'')"
|
|
|
:maxlength="12"
|
|
|
placeholder="请输入有效周期"
|
|
|
- :disabled="others.vipType=='2' || interested"
|
|
|
- style="width:476px"
|
|
|
+ :disabled="others.vipType=='2' || interested || returnDisabledStatus"
|
|
|
></Input>
|
|
|
</FormItem>
|
|
|
- <FormItem prop="cycleUnit" style="margin-left:10px">
|
|
|
- <Select v-model="others.cycleUnit" placeholder="请选择单位" :disabled="others.vipType=='2' || interested"
|
|
|
+ <FormItem prop="cycleUnit" style="margin-left:10px;width:110px;">
|
|
|
+ <Select v-model="others.cycleUnit" placeholder="请选择单位" :disabled="others.vipType=='2' || interested || returnDisabledStatus"
|
|
|
style="width:110px;">
|
|
|
<Option v-for="item in unitOptions" :value="item.v" :key="item.v">{{ item.n }}</Option>
|
|
|
</Select>
|
|
|
</FormItem>
|
|
|
- </div>
|
|
|
- <div v-show="others.productType == '5'">
|
|
|
- <FormItem label="开始日期" prop="vipStartTime">
|
|
|
+
|
|
|
+ <span class="cycle-tip" v-if="showCycleTip">全额回款后将自动续费开通权益,如若回款时间晚于原服务到期时间,则开始日期为回款日期。</span>
|
|
|
+
|
|
|
+ <FormItem label="开始日期" prop="vipStartTime" v-if="others.vipType=='0'">
|
|
|
<date-sigle
|
|
|
+ style="width: 120px;"
|
|
|
ref="sigleRef1"
|
|
|
:dateType="'date'"
|
|
|
- :placeholderd="'请选择开始日期'"
|
|
|
+ :placeholderd="'请选择'"
|
|
|
@startDate="startDate1"
|
|
|
:disabledDateCallback="disabledDateForVIPCallback"
|
|
|
class="no-pass"
|
|
@@ -120,7 +133,12 @@
|
|
|
<Checkbox v-model="noPass" @on-change="noTchange"
|
|
|
:disabled="others.vipType!=='0' || interested || (!returnMyOther&&others.vipType === '0')">暂不开通
|
|
|
</Checkbox>
|
|
|
+ <Checkbox v-model="others.paybackOpenServer"
|
|
|
+ :disabled="(returnMyOther && !noPass) || (others.vipType!=='0') || (!returnMyOther && others.vipType === '0')">全额回款当日自动开通
|
|
|
+ </Checkbox>
|
|
|
</FormItem>
|
|
|
+ </div>
|
|
|
+ <div v-show="others.productType == '5'">
|
|
|
|
|
|
<!-- <FormItem label="计费模式" prop="chargeMode">
|
|
|
<Select v-model="others.chargeMode" placeholder="请选择计费模式" @on-change="jiChange">
|
|
@@ -138,7 +156,7 @@
|
|
|
:readonly="readon"
|
|
|
:maxlength="9"
|
|
|
@on-keyup="keyupSale('2')"
|
|
|
- :disabled="finish_dis"
|
|
|
+ :disabled="finish_dis || returnDisabledStatus"
|
|
|
></Input>
|
|
|
<span class="money-unit">元</span>
|
|
|
</FormItem>
|
|
@@ -157,7 +175,7 @@
|
|
|
:readonly="readon"
|
|
|
:maxlength="9"
|
|
|
@on-keyup="keyupSale('3')"
|
|
|
- :disabled="finish_dis"
|
|
|
+ :disabled="finish_dis || returnDisabledStatus"
|
|
|
></Input>
|
|
|
<span class="money-unit">元</span>
|
|
|
</FormItem>
|
|
@@ -170,7 +188,7 @@
|
|
|
:readonly="readon"
|
|
|
:maxlength="9"
|
|
|
@on-keyup="keyupSale('4')"
|
|
|
- :disabled="finish_dis"
|
|
|
+ :disabled="finish_dis || returnDisabledStatus"
|
|
|
></Input>
|
|
|
<span class="money-unit">元</span>
|
|
|
</FormItem>
|
|
@@ -179,7 +197,7 @@
|
|
|
</FormItem>
|
|
|
<div class="flex-endbox">
|
|
|
<FormItem label="协议状态" required prop="contractStatus">
|
|
|
- <RadioGroup v-model="others.contractStatus" >
|
|
|
+ <RadioGroup v-model="others.contractStatus" @on-change="contractStatusChange">
|
|
|
<Radio v-for="item in agreeStatus" :label="item.v" :key="item.v">{{ item.n }}</Radio>
|
|
|
</RadioGroup>
|
|
|
</FormItem>
|
|
@@ -197,24 +215,7 @@
|
|
|
<Input v-model="others.contractCode" type="text" placeholder="请输入协议编号"></Input>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
- <OnlineContractForm
|
|
|
- ref="onlineContractFormRef"
|
|
|
- v-if="showOnlineContractForm"
|
|
|
- :showMore="showXieYi && showOnlineContractForm"
|
|
|
- :buySubject="others.buySubject"
|
|
|
- :orderEntName="others.companyName"
|
|
|
- :orderPhone="others.phone"
|
|
|
- :sellerName="others.salesPerson"
|
|
|
- :e_contract_type.sync="others.e_contract_type"
|
|
|
- :e_contract_userA_type.sync="others.e_contract_userA_type"
|
|
|
- :e_contract_userA_name.sync="others.e_contract_userA_name"
|
|
|
- :e_contract_userA_contacts_name.sync="others.e_contract_userA_contacts_name"
|
|
|
- :e_contract_userA_contacts_tel.sync="others.e_contract_userA_contacts_tel"
|
|
|
- :e_contract_userA_contacts_address.sync="others.e_contract_userA_contacts_address"
|
|
|
- :e_contract_userB_contacts_name.sync="others.e_contract_userB_contacts_name"
|
|
|
- :e_contract_remark.sync="others.e_contract_remark"
|
|
|
- />
|
|
|
- <div v-show="showOpenXieYi">
|
|
|
+ <div>
|
|
|
<div class="flex-endbox">
|
|
|
<FormItem label="协议归档状态" v-if="others.contractStatus == '1'">
|
|
|
<RadioGroup v-model="others.contract_archive_status" >
|
|
@@ -230,7 +231,7 @@
|
|
|
<div class="flex-endbox">
|
|
|
<FormItem label="归档份数" v-if="others.contractStatus == '1'&&others.contract_archive_status == '1'">
|
|
|
<Input v-model="others.contract_archive_num" type="tel" maxlength="4" @on-keyup="payHandler"
|
|
|
- placeholder="请输入归档份数"></Input>
|
|
|
+ placeholder="请输入归档份数"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem label="归档协议" class="chuan-pay" v-show="others.contract_archive_status == '1'">
|
|
|
<b-upload
|
|
@@ -245,12 +246,77 @@
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <OnlineContractForm
|
|
|
+ ref="onlineContractFormRef"
|
|
|
+ v-if="showOnlineContractForm"
|
|
|
+ :showMore="showOpenXieYi"
|
|
|
+ :buySubject="others.buySubject"
|
|
|
+ :orderEntName="others.companyName"
|
|
|
+ :orderPhone="others.phone"
|
|
|
+ :sellerName="others.salesPerson"
|
|
|
+ :e_contract_type.sync="others.e_contract_type"
|
|
|
+ :e_contract_userA_type.sync="others.e_contract_userA_type"
|
|
|
+ :e_contract_userA_name.sync="others.e_contract_userA_name"
|
|
|
+ :e_contract_userA_contacts_name.sync="others.e_contract_userA_contacts_name"
|
|
|
+ :e_contract_userA_contacts_tel.sync="others.e_contract_userA_contacts_tel"
|
|
|
+ :e_contract_userA_contacts_address.sync="others.e_contract_userA_contacts_address"
|
|
|
+ :e_contract_userB_contacts_name.sync="others.e_contract_userB_contacts_name"
|
|
|
+ :e_contract_remark.sync="others.e_contract_remark"
|
|
|
+ :has-disabled= "returnDisabledStatus"
|
|
|
+ :disabled-filed = "['e_contract_remark']"
|
|
|
+ />
|
|
|
+
|
|
|
<div style="display: flex;justify-content: center;" v-show="!showOpenXieYi">
|
|
|
<div @click="showXieYi = !showXieYi" style="color: #36a3f7;cursor: pointer; font-size: 14px;">
|
|
|
<span>更多信息</span>
|
|
|
<i class="el-icon-arrow-down"></i>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+ <!--回款计划start-->
|
|
|
+ <FormItem label="回款计划" class="formTitle"></FormItem>
|
|
|
+ <FormItem label="回款次数" required>
|
|
|
+ <Input v-model.trim="others.paybackNum" type="text" @on-keyup="formatWorkDayNum('paybackNum')"
|
|
|
+ :disabled="returnDisabledStatus"
|
|
|
+ style="width: 80px;margin-right:5px;"></Input>次
|
|
|
+ </FormItem>
|
|
|
+ <!--回款列表-->
|
|
|
+ <FormItem label="" v-show="others.paybackNum > 1">
|
|
|
+ <Table border :columns="paybackTable" :data="paybackTableData">
|
|
|
+ <template slot-scope="{ row }" slot="code">
|
|
|
+ <strong>{{ row.code }}</strong>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="{ row, index }" slot="time">
|
|
|
+ <strong v-if="row.code == '合计'">-</strong>
|
|
|
+ <date-sigle
|
|
|
+ :ref="'paybackTime'+index"
|
|
|
+ :dateType="'date'"
|
|
|
+ :dataV="paybackTableData[index].time"
|
|
|
+ :placeholderd="'请选择'"
|
|
|
+ :dateDis="returnDisabledStatus"
|
|
|
+ @startDate="paybackTableChange(row,index,'time',$event)"
|
|
|
+ :overTime="0" v-else></date-sigle>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="{ row, index }" slot="money">
|
|
|
+ <strong v-if="row.code == '合计'">{{ others.contractMoney || '-' }}</strong>
|
|
|
+ <Input @mousewheel.native.prevent @DOMMouseScroll.native.prevent
|
|
|
+ v-model="paybackTableData[index].money"
|
|
|
+ @on-keyup="paybackTableChange(row,index,'money')"
|
|
|
+ type="number" placeholder="请输入" :disabled="index + 1 == others.paybackNum || returnDisabledStatus" v-else></Input>
|
|
|
+ </template>
|
|
|
+ </Table>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem style="padding-left:30px;" label=" " :label-width="0" required v-show="others.paybackNum==1">
|
|
|
+ <div>
|
|
|
+ <span>{{others.contractStatus == '1' ? '自协议签订之日起': '自订单创建之日起'}}</span>
|
|
|
+ <Input v-model="others.paybackWorkDayNum" type="text" @on-keyup="formatWorkDayNum('paybackWorkDayNum')"
|
|
|
+ style="width: 80px;margin-left:10px;margin-right: 10px;"
|
|
|
+ :disabled="returnDisabledStatus"></Input>
|
|
|
+ 个工作日回款,预计回款时间:<span v-if="others.paybackExpectDate " style="color: #36a3f7">{{ others.paybackExpectDate }}</span><span v-else>-</span>
|
|
|
+ </div>
|
|
|
+ </FormItem>
|
|
|
+ <!--回款计划end-->
|
|
|
+
|
|
|
<FormItem label="业绩归属" class="formTitle">
|
|
|
</FormItem>
|
|
|
<div class="flex-endbox">
|
|
@@ -296,24 +362,18 @@
|
|
|
@levelChange="channelChange" v-if="oShow"></v-cascader>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
- <div v-show="showOrderOther">
|
|
|
+ <div>
|
|
|
<FormItem label="订单备注">
|
|
|
<Input v-model="others.remark" type="text" :maxlength="40" placeholder="请输入订单备注"></Input>
|
|
|
</FormItem>
|
|
|
- <FormItem label="订单状态" prop="order_status" v-if="returnMyOther">
|
|
|
+ <FormItem label="订单状态" prop="order_status">
|
|
|
<Select v-model="others.order_status" placeholder="请选择订单状态">
|
|
|
<Option value="0" :disabled="noFinishDis || finish_dis">未完成</Option>
|
|
|
- <Option value="1" :disabled="finishDis || finish_dis">已完成</Option>
|
|
|
+ <Option v-if="returnMyOther" value="1" :disabled="finishDis || finish_dis">已完成</Option>
|
|
|
<Option value="-2" :disabled="cancelDis || interested || finish_dis">已取消</Option>
|
|
|
</Select>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
- <div style="display: flex;justify-content: center;" v-show="!showOrderOther">
|
|
|
- <div @click="showOrderOther = !showOrderOther" style="color: #36a3f7;cursor: pointer; font-size: 14px;">
|
|
|
- <span>更多信息</span>
|
|
|
- <i class="el-icon-arrow-down"></i>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</Form>
|
|
|
</div>
|
|
|
|
|
@@ -362,6 +422,7 @@ import saleSelect from './salesSelect.vue'
|
|
|
import {dateFormatter} from '@/assets/js/date'
|
|
|
import chinaMapJSON from "@/assets/js/china_area.js";
|
|
|
import { Icon } from 'element-ui'
|
|
|
+import { debounce } from '@/helper.js'
|
|
|
|
|
|
export default {
|
|
|
name: 'EditOtherOrderModal',
|
|
@@ -417,11 +478,19 @@ export default {
|
|
|
},
|
|
|
addEventListenerVip () {
|
|
|
return this.others.productType + this.others.cycleCount + this.others.cycleUnit + this.others.vipStartTime + this.others.buySubject + this.others.buyCount + this.others.area + this.areaNums.areaCount
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 展示有效周期提示,展示条件:【产品类型为超级订阅,付费类型为续费】、【产品类型为大会员,购买主体为个人,延长服务】
|
|
|
+ showCycleTip () {
|
|
|
+ const isVipAndRenew = this.others.productType === '5' && this.others.vipType === '1'
|
|
|
+ return isVipAndRenew
|
|
|
+ },
|
|
|
+ // P504需求全部订单-编辑其他订单,全部订单、“订单审核状态”为已通过,订单状态为“未完成”时
|
|
|
+ returnDisabledStatus () {
|
|
|
+ return this.returnMyOther && this.originAuditStatus == 3 && Number(this.originOrderStatus) === 0
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
addEventListenerVip (val) {
|
|
|
- console.log(val)
|
|
|
let areaCount = 0
|
|
|
const _this = this
|
|
|
let {area, cycleCount, cycleUnit, vipStartTime, buySubject, buyCount, vipType, phone, productType} = this.others
|
|
@@ -434,21 +503,31 @@ export default {
|
|
|
} else {
|
|
|
// 大于等于16个省相当于全国,areaCount = 0
|
|
|
if(area.split(',').length >= 16) {
|
|
|
- areaCount = 0
|
|
|
+ if(productType == '5' && vipType === '2') {
|
|
|
+ areaCount = area.split(',').length
|
|
|
+ } else {
|
|
|
+ areaCount = 0
|
|
|
+ }
|
|
|
} else {
|
|
|
areaCount = area.split(',').length
|
|
|
}
|
|
|
}
|
|
|
+ if(productType == '5' && vipType === '2') {
|
|
|
+ // 本次新增的省份(全国即表示16个省份)
|
|
|
+ this.addAreaCount = areaCount === 0 ? (16 - this.areaNums.areaCount) : (areaCount - this.areaNums.areaCount)
|
|
|
+ }
|
|
|
} else {
|
|
|
if (this.areaNums.areaCount && this.areaNums.areaCount > 0) {
|
|
|
areaCount = this.areaNums.areaCount
|
|
|
} else {
|
|
|
areaCount = 0
|
|
|
}
|
|
|
+ this.addAreaCount = this.areaNums.areaCount * -1
|
|
|
}
|
|
|
if(buySubject == '1') {
|
|
|
buyCount = '1'
|
|
|
}
|
|
|
+
|
|
|
if (buySubject && buyCount && vipType && productType == '5') {
|
|
|
const url = '/order/orderPriceCount'
|
|
|
this.$request(url).data({
|
|
@@ -463,20 +542,11 @@ export default {
|
|
|
originalAreaCount: this.areaNums.areaCount,
|
|
|
phone: vipType == '2' ? phone : ''
|
|
|
}).success((resdata) => {
|
|
|
- console.log(resdata, 'resdata')
|
|
|
if(resdata.status === 'success') {
|
|
|
_this.others.orderMoney = resdata.data.price
|
|
|
}
|
|
|
}).post()
|
|
|
}
|
|
|
- },
|
|
|
- 'others.remark': {
|
|
|
- handler (val) {
|
|
|
- if(this.title === '创建订单审核' || val) {
|
|
|
- this.showOrderOther = true
|
|
|
- }
|
|
|
- },
|
|
|
- immediate: true
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
@@ -494,6 +564,8 @@ export default {
|
|
|
},
|
|
|
inited() {// 初始化
|
|
|
// this.$refs['others'].resetFields()
|
|
|
+ // 回款计划列表数据初始化
|
|
|
+ this.paybackTableData = []
|
|
|
this.$refs.uploadRef.uploadShow = false
|
|
|
this.$refs.uploadRef.payHtml = ''
|
|
|
this.noPass = false
|
|
@@ -535,7 +607,7 @@ export default {
|
|
|
if (sigs6) {
|
|
|
this.$refs.sigleRef5.initd()
|
|
|
}
|
|
|
- }, 100)
|
|
|
+ }, 200)
|
|
|
Object.keys(this.others).forEach(key => {
|
|
|
if (key == 'area') {
|
|
|
return
|
|
@@ -547,7 +619,11 @@ export default {
|
|
|
this.others[key] = '0'
|
|
|
} else if (key.startsWith('e_contract_')) {
|
|
|
this.others[key] = this.$options.data().others[key]
|
|
|
- } else {
|
|
|
+ } else if (key === 'paybackOpenServer') {
|
|
|
+ this.others.paybackOpenServer = false
|
|
|
+ } else if (key==='paybackNum') {
|
|
|
+ this.others.paybackNum = 1
|
|
|
+ } {
|
|
|
this.others[key] = ''
|
|
|
}
|
|
|
})
|
|
@@ -557,6 +633,8 @@ export default {
|
|
|
this.others.orderMoney = this.conHandler(this.others.orderMoney)
|
|
|
} else if (val === '2') {
|
|
|
this.others.contractMoney = this.conHandler(this.others.contractMoney)
|
|
|
+ // 多次回款回款计划列表数据
|
|
|
+ this.formatWorkDayNum('contractMoney')
|
|
|
} else if (val === '3') {
|
|
|
this.others.commission = this.conHandler(this.others.commission)
|
|
|
} else if (val === '4') {
|
|
@@ -608,7 +686,7 @@ export default {
|
|
|
const findItem = (arr) => {
|
|
|
for (let i = 0; i < arr.length; i++) {
|
|
|
if (arrayB.includes(arr[i].value)) {
|
|
|
- result.push(arr[i].value)
|
|
|
+ result.push(arr[i].value)
|
|
|
}
|
|
|
if (arr[i].children) {
|
|
|
let arra = arr[i].children
|
|
@@ -678,7 +756,7 @@ export default {
|
|
|
this.checkVip(1)
|
|
|
},
|
|
|
buyHandler() { //过滤字母
|
|
|
- this.others.buyCount=this.member.buyCount.replace(/[^\d]+/g,'')
|
|
|
+ this.others.buyCount=this.others.buyCount.replace(/[^\d]+/g,'')
|
|
|
},
|
|
|
timeReg(val) {
|
|
|
return new Date(val + ' 00:00:00').getTime() / 1000
|
|
@@ -708,7 +786,8 @@ export default {
|
|
|
reged() {
|
|
|
this.$request('/order/vipInfo').data({// 验证手机号权限
|
|
|
phone: this.others.phone,
|
|
|
- buySubject:this.others.buySubject
|
|
|
+ buySubject:this.others.buySubject,
|
|
|
+ entName: this.others.buySubject === '2' ? this.others.companyName : ''
|
|
|
}).success((res) => {
|
|
|
this.phoneReg = res.data
|
|
|
}).post()
|
|
@@ -719,7 +798,8 @@ export default {
|
|
|
this.$request('/order/vipInfo').data({// 验证手机号权限
|
|
|
phone: this.others.phone,
|
|
|
orderCode: this.others.orderCode,
|
|
|
- buySubject:this.others.buySubject
|
|
|
+ buySubject:this.others.buySubject,
|
|
|
+ entName: this.others.buySubject === '2' ? this.others.companyName : ''
|
|
|
}).success((res) => {
|
|
|
if (res.data) {
|
|
|
this.infoData = res.data
|
|
@@ -729,6 +809,9 @@ export default {
|
|
|
}
|
|
|
if (res.data.userData) {
|
|
|
this.areaNums = res.data.userData
|
|
|
+ // 服务到期时间
|
|
|
+ const l_vip_endtime = res.data.userData?.l_vip_endtime
|
|
|
+ this.serviceEndTime = l_vip_endtime ? dateFormatter(new Date(l_vip_endtime * 1000), 'yyyy-MM-dd') : ''
|
|
|
}
|
|
|
if (res.data.willEffect == true && !this.readonly) { // 存在即将生效的超级订阅订单
|
|
|
if(this.others.buySubject!='2'){ //个人走原逻辑
|
|
@@ -894,6 +977,17 @@ export default {
|
|
|
},
|
|
|
agreeDate(val) {
|
|
|
this.others.contractTime = val
|
|
|
+ // 预计回款日期变更
|
|
|
+ this.workDayNumChange()
|
|
|
+ },
|
|
|
+ // 协议状态变更
|
|
|
+ contractStatusChange (val) {
|
|
|
+ if(val === '1' && !this.others.contractTime) {
|
|
|
+ this.others.contractTime = dateFormatter(new Date(), 'yyyy-MM-dd')
|
|
|
+ this.$refs.sigleRef2.dataVals = new Date(this.others.contractTime)
|
|
|
+ }
|
|
|
+ // 预计回款日期变更
|
|
|
+ this.workDayNumChange()
|
|
|
},
|
|
|
startsData(val) {
|
|
|
this.others.startTime = val
|
|
@@ -1038,6 +1132,14 @@ export default {
|
|
|
this.$Notice.warning({title: '请选择协议状态'})
|
|
|
return
|
|
|
}
|
|
|
+ if(this.others.paybackNum === 1 && (this.others.paybackWorkDayNum === '' || this.others.paybackWorkDayNum === null)) {
|
|
|
+ this.$Notice.warning({title: '请输入回款计划工作日'})
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(this.others.paybackNum > 1 && !this.paybackTableData.every(item => item.time && item.money)){
|
|
|
+ this.$Notice.warning({ title: '请填写完整回款计划' })
|
|
|
+ return
|
|
|
+ }
|
|
|
// if (this.others.productType == '3') {
|
|
|
// if (!this.others.personNum) {
|
|
|
// this.$Notice.warning({title: '购买人数不能为空'})
|
|
@@ -1148,6 +1250,8 @@ export default {
|
|
|
})
|
|
|
let saleName = saleNameArr.join(',')
|
|
|
let saleId = saleIdArr.join(',')
|
|
|
+ // 多次回款计划列表数据
|
|
|
+ this.others.paybackList = this.paybackTableData
|
|
|
let obj = {
|
|
|
orderCode: this.others.orderCode,
|
|
|
createTime: this.others.createTime,
|
|
@@ -1203,6 +1307,11 @@ export default {
|
|
|
e_contract_userA_contacts_address: this.others.e_contract_userA_contacts_address, // 协议甲方联系地址
|
|
|
e_contract_userB_contacts_name: this.others.e_contract_userB_contacts_name, // 协议乙方联系人
|
|
|
e_contract_remark: this.others.e_contract_remark, // 协议备注
|
|
|
+ paybackWorkDayNum: this.others.paybackNum == 1 ? this.others.paybackWorkDayNum : '', //回款计划工作日
|
|
|
+ paybackExpectDate: this.others.paybackNum == 1 ? this.others.paybackExpectDate : '', //预计回款的时间
|
|
|
+ paybackNum: this.others.paybackNum, // 回款次数
|
|
|
+ paybackList:this.others.paybackNum > 1 ? JSON.stringify(this.others.paybackList) : '', // 回款列表
|
|
|
+ paybackOpenServer: this.others.paybackOpenServer // 全额回款后开通服务
|
|
|
}
|
|
|
this.isDisable = true
|
|
|
var submitUrl = ''
|
|
@@ -1246,6 +1355,12 @@ export default {
|
|
|
this.typeRestriction = true
|
|
|
const {contractRes, filterData, refundRes, res, returnInfo, returnRes, audit} = data
|
|
|
setTimeout(() => {
|
|
|
+ // 已提交订单一些数据
|
|
|
+ // 已提交过的原订单状态 res.orderStatus
|
|
|
+ this.originOrderStatus = res.orderStatus
|
|
|
+ // 原订单审核状态 audit_status == 3 已通过
|
|
|
+ this.originAuditStatus = res.audit_status
|
|
|
+
|
|
|
this.orderCode = res.order_code
|
|
|
if (this.$refs.othersReviewRecord) {
|
|
|
this.$refs.othersReviewRecord.recordList = audit
|
|
@@ -1286,7 +1401,9 @@ export default {
|
|
|
|
|
|
//vip开始时间
|
|
|
setTimeout(() => {
|
|
|
- this.$refs.sigleRef1.dataVals = res.vip_starttime
|
|
|
+ if(this.$refs.sigleRef1) {
|
|
|
+ this.$refs.sigleRef1.dataVals = res.vip_starttime
|
|
|
+ }
|
|
|
if (res.vip_starttime == '2099-01-01 00:00:00') {
|
|
|
this.noPass = true
|
|
|
} else {
|
|
@@ -1297,7 +1414,7 @@ export default {
|
|
|
} else {
|
|
|
this.noPass1 = false
|
|
|
}
|
|
|
- }, 200)
|
|
|
+ }, 100)
|
|
|
|
|
|
//协议签订时间
|
|
|
if (contractRes.contract_status == 1 && contractRes.contract_time) {
|
|
@@ -1378,11 +1495,12 @@ export default {
|
|
|
|
|
|
if(res.orderStatus == 1){//回显订单已完成禁用购买主体
|
|
|
this.finish_dis=true
|
|
|
- this.$refs.dateRef.isDis = true
|
|
|
+ if(this.$refs.dateRef ) {
|
|
|
+ this.$refs.dateRef.isDis = true
|
|
|
+ }
|
|
|
}else{
|
|
|
this.finish_dis=false
|
|
|
}
|
|
|
-
|
|
|
this.others = {
|
|
|
orderCode: res.order_code,
|
|
|
id: res.id,
|
|
@@ -1429,8 +1547,8 @@ export default {
|
|
|
username: res.salesperson
|
|
|
}), //
|
|
|
// salesPersonId: res.salesperson_id //
|
|
|
- payType: res.payTypes,
|
|
|
- saleCodeModel: res.saleDep,
|
|
|
+ payType: res.payTypes,
|
|
|
+ saleCodeModel: typeof res.saleDep === 'string' ? [res.saleDep] : res.saleDep,
|
|
|
// 电子协议相关
|
|
|
e_contract_type: contractRes.seal_type || 1, // 电子协议类型
|
|
|
e_contract_userA_type: contractRes.partyA_type || 1, // 协议甲方类型
|
|
@@ -1440,18 +1558,33 @@ export default {
|
|
|
e_contract_userA_contacts_address: contractRes.partyA_address, // 协议甲方联系地址
|
|
|
e_contract_userB_contacts_name: contractRes.partyB_person, // 协议乙方联系人
|
|
|
e_contract_remark: contractRes.remark, // 协议备注
|
|
|
+ paybackWorkDayNum: filterData.paybackWorkDayNum, //回款计划工作日
|
|
|
+ paybackExpectDate: filterData.paybackExpectDate, //预计回款的时间
|
|
|
+ paybackOpenServer: filterData.paybackOpenServer, // 全额回款后开通服务
|
|
|
+ paybackNum: filterData.paybackNum ? filterData.paybackNum : 1, // 回款次数
|
|
|
+ paybackList: filterData.paybackList ? JSON.parse(filterData.paybackList) : [], //多次回款, 回款计划表格
|
|
|
+ }
|
|
|
+ // 回款计划列表回显
|
|
|
+ this.paybackTableData = filterData.paybackList ? JSON.parse(filterData.paybackList) : []
|
|
|
+ if(this.paybackTableData.length > 0){
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.paybackTableData.forEach((ele,index)=>{
|
|
|
+ if(index < this.paybackTableData.length - 1 ){
|
|
|
+ this.$refs['paybackTime'+index].dataVals = ele.time
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
this.startDate1(res.vip_starttime)
|
|
|
}, 200);
|
|
|
- if (productType == "5") {
|
|
|
+ if (productType == "5" && !this.readonly) {
|
|
|
this.checkVip(1)
|
|
|
}
|
|
|
if(this.others.buySubject=='2'){ //购买主体为企业 禁用 产品类型和付费类型
|
|
|
this.isEnterprise=true
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
this.oShow = true
|
|
|
},
|
|
|
formatDate(dateString) {
|
|
@@ -1487,7 +1620,157 @@ export default {
|
|
|
this.cancel = false
|
|
|
},500)
|
|
|
}).post()
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 小数过滤成整数处理
|
|
|
+ filterNonPositiveIntegers(str) {
|
|
|
+ let strs = str + ""
|
|
|
+ let num = strs.replace(/-\d+|[^\d\s,]+/g, '')
|
|
|
+ if (num && num >= 0) {
|
|
|
+ return Number(num)
|
|
|
+ } else {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 格式化回款工作日、回款次数。处理回款计划数据
|
|
|
+ formatWorkDayNum (val) {
|
|
|
+ if (val === 'paybackWorkDayNum') {
|
|
|
+ this.others.paybackWorkDayNum = this.filterNonPositiveIntegers(this.others.paybackWorkDayNum)
|
|
|
+ this.workDayNumChange()
|
|
|
+ } else if (val === 'paybackNum' || val === 'contractMoney') {
|
|
|
+ this.others.paybackNum = this.paybackNumReg(this.others.paybackNum)
|
|
|
+ if(this.others.paybackNum > 1){
|
|
|
+ let num = this.others.paybackNum
|
|
|
+ let arr = []
|
|
|
+ for (let i = 0; i <= num; i++) {
|
|
|
+ if(i == num){
|
|
|
+ arr.push({code:'合计',time:'-',money:this.others.contractMoney})
|
|
|
+ }else{
|
|
|
+ arr.push({code:i + 1,time:'',money:''})
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.paybackTableData = arr
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.paybackTableData.forEach((ele,index)=>{
|
|
|
+ if(index < this.paybackTableData.length - 1 ){
|
|
|
+ this.$refs['paybackTime'+index].initd()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ // 切换一次重置数值
|
|
|
+ this.others.paybackWorkDayNum = ''
|
|
|
+ this.others.paybackExpectDate = ''
|
|
|
+ this.paybackTableData = []
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ paybackTableChange (row,index,type,e) { // 回款计划表格 change
|
|
|
+ if(type == 'money'){
|
|
|
+ // 回款金额未录入时
|
|
|
+ if (!this.others.contractMoney) {
|
|
|
+ this.$Notice.warning({ title: '请先输入合同金额' })
|
|
|
+ this.paybackTableData[index].money = ''
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(this.paybackmoneyReg(this.paybackTableData[index].money)){
|
|
|
+ let money_ = this.paybackmoneyReg(this.paybackTableData[index].money)
|
|
|
+ this.paybackTableData[index].money = Number(money_).fixed(2)
|
|
|
+ }else{
|
|
|
+ this.paybackTableData[index].money =''
|
|
|
+ }
|
|
|
+ let num = 0
|
|
|
+ this.paybackTableData.forEach((ele,index)=>{
|
|
|
+ if(index < this.paybackTableData.length - 2 ){
|
|
|
+ num += Number(ele.money)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if(num && this.others.contractMoney){
|
|
|
+ if(Number(this.others.contractMoney ) - Number(num) > 0){
|
|
|
+ this.paybackTableData[this.others.paybackNum -1].money = (Number(this.others.contractMoney ) - Number(num)).fixed(2)
|
|
|
+ }else{
|
|
|
+ this.$Notice.warning({ title: '需小于合同金额' })
|
|
|
+ this.paybackTableData[index].money= ''
|
|
|
+ }
|
|
|
+ this.paybackTableData.forEach((ele)=>{
|
|
|
+ if(ele.code == '合计' ){
|
|
|
+ ele.money = Number(this.others.contractMoney)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.paybackTableData[this.others.paybackNum -1].money = ''
|
|
|
+ }
|
|
|
+ }else if(type == 'time'){
|
|
|
+ if(e){
|
|
|
+ this.paybackTableData[index].time = e
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 回款金额校验
|
|
|
+ paybackmoneyReg(val){
|
|
|
+ if (val){
|
|
|
+ let str = this.moneyReg(val + "")
|
|
|
+ if(str === 0 && str !== ''){
|
|
|
+ this.$Notice.warning({ title: '不可为0' })
|
|
|
+ str = ''
|
|
|
+ }else if (Number(str) >= Number(this.others.contractMoney)){
|
|
|
+ this.$Notice.warning({ title: '需小于合同金额' })
|
|
|
+ str = ''
|
|
|
+ }
|
|
|
+ return str
|
|
|
+ } else {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 回款次数校验
|
|
|
+ paybackNumReg (val) {
|
|
|
+ let str = val.toString().replace(/-\d+|[^\d\s,]+/g, '')
|
|
|
+ if (str !== "" && str < 1) {
|
|
|
+ this.$Notice.warning({ title: '最小值为1' })
|
|
|
+ str = 1
|
|
|
+ }else if (str > 5){
|
|
|
+ this.$Notice.warning({ title: '最大值为5' })
|
|
|
+ str = 5
|
|
|
+ }
|
|
|
+ if (str && str > 0) {
|
|
|
+ return Number(str)
|
|
|
+ } else {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ moneyReg(val) {
|
|
|
+ return val.replace(/[^\d^\.]+/g, '').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.')
|
|
|
+ },
|
|
|
+ // 回款计划,工作日变更
|
|
|
+ workDayNumChange: debounce(function (){
|
|
|
+ this.others.paybackExpectDate = ''
|
|
|
+ // 回款工作日为0
|
|
|
+ if (this.others.paybackWorkDayNum === 0) {
|
|
|
+ if (this.others.contractStatus == '1') {
|
|
|
+ this.others.paybackExpectDate = dateFormatter(this.others.contractTime, 'yyyy-MM-dd')
|
|
|
+ }else{
|
|
|
+ this.others.paybackExpectDate = dateFormatter(new Date(), 'yyyy-MM-dd')
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ let start = ''
|
|
|
+ if (this.others.contractStatus ==='1') { //签协议
|
|
|
+ start = dateFormatter(this.others.contractTime, 'yyyy-MM-dd')
|
|
|
+ } else {//不签协议
|
|
|
+ start = dateFormatter(new Date(), 'yyyy-MM-dd')
|
|
|
+ }
|
|
|
+ if (!this.others.paybackWorkDayNum || !start) {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ const params = {
|
|
|
+ startDay: start,
|
|
|
+ workDayNum: Number(this.others.paybackWorkDayNum)
|
|
|
+ }
|
|
|
+ this.$request('getWorkDay').contentType('application/json').data(params).success((res) => {
|
|
|
+ if (res.data) {
|
|
|
+ this.others.paybackExpectDate = res.data
|
|
|
+ }
|
|
|
+ }).post('rewritePath')
|
|
|
+ }
|
|
|
+ }, 200)
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -1503,6 +1786,23 @@ export default {
|
|
|
slot: 'money'
|
|
|
}
|
|
|
],
|
|
|
+ // 回款计划表格列
|
|
|
+ paybackTable:[
|
|
|
+ {
|
|
|
+ title: '序号',
|
|
|
+ slot: 'code'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '预计回款时间',
|
|
|
+ slot: 'time'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '预计回款金额(元)',
|
|
|
+ slot: 'money'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ // 多次回款计划表格数据
|
|
|
+ paybackTableData:[],
|
|
|
saleTableData: [],
|
|
|
isEnterprise:false,
|
|
|
radio_dis:false,
|
|
@@ -1578,6 +1878,9 @@ export default {
|
|
|
e_contract_userA_contacts_address: '', // 协议甲方联系地址
|
|
|
e_contract_userB_contacts_name: '', // 协议乙方联系人
|
|
|
e_contract_remark: '', // 协议备注
|
|
|
+ paybackWorkDayNum: '', //回款计划工作日
|
|
|
+ paybackExpectDate: '', //预计回款的时间
|
|
|
+ paybackOpenServer: false // 全额回款后开通服务
|
|
|
},
|
|
|
ruleValidate: {
|
|
|
phone: [{required: true}],
|
|
@@ -1656,12 +1959,44 @@ export default {
|
|
|
reason: ""
|
|
|
},
|
|
|
showXieYi: false,
|
|
|
- showOrderOther: false
|
|
|
+ // 本次新增的areaCount
|
|
|
+ addAreaCount: 0,
|
|
|
+ // 已提交过的原订单状态
|
|
|
+ originOrderStatus: 0,
|
|
|
+ // 原订单审核状态
|
|
|
+ originAuditStatus: 0,
|
|
|
+ // 超级订阅升级-服务到期时间
|
|
|
+ serviceEndTime: dateFormatter(new Date(), 'yyyy-MM-dd')
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-
|
|
|
+<style lang="scss" scoped>
|
|
|
+.cycle-tip {
|
|
|
+ color:#f00;
|
|
|
+ font-size:12px;
|
|
|
+ margin-top:8px;
|
|
|
+ margin-left:5px;
|
|
|
+}
|
|
|
+::v-deep {
|
|
|
+ .ivu-input-number-handler-wrap{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .service-date-picker{
|
|
|
+ .lines2{
|
|
|
+ margin: 0 5px;
|
|
|
+ }
|
|
|
+ .ivu-date-picker{
|
|
|
+ margin-right:0 !important;
|
|
|
+ width:154px !important;
|
|
|
+ }
|
|
|
+ .ivu-input {
|
|
|
+ width:154px !important;
|
|
|
+ font-size:12px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|
|
|
<style lang="scss">
|
|
|
.disabled-modal {
|
|
|
|