|
@@ -1,3 +1,4 @@
|
|
|
|
|
+
|
|
|
<template>
|
|
<template>
|
|
|
<div class="app-container">
|
|
<div class="app-container">
|
|
|
<el-form :model="form" :rules="rules" ref="form" label-width="100px" label-position="right" size="mini">
|
|
<el-form :model="form" :rules="rules" ref="form" label-width="100px" label-position="right" size="mini">
|
|
@@ -7,24 +8,20 @@
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
<el-button type="primary" size="mini" @click="editOrder(1)" :disabled="clickLoading">修改保存</el-button>
|
|
<el-button type="primary" size="mini" @click="editOrder(1)" :disabled="clickLoading">修改保存</el-button>
|
|
|
- <el-button type="green" size="mini" @click="editOrder(2)" :disabled="clickLoading">修改并提交</el-button>
|
|
|
|
|
</template>
|
|
</template>
|
|
|
<el-select
|
|
<el-select
|
|
|
size="mini"
|
|
size="mini"
|
|
|
v-model="form.orderState"
|
|
v-model="form.orderState"
|
|
|
placeholder="请选择订单状态">
|
|
placeholder="请选择订单状态">
|
|
|
<el-option
|
|
<el-option
|
|
|
- key="0"
|
|
|
|
|
label="待审核"
|
|
label="待审核"
|
|
|
value="0">
|
|
value="0">
|
|
|
</el-option>
|
|
</el-option>
|
|
|
<el-option
|
|
<el-option
|
|
|
- key="1"
|
|
|
|
|
label="已审核"
|
|
label="已审核"
|
|
|
value="1">
|
|
value="1">
|
|
|
</el-option>
|
|
</el-option>
|
|
|
<el-option
|
|
<el-option
|
|
|
- key="2"
|
|
|
|
|
label="已作废"
|
|
label="已作废"
|
|
|
value="2">
|
|
value="2">
|
|
|
</el-option>
|
|
</el-option>
|
|
@@ -328,27 +325,24 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
+
|
|
|
|
|
+ <el-dialog :title="innerTitle" :append-to-body="true" :visible.sync="createInnerVisible">
|
|
|
|
|
+ <clientInfo v-if="innerType == 2" :is-choose="true" @chooseClient='chooseClient'></clientInfo>
|
|
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import {
|
|
import {
|
|
|
- getDetailPrintOrder, getWorkProcessList,
|
|
|
|
|
- getProductDetailInfo, getAddressInfo,
|
|
|
|
|
- addPrintOrder, addAndCommitPrintOrder, updatePrintOrder, editAndCommitPrintOrder,
|
|
|
|
|
- calcOrderSendDate, parseAddress,
|
|
|
|
|
- reprintCommitOrder, reprintOrder, getClientBalanceMoneyWeb, orderFormToken
|
|
|
|
|
|
|
+ addPrintOrder, updatePrintOrder,
|
|
|
|
|
+ reprintOrder, orderFormToken,
|
|
|
|
|
+ getPrintOrderInfo
|
|
|
} from '@/api/order/orderDetail.js'
|
|
} from '@/api/order/orderDetail.js'
|
|
|
-import basePaperInfo from '@/views/baseInfo/paper/basePaperInfo'
|
|
|
|
|
-import accessoriesInfo from '@/views/baseInfo/accessories/accessoriesInfo'
|
|
|
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
|
import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
|
|
import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
|
|
|
import { getDictTypeInfo } from '@/api/productFile/partWorkProcessInfo'
|
|
import { getDictTypeInfo } from '@/api/productFile/partWorkProcessInfo'
|
|
|
import Addressdny from '@/components/Dialog/Addressdny'
|
|
import Addressdny from '@/components/Dialog/Addressdny'
|
|
|
-import PaperQuote from '@/views/baseInfo/paperQuote/paperQuote'
|
|
|
|
|
import { checkCompleteDispatchOrder } from '@/api/order/tobeReviewed'
|
|
import { checkCompleteDispatchOrder } from '@/api/order/tobeReviewed'
|
|
|
-import SelectAccessories from '@/views/select/accessoriesInfo';
|
|
|
|
|
-import { getWorkProcess } from '@/api/productFile/workProcessInfo';
|
|
|
|
|
import DeliveryNotice from '@/components/deliveryNotice/deliveryNotice';
|
|
import DeliveryNotice from '@/components/deliveryNotice/deliveryNotice';
|
|
|
import clientInfo from '@/views/doc/client/clientList'
|
|
import clientInfo from '@/views/doc/client/clientList'
|
|
|
|
|
|
|
@@ -392,31 +386,10 @@ const form = {
|
|
|
versionCode: ''
|
|
versionCode: ''
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const sendAddressInfo = {
|
|
|
|
|
- linkMan: '', // 联系人
|
|
|
|
|
- linkPhone: '', // 联系电话
|
|
|
|
|
- sendProvince: '', // 发货地址省
|
|
|
|
|
- sendCity: '', // 发货地址市
|
|
|
|
|
- sendDistrict: '', // 发货地址区
|
|
|
|
|
- sendAddress: '', // 详细地址
|
|
|
|
|
- sendKind: '', // 发货方式
|
|
|
|
|
- sendRegion: '', // 发货区域
|
|
|
|
|
- addressQty: '', // 发货数量
|
|
|
|
|
- sendType: false
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-const packrequire = {
|
|
|
|
|
- packNum: 0,
|
|
|
|
|
- countNum: 0
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
- DeliveryNotice,
|
|
|
|
|
- SelectAccessories,
|
|
|
|
|
- PaperQuote,
|
|
|
|
|
Addressdny,
|
|
Addressdny,
|
|
|
- Pagination, basePaperInfo, accessoriesInfo, clientInfo
|
|
|
|
|
|
|
+ Pagination, clientInfo
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
isEdit: {
|
|
isEdit: {
|
|
@@ -517,43 +490,6 @@ export default {
|
|
|
|
|
|
|
|
name: '',
|
|
name: '',
|
|
|
// activeNames: ['0_1', '0_2'],
|
|
// activeNames: ['0_1', '0_2'],
|
|
|
-
|
|
|
|
|
- // 部件
|
|
|
|
|
- partList: [],
|
|
|
|
|
-
|
|
|
|
|
- // 付款方式
|
|
|
|
|
- payType: [
|
|
|
|
|
- {
|
|
|
|
|
- id: 0,
|
|
|
|
|
- name: '现金收款',
|
|
|
|
|
- value: '0',
|
|
|
|
|
- guarantee: ''
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: 1,
|
|
|
|
|
- name: '物流代收',
|
|
|
|
|
- value: '0',
|
|
|
|
|
- guarantee: ''
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: 2,
|
|
|
|
|
- name: '担保人',
|
|
|
|
|
- value: '0',
|
|
|
|
|
- guarantee: ''
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: 3,
|
|
|
|
|
- name: '预存',
|
|
|
|
|
- value: '0',
|
|
|
|
|
- guarantee: ''
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- id: 4,
|
|
|
|
|
- name: '预收款',
|
|
|
|
|
- value: '0',
|
|
|
|
|
- guarantee: ''
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
sums: '',
|
|
sums: '',
|
|
|
|
|
|
|
|
// 时间选项快捷方式
|
|
// 时间选项快捷方式
|
|
@@ -577,26 +513,8 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- //解析地址
|
|
|
|
|
- parseAddress: '',
|
|
|
|
|
-
|
|
|
|
|
- // 表格页码
|
|
|
|
|
- listData: {
|
|
|
|
|
- total: 0,
|
|
|
|
|
- page: 1,
|
|
|
|
|
- pageSize: 10
|
|
|
|
|
- },
|
|
|
|
|
- processListData: {
|
|
|
|
|
- total: 0,
|
|
|
|
|
- page: 1,
|
|
|
|
|
- pageSize: 10
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
addressType: 1,
|
|
addressType: 1,
|
|
|
- // 发货信息
|
|
|
|
|
- sendAddressList: [
|
|
|
|
|
- Object.assign({}, sendAddressInfo)
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+
|
|
|
// 省市区选项
|
|
// 省市区选项
|
|
|
addressOption: [],
|
|
addressOption: [],
|
|
|
// 发货方式
|
|
// 发货方式
|
|
@@ -607,15 +525,6 @@ export default {
|
|
|
selectedOptions: '',
|
|
selectedOptions: '',
|
|
|
addressVisible: false,
|
|
addressVisible: false,
|
|
|
|
|
|
|
|
- // 面数选项
|
|
|
|
|
- obvRevIdOptions: [{
|
|
|
|
|
- value: 1,
|
|
|
|
|
- label: '正面'
|
|
|
|
|
- }, {
|
|
|
|
|
- value: 2,
|
|
|
|
|
- label: '反面'
|
|
|
|
|
- }],
|
|
|
|
|
-
|
|
|
|
|
/* 新建订单*/
|
|
/* 新建订单*/
|
|
|
// 部件信息
|
|
// 部件信息
|
|
|
productInfo: [], // 产品信息
|
|
productInfo: [], // 产品信息
|
|
@@ -666,9 +575,7 @@ export default {
|
|
|
this.orderCategory = this.$route.query.orderCategory
|
|
this.orderCategory = this.$route.query.orderCategory
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
- this.baseInfo = this.$route.params.info
|
|
|
|
|
// console.log(this.$route.params.info);
|
|
// console.log(this.$route.params.info);
|
|
|
- // this.orderCategory = this.$route.params.orderCategory
|
|
|
|
|
this.tempRoute = Object.assign({}, this.$route)
|
|
this.tempRoute = Object.assign({}, this.$route)
|
|
|
this.init()
|
|
this.init()
|
|
|
if (this.orderCategory != 1) {
|
|
if (this.orderCategory != 1) {
|
|
@@ -695,8 +602,8 @@ export default {
|
|
|
chooseClient(data) {
|
|
chooseClient(data) {
|
|
|
this.createInnerVisible = false
|
|
this.createInnerVisible = false
|
|
|
// console.log(data);
|
|
// console.log(data);
|
|
|
- this.createInfo.clientName = data.clientName
|
|
|
|
|
- this.createInfo.idClient = data.id
|
|
|
|
|
|
|
+ this.form.clientName = data.clientName
|
|
|
|
|
+ this.form.idClient = data.id
|
|
|
},
|
|
},
|
|
|
chooseClientByPay(data) {
|
|
chooseClientByPay(data) {
|
|
|
this.createInnerVisible = false
|
|
this.createInnerVisible = false
|
|
@@ -778,137 +685,20 @@ export default {
|
|
|
if (_that.idOrder <= 0) {
|
|
if (_that.idOrder <= 0) {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
- var dataParms = {
|
|
|
|
|
|
|
+ var dataParams = {
|
|
|
'idOrder': _that.idOrder
|
|
'idOrder': _that.idOrder
|
|
|
}
|
|
}
|
|
|
- getDetailPrintOrder(dataParms).then(response => {
|
|
|
|
|
|
|
+ getPrintOrderInfo(dataParams).then(response => {
|
|
|
// console.log('order', response)
|
|
// console.log('order', response)
|
|
|
var data = response.data
|
|
var data = response.data
|
|
|
- if (data.originFileLink) {
|
|
|
|
|
- _that.hasFile = true
|
|
|
|
|
- } else {
|
|
|
|
|
- _that.hasFile = false
|
|
|
|
|
- }
|
|
|
|
|
- _that.form = {
|
|
|
|
|
- /* 订单信息*/
|
|
|
|
|
- businessKind: data.businessKind,
|
|
|
|
|
- fileDescription: data.fileDescription,
|
|
|
|
|
- originFileLink: data.originFileLink,
|
|
|
|
|
- orderState: data.orderState,
|
|
|
|
|
- versionCode: _that.versionCode,
|
|
|
|
|
- stateMemo: data.stateMemo,
|
|
|
|
|
- orderStatePrePay: data.orderStatePrePay,
|
|
|
|
|
- voidFlag: data.voidFlag,
|
|
|
|
|
- orderName: data.orderName, // 订单名称
|
|
|
|
|
- orderCode: data.orderCode,
|
|
|
|
|
- idProduct: data.idProduct, // 产品ID
|
|
|
|
|
- idClient: data.idClient, // 客户id
|
|
|
|
|
- clientName: data.clientName, // 客户名称
|
|
|
|
|
- productName: data.productName, // 产品类型
|
|
|
|
|
- productSize: data.productSize, // 产品规格
|
|
|
|
|
- orderQty: data.orderQty, // 订单印量
|
|
|
|
|
- kindCount: data.kindCount, // 款数
|
|
|
|
|
- printRequire: data.printRequire, // 印刷要求
|
|
|
|
|
- cutKind: (data.cutKind).toString(), // 成品裁切
|
|
|
|
|
- packKind: data.packKind,
|
|
|
|
|
- boxRequire: data.boxRequire,
|
|
|
|
|
- orderMemo: data.orderMemo, // 订单备注
|
|
|
|
|
- orderType: data.orderType, // 订单类型
|
|
|
|
|
- sendMemo: data.sendMemo, // 发货备注
|
|
|
|
|
- deliverDate: '', // 交货日期
|
|
|
|
|
- deliverTime: '', // 交货时间
|
|
|
|
|
- /* 发货信息*/
|
|
|
|
|
- sendAddressList: data.sendAddressList,
|
|
|
|
|
- /* 价格信息*/
|
|
|
|
|
- orderMoneyTotal: data.orderMoneyTotal, // 总金额
|
|
|
|
|
- orderPrice: data.orderPrice, // 订单价格
|
|
|
|
|
- orderMoneyPre: data.orderMoneyPre, // 订单定金
|
|
|
|
|
- orderMoneyPrint: data.orderMoneyPrint, // 印工金额
|
|
|
|
|
- orderMoneyProcess: data.orderMoneyProcess, // 后工金额
|
|
|
|
|
- orderMoneySend: data.orderMoneySend, // 订单运费
|
|
|
|
|
- payKind: data.payKind, // 付款方式
|
|
|
|
|
- paperRequireFlag: data.paperRequireFlag,
|
|
|
|
|
- traceFlag: data.traceFlag,
|
|
|
|
|
- usePreStore: data.usePreStore,
|
|
|
|
|
-
|
|
|
|
|
- //补印信息
|
|
|
|
|
- needImageProcess: data.needImageProcess,
|
|
|
|
|
- rePrintIndex: data.rePrintIndex,
|
|
|
|
|
-
|
|
|
|
|
- // 部件信息
|
|
|
|
|
- partList: [],
|
|
|
|
|
- deliverInformList: data.deliverInformList
|
|
|
|
|
- }
|
|
|
|
|
- if (data.deliverDate) {
|
|
|
|
|
- _that.form.deliverDate = data.deliverDate.slice(0, 10); // 交货日期
|
|
|
|
|
- _that.form.deliverTime = data.deliverDate.slice(11, 19); // 交货日期
|
|
|
|
|
- }
|
|
|
|
|
- if (_that.editType == 2) {
|
|
|
|
|
- _that.form.usePreStore = 0
|
|
|
|
|
- }
|
|
|
|
|
- if (data.packRequire) {
|
|
|
|
|
- var packrequire = data.packRequire.split('+')
|
|
|
|
|
- // console.log(packrequire);
|
|
|
|
|
- var packrequireList = []
|
|
|
|
|
- packrequire.forEach(item => {
|
|
|
|
|
- var packrequireItem = {
|
|
|
|
|
- packNum: item.split('*')[0],
|
|
|
|
|
- countNum: item.split('*')[1]
|
|
|
|
|
- }
|
|
|
|
|
- packrequireList.push(packrequireItem)
|
|
|
|
|
- })
|
|
|
|
|
- _that.packrequireList = packrequireList
|
|
|
|
|
- }
|
|
|
|
|
- _that.partListNew = data.partList
|
|
|
|
|
- _that.sendAddressList = data.sendAddressList;
|
|
|
|
|
- (data.sendAddressList).forEach(address => {
|
|
|
|
|
- var addressOption = []
|
|
|
|
|
- // if (address.sendProvince) {
|
|
|
|
|
- // addressOption.push(TextToCode[address.sendProvince].code)
|
|
|
|
|
- // }
|
|
|
|
|
- // if (address.sendCity) {
|
|
|
|
|
- // addressOption.push(TextToCode[address.sendProvince][address.sendCity].code)
|
|
|
|
|
- // }
|
|
|
|
|
- // if (address.sendDistrict) {
|
|
|
|
|
- // addressOption.push(TextToCode[address.sendProvince][address.sendCity][address.sendDistrict].code)
|
|
|
|
|
- // }
|
|
|
|
|
- _that.addressOption.push(addressOption)
|
|
|
|
|
- })
|
|
|
|
|
- data.partList.forEach(item => {
|
|
|
|
|
- _that.partProcessList.push(item.processList)
|
|
|
|
|
- })
|
|
|
|
|
- if (data.printRequire != '' && data.printRequire != null) {
|
|
|
|
|
- _that.printRequireOption = data.printRequire.split(',')
|
|
|
|
|
- }
|
|
|
|
|
- _that.getProductInfobyEdit()
|
|
|
|
|
- // 付款方式
|
|
|
|
|
- if (data.payKind) {
|
|
|
|
|
- var paykindString = data.payKind
|
|
|
|
|
- var paykindList = paykindString.split('+');
|
|
|
|
|
- paykindList.forEach(item => {
|
|
|
|
|
- var itemList = item.split(':')
|
|
|
|
|
- _that.payType[itemList[0]].value = itemList[2]
|
|
|
|
|
- // if (itemList[0] == 2) {//by夏玉
|
|
|
|
|
- // _that.payType[itemList[0]].guarantee = itemList[3]
|
|
|
|
|
- // }
|
|
|
|
|
- _that.payType[itemList[0]].guarantee = itemList[3]
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- _that.$nextTick(() => {
|
|
|
|
|
- _that.partProcessList.forEach((processList, index) => {
|
|
|
|
|
- processList.forEach(process => {
|
|
|
|
|
- var name = 'partProcess' + index
|
|
|
|
|
- _that.$refs[name][0].toggleRowSelection(process, true)
|
|
|
|
|
- })
|
|
|
|
|
- })
|
|
|
|
|
-
|
|
|
|
|
- _that.$refs.deliveryNotice.currentIdClient = data.idClient
|
|
|
|
|
- _that.$refs.deliveryNotice.currentIdOrder = data.id
|
|
|
|
|
- _that.$refs.deliveryNotice.openNotices()
|
|
|
|
|
-
|
|
|
|
|
- })
|
|
|
|
|
|
|
|
|
|
|
|
+ // if (data.originFileLink) {
|
|
|
|
|
+ // _that.hasFile = true
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // _that.hasFile = false
|
|
|
|
|
+ // }
|
|
|
|
|
+ _that.form = data
|
|
|
|
|
+ _that.form.orderState = data.orderState.toString()
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
// console.log(err)
|
|
// console.log(err)
|
|
|
|
|
|
|
@@ -968,31 +758,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- addressDialog() {
|
|
|
|
|
- const _that = this;
|
|
|
|
|
- // _that.addressVisible = true
|
|
|
|
|
- // _that.$nextTick(function() {
|
|
|
|
|
- this.$refs.address.outerVisible = true
|
|
|
|
|
- _that.$refs.address.idClient = _that.form.idClient
|
|
|
|
|
- // this.$refs.address.clientName = name
|
|
|
|
|
- var pageNum = 1
|
|
|
|
|
- _that.$refs.address.getInfo(pageNum, '')
|
|
|
|
|
- _that.$refs.address.searchVal = ''
|
|
|
|
|
- // })
|
|
|
|
|
- },
|
|
|
|
|
- // 选择地址
|
|
|
|
|
- chooseAddress(row) {
|
|
|
|
|
- var sendAddressItem = Object.assign({}, sendAddressInfo)
|
|
|
|
|
- sendAddressItem.sendKind = row.shipModeName
|
|
|
|
|
- sendAddressItem.sendRegion = row.shipArea
|
|
|
|
|
- sendAddressItem.linkMan = row.receiveMan
|
|
|
|
|
- sendAddressItem.linkPhone = row.receivePhone
|
|
|
|
|
- sendAddressItem.sendAddress = row.address
|
|
|
|
|
- sendAddressItem.sendProvince = row.province
|
|
|
|
|
- sendAddressItem.sendCity = row.city
|
|
|
|
|
- sendAddressItem.sendDistrict = row.area
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
// 下拉框可输入
|
|
// 下拉框可输入
|
|
|
selectBlur(e, index1, index2) {
|
|
selectBlur(e, index1, index2) {
|
|
|
var _that = this
|
|
var _that = this
|
|
@@ -1005,50 +770,6 @@ export default {
|
|
|
_that.partListNew[index1].paramValueList[index2].paramValue = e.target.value
|
|
_that.partListNew[index1].paramValueList[index2].paramValue = e.target.value
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
- // 解析地址
|
|
|
|
|
- parseAddressBtn() {
|
|
|
|
|
- const _that = this
|
|
|
|
|
- if (!_that.parseAddress) {
|
|
|
|
|
- _that.$message.warning('请粘贴地址')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- var data = {
|
|
|
|
|
- 'address': _that.parseAddress
|
|
|
|
|
- }
|
|
|
|
|
- parseAddress(data).then(response => {
|
|
|
|
|
- // console.log(response)
|
|
|
|
|
- var data = response.data[0]
|
|
|
|
|
- var sendAddressItem = Object.assign({}, sendAddressInfo)
|
|
|
|
|
- sendAddressItem.linkMan = data.name
|
|
|
|
|
- if (data.mobile == null || data.mobile == '' || data.mobile == undefined) {
|
|
|
|
|
- sendAddressItem.linkPhone = data.phone
|
|
|
|
|
- } else {
|
|
|
|
|
- sendAddressItem.linkPhone = data.mobile
|
|
|
|
|
- }
|
|
|
|
|
- sendAddressItem.sendProvince = data.province
|
|
|
|
|
- sendAddressItem.sendCity = data.city
|
|
|
|
|
- sendAddressItem.sendDistrict = data.county
|
|
|
|
|
- sendAddressItem.sendAddress = data.details
|
|
|
|
|
- _that.sendAddressList.push(sendAddressItem)
|
|
|
|
|
- // console.log(_that.sendAddressList);
|
|
|
|
|
- var addressOption = []
|
|
|
|
|
-
|
|
|
|
|
- if (data.province) {
|
|
|
|
|
- addressOption.push(TextToCode[data.province].code)
|
|
|
|
|
- if (data.city) {
|
|
|
|
|
- addressOption.push(TextToCode[data.province][data.city].code)
|
|
|
|
|
- if (data.county) {
|
|
|
|
|
- addressOption.push(TextToCode[data.province][data.city][data.county].code)
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- _that.addressOption.push(addressOption);
|
|
|
|
|
-
|
|
|
|
|
- }).catch(err => {
|
|
|
|
|
- _that.$message.error(err)
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
// 保存
|
|
// 保存
|
|
|
save(type) {
|
|
save(type) {
|
|
|
var _that = this
|
|
var _that = this
|
|
@@ -1083,160 +804,9 @@ export default {
|
|
|
// 修改保存
|
|
// 修改保存
|
|
|
editOrder(type) {
|
|
editOrder(type) {
|
|
|
var _that = this
|
|
var _that = this
|
|
|
- var packrequireArr = []
|
|
|
|
|
-
|
|
|
|
|
- var sendAddressList = _that.$refs.deliveryNotice.sendAddressList
|
|
|
|
|
- for (let i = 0; i < sendAddressList.length; i++) {
|
|
|
|
|
- var item = sendAddressList[i]
|
|
|
|
|
- if (item.edit == true) {
|
|
|
|
|
- _that.$message.warning('请先保存收货信息')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- _that.packrequireList.forEach(item => {
|
|
|
|
|
- if (parseInt(item.packNum) && parseInt(item.countNum)) {
|
|
|
|
|
- var packrequire = item.packNum + '*' + item.countNum
|
|
|
|
|
- packrequireArr.push(packrequire)
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- _that.form.packRequire = packrequireArr.join('+')
|
|
|
|
|
- // console.log(_that.form.packRequire);
|
|
|
|
|
- // return;
|
|
|
|
|
this.$refs['form'].validate((valid) => {
|
|
this.$refs['form'].validate((valid) => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
- if (_that.form.deliverDate === '' || _that.form.deliverDate == null) {
|
|
|
|
|
- _that.$message.error('交货时间不能为空')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- // var sendAddressList = _that.form.sendAddressList
|
|
|
|
|
- // for (let i = 0; i < sendAddressList.length; i++) {
|
|
|
|
|
- // if (!sendAddressList[i].sendKind) {
|
|
|
|
|
- // _that.$message.error('请选择发货方式')
|
|
|
|
|
- // return
|
|
|
|
|
- // }
|
|
|
|
|
- // }
|
|
|
|
|
- // 付款方式
|
|
|
|
|
- var selectionArr = []
|
|
|
|
|
- for (let j = 0; j < _that.payType.length; j++) {
|
|
|
|
|
- if (_that.payType[j].guarantee.indexOf('+') != -1 || _that.payType[j].guarantee.indexOf(':') != -1) {
|
|
|
|
|
- _that.$message.error('付款方式输入框中不能出现符号+和:')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (_that.payType[j].value > 0) {
|
|
|
|
|
- if (_that.payType[j].id == 2) {
|
|
|
|
|
- if (!_that.payType[j].guarantee) {
|
|
|
|
|
- _that.$message.error('担保人不能为空')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- var selectionString = ''
|
|
|
|
|
- selectionString = _that.payType[j].id + ':' + _that.payType[j].name + ':' + _that.payType[j].value + ':' + _that.payType[j].guarantee
|
|
|
|
|
- selectionArr.push(selectionString)
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- _that.form.payKind = selectionArr.join('+')
|
|
|
|
|
- // console.log(_that.form.orderMoneyPre);
|
|
|
|
|
- // return;
|
|
|
|
|
- // if (parseInt(_that.form.orderMoneyTotal) !== parseInt(_that.sums) + parseInt(_that.form.orderMoneyPre)) {
|
|
|
|
|
- // _that.$message.error('付款方式总计金额和预收款之和不等于总金额')
|
|
|
|
|
- // return
|
|
|
|
|
- // }
|
|
|
|
|
- if (_that.form.usePreStore == 0) {
|
|
|
|
|
- if (parseInt(_that.sums) < parseInt(_that.form.orderMoneyTotal)) {
|
|
|
|
|
- _that.$message.error('付款方式总计金额不能小于总金额')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- if (_that.partListNew.length <= 0) {
|
|
|
|
|
- _that.$message.error('请添加部件')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- for (var i = 0; i < _that.partListNew.length; i++) {
|
|
|
|
|
- for (var j = 0; j < _that.partListNew[i].paramValueList.length; j++) {
|
|
|
|
|
- var param = _that.partListNew[i].paramValueList[j]
|
|
|
|
|
- if ((param.paramValue == '' || param.paramValue == null) && (param.fieldType != 6) && (param.fieldType != 7) && (param.fieldType != 3)) {
|
|
|
|
|
- _that.$message.error(param.parameterName + '为必填项')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (param.fieldType == 3) {
|
|
|
|
|
- var reg = new RegExp('^[0-9]*$');
|
|
|
|
|
- if (!reg.test(param.paramValue)) {
|
|
|
|
|
- _that.$message.error('请输入正确的' + param.parameterName)
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- if (param.fieldType == 6) {
|
|
|
|
|
- var reg = /^(\d+([.]\d+)?)\*(\d+([.]\d+)?)$/;
|
|
|
|
|
- // console.log(param.fieldType,reg.test(param.paramValue));
|
|
|
|
|
- if (!reg.test(param.paramValue)) {
|
|
|
|
|
- _that.$message.error('请输入正确的' + param.parameterName)
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- if (param.fieldType == 7) {
|
|
|
|
|
- var reg = /^(\d+([.]\d+)?)\*(\d+([.]\d+)?)\*(\d+([.]\d+)?)$/;
|
|
|
|
|
- // console.log(param.fieldType,reg.test(param.paramValue));
|
|
|
|
|
- if (!reg.test(param.paramValue)) {
|
|
|
|
|
- _that.$message.error('请输入正确的' + param.parameterName)
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- _that.calculatePrice(2, function() {
|
|
|
|
|
- // console.log('_that.jsTotalMoney', _that.jsTotalMoney)
|
|
|
|
|
-
|
|
|
|
|
- if (_that.jsTotalMoney) {
|
|
|
|
|
- if (_that.jsTotalMoney > _that.form.orderMoneyTotal || _that.form.orderMoneyTotal > _that.jsTotalMoney * 1.2) {
|
|
|
|
|
- // console.log('价格不对');
|
|
|
|
|
- _that.$confirm(`计算金额为${_that.jsTotalMoney}元,请确认价格是否正确 `, '提示', {
|
|
|
|
|
- confirmButtonText: '确定',
|
|
|
|
|
- cancelButtonText: '取消'
|
|
|
|
|
- }).then(() => {
|
|
|
|
|
- // 总金额判断
|
|
|
|
|
- if (_that.form.orderMoneyTotal == 0) {
|
|
|
|
|
- _that.$message.warning('订单金额不能为0')
|
|
|
|
|
- return
|
|
|
|
|
- } else {
|
|
|
|
|
- if (type == 1) {
|
|
|
|
|
- _that.editBtn()
|
|
|
|
|
- } else {
|
|
|
|
|
- _that.editAndPush()
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }).catch(() => {
|
|
|
|
|
- return
|
|
|
|
|
- })
|
|
|
|
|
- } else {
|
|
|
|
|
- // 总金额判断
|
|
|
|
|
- if (_that.form.orderMoneyTotal == 0) {
|
|
|
|
|
- _that.$message.warning('订单金额不能为0')
|
|
|
|
|
- return
|
|
|
|
|
- } else {
|
|
|
|
|
- if (type == 1) {
|
|
|
|
|
- _that.editBtn()
|
|
|
|
|
- } else {
|
|
|
|
|
- _that.editAndPush()
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- } else {
|
|
|
|
|
- // 总金额判断
|
|
|
|
|
- if (_that.form.orderMoneyTotal == 0) {
|
|
|
|
|
- _that.$message.warning('订单金额不能为0')
|
|
|
|
|
- return
|
|
|
|
|
- } else {
|
|
|
|
|
- if (type == 1) {
|
|
|
|
|
- _that.editBtn()
|
|
|
|
|
- } else {
|
|
|
|
|
- _that.editAndPush()
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ _that.editBtn()
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -1244,14 +814,6 @@ export default {
|
|
|
var _that = this
|
|
var _that = this
|
|
|
_that.clickLoading = true
|
|
_that.clickLoading = true
|
|
|
_that.form.id = _that.idOrder
|
|
_that.form.id = _that.idOrder
|
|
|
- _that.form.sendAddressList = _that.sendAddressList
|
|
|
|
|
- _that.form.partList = _that.partListNew
|
|
|
|
|
- // console.log(_that.form)
|
|
|
|
|
- if (_that.form.deliverDate) {
|
|
|
|
|
- var deliverDate = '';
|
|
|
|
|
- deliverDate = _that.form.deliverDate.slice(0, 10) + ' ' + _that.form.deliverTime;
|
|
|
|
|
- _that.form.deliverDate = deliverDate;
|
|
|
|
|
- }
|
|
|
|
|
var data = JSON.stringify(_that.form)
|
|
var data = JSON.stringify(_that.form)
|
|
|
if (_that.editType == 1) {
|
|
if (_that.editType == 1) {
|
|
|
updatePrintOrder(data).then(response => {
|
|
updatePrintOrder(data).then(response => {
|
|
@@ -1259,236 +821,16 @@ export default {
|
|
|
if (response.httpCode == 200) {
|
|
if (response.httpCode == 200) {
|
|
|
_that.clickLoading = false
|
|
_that.clickLoading = false
|
|
|
_that.$store.dispatch('tagsView/delView', _that.tempRoute).then(() => {
|
|
_that.$store.dispatch('tagsView/delView', _that.tempRoute).then(() => {
|
|
|
- if (_that.pageFrom == '2') {
|
|
|
|
|
- _that.$router.push({ path: '/order/TobeReviewed/1' })
|
|
|
|
|
- } else if (_that.pageFrom == '1') {
|
|
|
|
|
- _that.$router.push({ path: '/order/tobeEditedOrder/0' })
|
|
|
|
|
- } else {
|
|
|
|
|
- _that.$router.push({ path: '/order/tobeEditedOrder/0' })
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- }).catch(err => {
|
|
|
|
|
- _that.clickLoading = false
|
|
|
|
|
- // console.log(err)
|
|
|
|
|
- // _that.$message.error(err)
|
|
|
|
|
- })
|
|
|
|
|
- } else {
|
|
|
|
|
- reprintOrder(data, _that.formToken).then(response => {
|
|
|
|
|
- // console.log(response)
|
|
|
|
|
- if (response.httpCode == 200) {
|
|
|
|
|
- _that.clickLoading = false
|
|
|
|
|
-
|
|
|
|
|
- _that.$store.dispatch('tagsView/delView', _that.tempRoute).then(() => {
|
|
|
|
|
- if (_that.pageFrom == '2') {
|
|
|
|
|
- _that.$router.push({ path: '/order/TobeReviewed/1' })
|
|
|
|
|
- } else if (_that.pageFrom == '1') {
|
|
|
|
|
- _that.$router.push({ path: '/order/tobeEditedOrder/0' })
|
|
|
|
|
- } else {
|
|
|
|
|
- _that.$router.push({ path: '/order/tobeEditedOrder/0' })
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- } else if (response.httpCode != 409) {
|
|
|
|
|
- _that.getToken()
|
|
|
|
|
- }
|
|
|
|
|
- }).catch(err => {
|
|
|
|
|
- _that.clickLoading = false
|
|
|
|
|
- // console.log(err)
|
|
|
|
|
- // _that.$message.error(err)
|
|
|
|
|
- if (err.name != 409) {
|
|
|
|
|
- _that.getToken()
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- editAndPush() {
|
|
|
|
|
- var _that = this
|
|
|
|
|
- _that.form.id = _that.idOrder
|
|
|
|
|
- _that.form.sendAddressList = _that.sendAddressList
|
|
|
|
|
- _that.form.partList = _that.partListNew
|
|
|
|
|
-
|
|
|
|
|
- if (_that.editType == 2) {
|
|
|
|
|
- _that.form.needImageProcess = 0;
|
|
|
|
|
- if (_that.form.deliverDate) {
|
|
|
|
|
- var deliverDate = '';
|
|
|
|
|
- deliverDate = _that.form.deliverDate.slice(0, 10) + ' ' + _that.form.deliverTime;
|
|
|
|
|
- _that.form.deliverDate = deliverDate;
|
|
|
|
|
- }
|
|
|
|
|
- var data = JSON.stringify(_that.form)
|
|
|
|
|
- _that.editAndPushSure(data)
|
|
|
|
|
- } else {
|
|
|
|
|
- checkCompleteDispatchOrder({ idOrder: _that.idOrder }).then(res => {
|
|
|
|
|
- // console.log(res)
|
|
|
|
|
- if (res.data.length == 0) {
|
|
|
|
|
- _that.form.needImageProcess = 0;
|
|
|
|
|
- if (_that.form.deliverDate) {
|
|
|
|
|
- var deliverDate = '';
|
|
|
|
|
- deliverDate = _that.form.deliverDate.slice(0, 10) + ' ' + _that.form.deliverTime;
|
|
|
|
|
- _that.form.deliverDate = deliverDate;
|
|
|
|
|
- }
|
|
|
|
|
- var data = JSON.stringify(_that.form)
|
|
|
|
|
- _that.editAndPushSure(data)
|
|
|
|
|
- } else {
|
|
|
|
|
- _that.commitVisible = true
|
|
|
|
|
- _that.commitInfo.infoList = res.data;
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- // var data = JSON.stringify(_that.form)
|
|
|
|
|
-
|
|
|
|
|
- // console.log(data)
|
|
|
|
|
- // return
|
|
|
|
|
- },
|
|
|
|
|
- commitBtn() {
|
|
|
|
|
- const _that = this
|
|
|
|
|
- _that.form.needImageProcess = _that.commitInfo.needImageProcess;
|
|
|
|
|
- var data = JSON.stringify(_that.form)
|
|
|
|
|
- _that.editAndPushSure(data)
|
|
|
|
|
- },
|
|
|
|
|
- editAndPushSure(data) {
|
|
|
|
|
- const _that = this
|
|
|
|
|
- if (!_that.hasFile) {
|
|
|
|
|
- _that.$message.warning('订单文件未上传')
|
|
|
|
|
- }
|
|
|
|
|
- _that.clickLoading = true
|
|
|
|
|
- // console.log(data)
|
|
|
|
|
- if (_that.editType == 1) {
|
|
|
|
|
- editAndCommitPrintOrder(data).then(response => {
|
|
|
|
|
- // console.log(response)
|
|
|
|
|
- if (response.httpCode == 200) {
|
|
|
|
|
- _that.clickLoading = false
|
|
|
|
|
- _that.$store.dispatch('tagsView/delView', _that.tempRoute).then(() => {
|
|
|
|
|
- if (_that.pageFrom == '2') {
|
|
|
|
|
- _that.$router.push({ path: '/order/TobeReviewed/1' })
|
|
|
|
|
- } else if (_that.pageFrom == '1') {
|
|
|
|
|
- _that.$router.push({ path: '/order/tobeEditedOrder/0' })
|
|
|
|
|
- } else {
|
|
|
|
|
- _that.$router.push({ path: '/order/tobeEditedOrder/0' })
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- }).catch(err => {
|
|
|
|
|
- _that.clickLoading = false
|
|
|
|
|
- // console.log(err)
|
|
|
|
|
- _that.$message.error(err)
|
|
|
|
|
- })
|
|
|
|
|
- } else {
|
|
|
|
|
- reprintCommitOrder(data, _that.formToken).then(response => {
|
|
|
|
|
- // console.log(response)
|
|
|
|
|
- if (response.httpCode == 200) {
|
|
|
|
|
- _that.clickLoading = false
|
|
|
|
|
- _that.$store.dispatch('tagsView/delView', _that.tempRoute).then(() => {
|
|
|
|
|
- if (_that.form.stateMemo == '待审核') {
|
|
|
|
|
- _that.$router.push({ path: '/order/TobeReviewed/1' })
|
|
|
|
|
- } else {
|
|
|
|
|
_that.$router.push({ path: '/order/orderList' })
|
|
_that.$router.push({ path: '/order/orderList' })
|
|
|
- }
|
|
|
|
|
})
|
|
})
|
|
|
- } else if (response.httpCode != 409) {
|
|
|
|
|
- _that.getToken()
|
|
|
|
|
}
|
|
}
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
_that.clickLoading = false
|
|
_that.clickLoading = false
|
|
|
// console.log(err)
|
|
// console.log(err)
|
|
|
- _that.$message.error(err)
|
|
|
|
|
- if (err.name != 409) {
|
|
|
|
|
- _that.getToken()
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // _that.$message.error(err)
|
|
|
})
|
|
})
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- // 表格合计
|
|
|
|
|
- getSummaries(param) {
|
|
|
|
|
- const { columns, data } = param
|
|
|
|
|
- const sums = []
|
|
|
|
|
- columns.forEach((column, index) => {
|
|
|
|
|
- // 如果是第一列,则最后一行展示为“总计”两个字
|
|
|
|
|
- if (index === 0) {
|
|
|
|
|
- sums[index] = '总计'
|
|
|
|
|
- // 如果是最后一列,索引为列数-1,则显示计算总和
|
|
|
|
|
- } else if (index === 1) {
|
|
|
|
|
- const values = data.map(item => Number(item[column.property]))
|
|
|
|
|
- if (!values.every(value => isNaN(value))) {
|
|
|
|
|
- sums[index] = values.reduce((prev, curr) => {
|
|
|
|
|
- const value = Number(curr)
|
|
|
|
|
- if (!isNaN(value)) {
|
|
|
|
|
- return prev + curr
|
|
|
|
|
- } else {
|
|
|
|
|
- return prev
|
|
|
|
|
- }
|
|
|
|
|
- }, 0)
|
|
|
|
|
- } else {
|
|
|
|
|
- sums[index] = 'N/A'
|
|
|
|
|
- }
|
|
|
|
|
- // 如果是除了第一列和最后一列的其他列,则显示为空
|
|
|
|
|
- } else {
|
|
|
|
|
- sums[index] = ''
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- // console.log(sums)
|
|
|
|
|
- this.sums = sums[1]
|
|
|
|
|
- return sums
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
- // handleFileChange(fileList) {
|
|
|
|
|
- // var _that = this
|
|
|
|
|
- // console.log('handleFileChange', fileList)
|
|
|
|
|
- //
|
|
|
|
|
- // // setTimeout(() => {
|
|
|
|
|
- // // _that.tableRefresh()
|
|
|
|
|
- // // }, 1000)
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // 全部折叠
|
|
|
|
|
- closeAll() {
|
|
|
|
|
- var partList = document.getElementsByClassName('partInfoList')[0].children
|
|
|
|
|
- for (let i = 0; i < partList.length; i++) {
|
|
|
|
|
- var bodyClass = partList[i].children[1].className
|
|
|
|
|
- if (bodyClass != 'hideContent') {
|
|
|
|
|
- partList[i].children[1].removeAttribute('class')
|
|
|
|
|
- partList[i].children[1].setAttribute('class', 'hideContent')
|
|
|
|
|
- partList[i].children[1].children[0].setAttribute('class', 'show')
|
|
|
|
|
- partList[i].children[0].children[0].children[1].className = 'box-header-icon el-icon-caret-bottom'
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
- // 全部展开
|
|
|
|
|
- openAll() {
|
|
|
|
|
- var partList = document.getElementsByClassName('partInfoList')[0].children
|
|
|
|
|
- for (let i = 0; i < partList.length; i++) {
|
|
|
|
|
- var bodyClass = partList[i].children[1].className
|
|
|
|
|
- if (bodyClass == 'hideContent') {
|
|
|
|
|
- partList[i].children[1].removeAttribute('class')
|
|
|
|
|
- partList[i].children[1].setAttribute('class', 'el-card__body')
|
|
|
|
|
- partList[i].children[1].children[0].removeAttribute('class')
|
|
|
|
|
- partList[i].children[0].children[0].children[1].className = 'box-header-icon el-icon-caret-top'
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
- // 展开收起
|
|
|
|
|
- unfold: function(e, data, type) {
|
|
|
|
|
- const dv = document.getElementById(data)
|
|
|
|
|
-
|
|
|
|
|
- var pv = dv.parentNode
|
|
|
|
|
- if (dv.className == 'show') {
|
|
|
|
|
- dv.removeAttribute('class')
|
|
|
|
|
- pv.className = 'el-card__body'
|
|
|
|
|
- if (type == 2) {
|
|
|
|
|
- e.target.className = 'box-header-icon el-icon-caret-top'
|
|
|
|
|
- } else {
|
|
|
|
|
- pv.parentNode.children[0].children[0].children[1].className = 'box-header-icon el-icon-caret-top'
|
|
|
|
|
- }
|
|
|
|
|
} else {
|
|
} else {
|
|
|
- dv.setAttribute('class', 'show')
|
|
|
|
|
- pv.className = 'hideContent'
|
|
|
|
|
- if (type == 2) {
|
|
|
|
|
- e.target.className = 'box-header-icon el-icon-caret-bottom'
|
|
|
|
|
- } else {
|
|
|
|
|
- pv.parentNode.children[0].children[0].children[1].className = 'box-header-icon el-icon-caret-bottom'
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ //nothing do here
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|