|
|
|
@ -3,22 +3,22 @@
|
|
|
|
|
<div class="avue-crud"> |
|
|
|
|
<el-row v-if="!search"> |
|
|
|
|
<!-- 查询模块 --> |
|
|
|
|
<el-form :inline="true" :model="query"> |
|
|
|
|
<el-form :inline="true" :model="queryA"> |
|
|
|
|
<div class="fo-rl"> |
|
|
|
|
<el-form-item label="预约单编号:"> |
|
|
|
|
<el-input v-model="query.reservationCode" placeholder="请输入预约单编号"></el-input> |
|
|
|
|
<el-input v-model="queryA.reservationCode" placeholder="请输入预约单编号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="订单自编号:"> |
|
|
|
|
<el-input v-model="query.stockArticleId" placeholder="请输入订单自编号"></el-input> |
|
|
|
|
<el-input v-model="queryA.stockArticleId" placeholder="请输入订单自编号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="收货人:"> |
|
|
|
|
<el-input v-model="query.consignee" placeholder="请输入收货人"></el-input> |
|
|
|
|
<el-input v-model="queryA.consignee" placeholder="请输入收货人"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="收货地址:"> |
|
|
|
|
<el-input v-model="query.deliveryAddress" placeholder="请输入收货地址"></el-input> |
|
|
|
|
<el-input v-model="queryA.deliveryAddress" placeholder="请输入收货地址"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="收件人电话:"> |
|
|
|
|
<el-input v-model="query.deliveryPhone" placeholder="请输入收件人电话"></el-input> |
|
|
|
|
<el-input v-model="queryA.deliveryPhone" placeholder="请输入收件人电话"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="顾客姓名:">--> |
|
|
|
@ -45,29 +45,12 @@
|
|
|
|
|
>添加预约 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="this.queryA.reservationStatus === '1'" |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleConfirmReservations" |
|
|
|
|
plain |
|
|
|
|
>批量确认 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="this.queryA.reservationStatus === '2'" |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleStockUp()" |
|
|
|
|
plain |
|
|
|
|
>批量转备货 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="this.queryA.reservationStatus === '2'" |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleDeliverys" |
|
|
|
|
plain |
|
|
|
|
>批量转配送 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-download" @click="handleExportInfo(1)" plain |
|
|
|
|
>导出 |
|
|
|
|
</el-button> |
|
|
|
@ -80,114 +63,121 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<template v-if="this.activename === 'nocheck'"> |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<tablecmt |
|
|
|
|
:columnList="columnList" |
|
|
|
|
:tableData="data" |
|
|
|
|
:loading="loading" |
|
|
|
|
@inputTxt="inputscA" |
|
|
|
|
@timeCheck="timescA" |
|
|
|
|
@btnCheck="btnsc" |
|
|
|
|
@selectCheck="selectscA" |
|
|
|
|
@selection="selectionChange" |
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<el-text |
|
|
|
|
size="small" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
icon="el-icon-view" |
|
|
|
|
@click="viewReservation(slotProps.scope)" |
|
|
|
|
>查看 |
|
|
|
|
</el-text> |
|
|
|
|
<el-text |
|
|
|
|
size="small" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
icon="el-icon-view" |
|
|
|
|
@click="editsolt(slotProps.scope)" |
|
|
|
|
>编辑 |
|
|
|
|
</el-text> |
|
|
|
|
<el-text |
|
|
|
|
size="small" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
icon="el-icon-view" |
|
|
|
|
@click="cancelReservation(slotProps.scope)" |
|
|
|
|
>取消预约 |
|
|
|
|
</el-text> |
|
|
|
|
<el-text |
|
|
|
|
v-if="this.queryA.reservationStatus === '1' ? true : false" |
|
|
|
|
size="small" |
|
|
|
|
@click="confirmReservation(slotProps.scope)" |
|
|
|
|
>确认预约 |
|
|
|
|
</el-text> |
|
|
|
|
</template> |
|
|
|
|
</tablecmt> |
|
|
|
|
<!-- <template v-if="this.activename === 'nocheck'"> --> |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<tablecmt |
|
|
|
|
ref="unconfirmedList" |
|
|
|
|
:columnList="columnList" |
|
|
|
|
:tableData="data" |
|
|
|
|
:loading="loading" |
|
|
|
|
@inputTxt="inputscA" |
|
|
|
|
@timeCheck="timescA" |
|
|
|
|
@btnCheck="btnsc" |
|
|
|
|
@selectCheck="selectscA" |
|
|
|
|
@selection="selectionChange" |
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<el-text |
|
|
|
|
size="small" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
icon="el-icon-view" |
|
|
|
|
@click="viewReservation(slotProps.scope)" |
|
|
|
|
>查看 |
|
|
|
|
</el-text> |
|
|
|
|
<el-text |
|
|
|
|
size="small" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
icon="el-icon-view" |
|
|
|
|
@click="editsolt(slotProps.scope)" |
|
|
|
|
>编辑 |
|
|
|
|
</el-text> |
|
|
|
|
<el-text |
|
|
|
|
size="small" |
|
|
|
|
type="primary" |
|
|
|
|
link |
|
|
|
|
icon="el-icon-view" |
|
|
|
|
@click="cancelReservation(slotProps.scope)" |
|
|
|
|
>取消预约 |
|
|
|
|
</el-text> |
|
|
|
|
<el-text |
|
|
|
|
v-if="this.queryA.reservationStatus === '1' ? true : false" |
|
|
|
|
size="small" |
|
|
|
|
@click="confirmReservation(slotProps.scope)" |
|
|
|
|
>确认预约 |
|
|
|
|
</el-text> |
|
|
|
|
</template> |
|
|
|
|
</el-row> |
|
|
|
|
</tablecmt> |
|
|
|
|
<!-- </template> --> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
|
<el-tab-pane label="已确认" name="yescheck"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-button-group> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-view" @click="ccc">全部</el-button>--> |
|
|
|
|
</el-button-group> |
|
|
|
|
<div class="avue-crud__header"> |
|
|
|
|
<!-- 头部左侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__left"> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd" |
|
|
|
|
>添加预约 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="this.queryB.reservationStatus === '1'" |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleConfirmReservations" |
|
|
|
|
plain |
|
|
|
|
>批量确认 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="this.queryB.reservationStatus === '2'" |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleStockUp()" |
|
|
|
|
plain |
|
|
|
|
>批量转备货 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="this.queryB.reservationStatus === '2'" |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleDeliverys" |
|
|
|
|
plain |
|
|
|
|
>批量转配送 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="this.queryB.reservationStatus === '2'" |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="batchPrintData" |
|
|
|
|
plain |
|
|
|
|
>批量打印 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-download" @click="handleExportInfo(2)" plain |
|
|
|
|
>导出 |
|
|
|
|
</el-button> |
|
|
|
|
</div> |
|
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__right"> |
|
|
|
|
<el-button icon="el-icon-refresh" @click="searchChange" circle></el-button> |
|
|
|
|
<el-button icon="Operation" @click="showdrawer(true)" circle></el-button> |
|
|
|
|
<el-button icon="el-icon-search" @click="searchHide" circle></el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<template v-if="this.activename === 'yescheck'"> |
|
|
|
|
<div style="display: flex"> |
|
|
|
|
<el-tabs |
|
|
|
|
v-model="orderStatus" |
|
|
|
|
tab-position="left" |
|
|
|
|
style="height: 100%; width: fit-content; flex: none" |
|
|
|
|
class="demo-tabs" |
|
|
|
|
@tab-click="handleClickAll" |
|
|
|
|
> |
|
|
|
|
<el-tab-pane name="all" label="全部"></el-tab-pane> |
|
|
|
|
<el-tab-pane name="PickerClip" label="调单夹"></el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
|
<div class="overflow"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-button-group> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-view" @click="ccc">全部</el-button>--> |
|
|
|
|
</el-button-group> |
|
|
|
|
<div class="avue-crud__header"> |
|
|
|
|
<!-- 头部左侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__left"> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd" |
|
|
|
|
>添加预约 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleStockUp()" plain |
|
|
|
|
>批量转备货 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleDeliverys" plain |
|
|
|
|
>批量转配送 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="batchPrintData" plain |
|
|
|
|
>批量打印 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-download" |
|
|
|
|
@click="handleExportInfo(2)" |
|
|
|
|
plain |
|
|
|
|
>导出 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
icon="Plus" |
|
|
|
|
@click="handleAddPickerClipData" |
|
|
|
|
v-if="orderStatus === 'all'" |
|
|
|
|
>加入调单夹 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-else |
|
|
|
|
type="primary" |
|
|
|
|
icon="Delete" |
|
|
|
|
@click="handleRemovePickerClipData" |
|
|
|
|
>移除调单夹 |
|
|
|
|
</el-button> |
|
|
|
|
</div> |
|
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__right"> |
|
|
|
|
<el-button icon="el-icon-refresh" @click="searchChange" circle></el-button> |
|
|
|
|
<el-button icon="Operation" @click="showdrawer(true)" circle></el-button> |
|
|
|
|
<el-button icon="el-icon-search" @click="searchHide" circle></el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-row> |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<tablecmt |
|
|
|
|
ref="confirmList" |
|
|
|
|
:columnList="columnList" |
|
|
|
|
:tableData="data" |
|
|
|
|
:loading="loading" |
|
|
|
@ -238,51 +228,8 @@
|
|
|
|
|
</el-text> |
|
|
|
|
</template> |
|
|
|
|
</tablecmt> |
|
|
|
|
</template> |
|
|
|
|
<!-- <el-popover :visible="visible" placement="top-start" :width="160">--> |
|
|
|
|
<!-- <p>Are you sure to delete this?</p>--> |
|
|
|
|
<!-- <el-input v-model= 'this.message'--> |
|
|
|
|
<!-- type="textarea"--> |
|
|
|
|
<!-- :rows="1"--> |
|
|
|
|
<!-- placeholder="请输入取消原因"></el-input>--> |
|
|
|
|
<!-- <div style="text-align: right; margin: 10%">--> |
|
|
|
|
<!-- <el-button size="small" text @click="this.message='',visible = false">取消</el-button>--> |
|
|
|
|
<!-- <el-button size="small" type="primary" @click="confirmReservation(slotProps.scope)"--> |
|
|
|
|
<!-- >确认</el-button--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!--<!– <template #reference>–>--> |
|
|
|
|
<!--<!– </template>–>--> |
|
|
|
|
<!-- </el-popover>--> |
|
|
|
|
<!-- <el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="data" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border"> |
|
|
|
|
<el-table-column type="selection" v-if="option.selection" width="55" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column> |
|
|
|
|
<el-table-column v-if="option.index" label="序号" type="index" width="80px" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
|
|
<template v-for="(item,index) in option.column"> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:width="item.width" |
|
|
|
|
:key="index"> |
|
|
|
|
</el-table-column> |
|
|
|
|
</template> |
|
|
|
|
<el-table-column prop="menu" label="操作" :width="220" align="center"> |
|
|
|
|
<template #="{row}"> |
|
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleView(row)">查看</el-button> |
|
|
|
|
<el-button type="primary" text icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button> |
|
|
|
|
<el-button type="primary" text icon="el-icon-delete" @click="rowDel(row)">删除</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> --> |
|
|
|
|
</el-row> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
@ -396,7 +343,7 @@ import { getListTeam } from '@/api/basicdata/basicdataTeamGroup';
|
|
|
|
|
import { getStockUpArea, stockUp } from '@/api/basicdata/basicdataGoodsArea'; |
|
|
|
|
import dayjs from 'dayjs'; |
|
|
|
|
import print from '@/utils/print'; |
|
|
|
|
import { downloadXls } from '@/utils/util'; |
|
|
|
|
import { downloadXls, setNodeHeight, getWinHeight } from '@/utils/util'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
@ -876,6 +823,10 @@ export default {
|
|
|
|
|
option: option, |
|
|
|
|
// 表单列表 |
|
|
|
|
data: [], |
|
|
|
|
/** 全部数据 */ |
|
|
|
|
allListData: [], |
|
|
|
|
/** 挑单夹内数据 */ |
|
|
|
|
pickerClipData: [], |
|
|
|
|
dialogCancelReservation: false, |
|
|
|
|
//配送方式字典列表 |
|
|
|
|
deliveryTypeData: [], |
|
|
|
@ -895,6 +846,9 @@ export default {
|
|
|
|
|
cancelReservationRow: {}, |
|
|
|
|
activeName: 'nocheck', |
|
|
|
|
activename: 'nocheck', |
|
|
|
|
orderStatus: 'all', |
|
|
|
|
unconfirmedList: null, |
|
|
|
|
confirmedList: null, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
@ -984,6 +938,10 @@ export default {
|
|
|
|
|
}); |
|
|
|
|
this.$functions.setStorage(window.location.pathname + 'sortlist', arr); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.setListHeight(); |
|
|
|
|
|
|
|
|
|
// console.log('bbbb', this.confirmedList); |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
|
...mapGetters(['permission']), |
|
|
|
@ -1145,18 +1103,19 @@ export default {
|
|
|
|
|
init() { |
|
|
|
|
this.height = this.setPx(document.body.clientHeight - 340); |
|
|
|
|
}, |
|
|
|
|
handleClick(e) { |
|
|
|
|
async handleClick(e) { |
|
|
|
|
console.log('e :>> ', e.props.name); |
|
|
|
|
// 切换选项卡时, 清空备选中的数组 |
|
|
|
|
this.selectionList = []; |
|
|
|
|
this.activename = e.props.name; |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
// if (e.props.name === 'yescheck') { |
|
|
|
|
// this.bbb(); |
|
|
|
|
// } else { |
|
|
|
|
// this.aaa(); |
|
|
|
|
// } |
|
|
|
|
// console.log('this.activename :>> ', this.activename); |
|
|
|
|
await this.onLoad(this.page); |
|
|
|
|
this.setListHeight(); |
|
|
|
|
}, |
|
|
|
|
handleClickAll(e) { |
|
|
|
|
console.log('e :>> ', e); |
|
|
|
|
const _name = e.props.name; |
|
|
|
|
if (_name === 'all') this.data = this.allListData; |
|
|
|
|
else this.data = this.pickerClipData; |
|
|
|
|
}, |
|
|
|
|
cancelReservationConfirm() { |
|
|
|
|
if (!this.cancel.message) { |
|
|
|
@ -1505,21 +1464,22 @@ export default {
|
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
onLoad(page, params = {}) { |
|
|
|
|
this.loading = true; |
|
|
|
|
// if (!this.query.reservationStatus) { |
|
|
|
|
// this.query.reservationStatus = '1'; |
|
|
|
|
// } |
|
|
|
|
let query = this.queryB; |
|
|
|
|
query.reservationStatus = '2'; |
|
|
|
|
console.log('this.activename :>> ', this.activename); |
|
|
|
|
if (this.activename === 'nocheck') { |
|
|
|
|
console.log('123123 :>> ', 123123); |
|
|
|
|
query = this.queryA; |
|
|
|
|
query.reservationStatus = this.queryA.reservationStatus || '1'; |
|
|
|
|
} |
|
|
|
|
// if (this.queryA.reservationStatus) |
|
|
|
|
getList(page.currentPage, page.pageSize, Object.assign(params, query)).then(res => { |
|
|
|
|
async onLoad(page, params = {}) { |
|
|
|
|
try { |
|
|
|
|
this.loading = true; |
|
|
|
|
// if (!this.query.reservationStatus) { |
|
|
|
|
// this.query.reservationStatus = '1'; |
|
|
|
|
// } |
|
|
|
|
let query = this.queryB; |
|
|
|
|
query.reservationStatus = '2'; |
|
|
|
|
console.log('this.activename :>> ', this.activename); |
|
|
|
|
if (this.activename === 'nocheck') { |
|
|
|
|
console.log('123123 :>> ', 123123); |
|
|
|
|
query = this.queryA; |
|
|
|
|
query.reservationStatus = this.queryA.reservationStatus || '1'; |
|
|
|
|
} else query.excludeId = this.pickerClipData.map(val => val.id).join(','); |
|
|
|
|
// if (this.queryA.reservationStatus) |
|
|
|
|
const res = await getList(page.currentPage, page.pageSize, Object.assign(params, query)); |
|
|
|
|
const data = res.data.data; |
|
|
|
|
console.log('>>>>>>>', data); |
|
|
|
|
if (data.records) { |
|
|
|
@ -1573,10 +1533,23 @@ export default {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
this.page.total = data.total; |
|
|
|
|
this.data = data.records; |
|
|
|
|
this.loading = false; |
|
|
|
|
if (this.activename === 'nocheck') this.data = data.records; |
|
|
|
|
else { |
|
|
|
|
this.allListData = data.records; |
|
|
|
|
if (this.orderStatus === 'all') this.data = data.records; |
|
|
|
|
} |
|
|
|
|
this.selectionClear(); |
|
|
|
|
}); |
|
|
|
|
} catch (error) { |
|
|
|
|
console.log('error :>> ', error); |
|
|
|
|
} finally { |
|
|
|
|
this.loading = false; |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
initPage() { |
|
|
|
|
this.page.currentPage = 1; |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -1636,6 +1609,34 @@ export default {
|
|
|
|
|
const orderNodeList = document.querySelectorAll('.el-dialog__body>div>div>div'); |
|
|
|
|
print(orderNodeList); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/** 设置列表高度 */ |
|
|
|
|
async setListHeight() { |
|
|
|
|
// 等待子组件渲染完毕 |
|
|
|
|
await this.$nextTick(); |
|
|
|
|
const _nodeArr = [this.$refs.confirmList.$el, this.$refs.unconfirmedList.$el]; |
|
|
|
|
const winHeight = getWinHeight(); |
|
|
|
|
for (let item of _nodeArr) { |
|
|
|
|
const _height = winHeight - item.getBoundingClientRect().top - 80 + 'px'; |
|
|
|
|
console.log('_height :>> ', _height); |
|
|
|
|
setNodeHeight(item, _height); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/** 挑单夹添加 */ |
|
|
|
|
handleAddPickerClipData() { |
|
|
|
|
this.pickerClipData = [...this.pickerClipData, ...this.selectionList]; |
|
|
|
|
this.$refs.confirmList.handleCheckSelect([]); |
|
|
|
|
this.initPage(); |
|
|
|
|
}, |
|
|
|
|
/** 挑单夹移除 */ |
|
|
|
|
handleRemovePickerClipData() { |
|
|
|
|
for (let item of this.selectionList) { |
|
|
|
|
const index = this.pickerClipData.indexOf(item); |
|
|
|
|
this.pickerClipData.splice(index, 1); |
|
|
|
|
} |
|
|
|
|
this.initPage(); |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
@ -1671,4 +1672,8 @@ export default {
|
|
|
|
|
:deep(.el-form-item__label) { |
|
|
|
|
padding: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.overflow { |
|
|
|
|
overflow: hidden; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|