|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
<span>创建时间:{{deliverydata.createTime}} </span> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :xl="7" :lg="7" :md="8" :sm="24"> |
|
|
|
|
<span>备货时间:{{deliverydata.loadTime}} </span> |
|
|
|
|
<span>备货时间:{{deliverydata.leadTime}} </span> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :xl="7" :lg="7" :md="8" :sm="24"> |
|
|
|
|
<span>装车时间:{{deliverydata.loadingTime}} </span> |
|
|
|
@ -47,162 +47,160 @@
|
|
|
|
|
<el-divider>配载情况</el-divider> |
|
|
|
|
<el-row :gutter="24" class="rows"> |
|
|
|
|
<el-col :xl="5" :lg="7" :md="8" :sm="24"> |
|
|
|
|
<span>配送客户:{{deliverydata.reservationList.length}} </span> |
|
|
|
|
<span>配送客户:{{deliverydata.customersNumber}} </span> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :xl="5" :lg="7" :md="8" :sm="24"> |
|
|
|
|
<span>计划件数:{{deliverydata.deliveryNumber}} </span> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :xl="5" :lg="7" :md="8" :sm="24"> |
|
|
|
|
<span>装车件数:{{deliverydata.loadNub}} </span> |
|
|
|
|
<span>装车件数:{{deliverydata.scannedNumber}} </span> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :xl="5" :lg="7" :md="8" :sm="24"> |
|
|
|
|
<span>剩余件数:{{deliverydata.deliveryNumber - deliverydata.loadNub}}</span> |
|
|
|
|
<span>剩余件数:{{deliverydata.deliveryNumber - deliverydata.scannedNumber}}</span> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-divider>订单列表</el-divider> |
|
|
|
|
<el-row> |
|
|
|
|
<div class="avue-crud__header"> |
|
|
|
|
<!-- 头部左侧按钮模块 --> |
|
|
|
|
<div class="avue-crud__left"> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleCustom" plain>预 约 列 表</el-button> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleOrder(this.packpage)" plain>订 单 列 表</el-button> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handlePackage(this.packpage)" plain>包 件 列 表</el-button> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleInventory(this.packpage)" plain>库 存 品 列 表</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row v-if="cus" > |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="data" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border" |
|
|
|
|
v-if="cus" |
|
|
|
|
> |
|
|
|
|
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in option.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
align="center" |
|
|
|
|
: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 size="small" @click="handleEdit(slotProps.scope)">编 辑</el-button> |
|
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleOne(row)" v-if="deliverydata.deliveryNumber > deliverydata.deliveryNumber">一 键 装 车</el-button> |
|
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleSign(row)" v-if="row.signingStatus=='未签收' ">签 收</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row v-if="ord" > |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="orddata" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border" |
|
|
|
|
v-if="ord" |
|
|
|
|
> |
|
|
|
|
<el-table-column type="expand" v-if="ordoption.expand" align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in ordoption.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
align="center" |
|
|
|
|
: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-view" @click="handleSign(row)" v-if="row.signingStatus=='未签收' ">签 收</el-button>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
</el-table> |
|
|
|
|
</el-row> |
|
|
|
|
<!-- <el-row>--> |
|
|
|
|
<!-- <div class="avue-crud__header">--> |
|
|
|
|
<!-- <!– 头部左侧按钮模块 –>--> |
|
|
|
|
<!-- <div class="avue-crud__left">--> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleCustom" plain>预 约 列 表</el-button>--> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleOrder(this.packpage)" plain>订 单 列 表</el-button>--> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handlePackage(this.packpage)" plain>包 件 列 表</el-button>--> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleInventory(this.packpage)" plain>库 存 品 列 表</el-button>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </el-row>--> |
|
|
|
|
<el-tabs type="border-card" v-model="activeTab" @tab-click="handleTabClick" > |
|
|
|
|
<el-tab-pane label="预 约 列 表" name="tab1"> |
|
|
|
|
|
|
|
|
|
<el-row v-if="inventory" > |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="inventorydata" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border" |
|
|
|
|
v-if="inventory" |
|
|
|
|
> |
|
|
|
|
<el-table-column type="expand" v-if="inventoryoption.expand" align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in inventoryoption.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
align="center" |
|
|
|
|
: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-view" @click="handleSign(row)" v-if="row.signingStatus=='未签收' ">签 收</el-button>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
</el-table> |
|
|
|
|
</el-row> |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="data" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border" |
|
|
|
|
> |
|
|
|
|
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in option.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
align="center" |
|
|
|
|
: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 size="small" @click="handleEdit(slotProps.scope)">编 辑</el-button>--> |
|
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleOne(row)" v-if="deliverydata.deliveryNumber > deliverydata.loadNub">一 键 装 车</el-button> |
|
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleSign(row)" v-if="row.signingStatus=='未签收' ">签 收</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
|
<el-tab-pane label="订 单 列 表" name="tab2"> |
|
|
|
|
|
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="orddata" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border" |
|
|
|
|
> |
|
|
|
|
<el-table-column type="expand" v-if="ordoption.expand" align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in ordoption.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
align="center" |
|
|
|
|
:width="item.width" |
|
|
|
|
:key="index"> |
|
|
|
|
</el-table-column> |
|
|
|
|
</template> |
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
<el-tab-pane label="包 件 列 表" name="tab3"> |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="packdata" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border" |
|
|
|
|
> |
|
|
|
|
<el-table-column type="expand" v-if="wrapoption.expand" align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in wrapoption.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
align="center" |
|
|
|
|
:width="item.width" |
|
|
|
|
:key="index"> |
|
|
|
|
</el-table-column> |
|
|
|
|
</template> |
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
|
|
<div class="avue-crud__pagination" style="width:100%"> |
|
|
|
|
<!-- 分页模块 --> |
|
|
|
|
<el-pagination align="right" |
|
|
|
|
background |
|
|
|
|
@size-change="psizeChange" |
|
|
|
|
@current-change="pcurrentChange" |
|
|
|
|
:current-page="packpage.currentPage" |
|
|
|
|
:page-sizes="[10, 20, 30, 40, 50, 100]" |
|
|
|
|
:page-size="packpage.pageSize" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
|
:total="packpage.total"> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
|
<el-tab-pane label="库 存 品 列 表" name="tab4"> |
|
|
|
|
|
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="inventorydata" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border" |
|
|
|
|
> |
|
|
|
|
<el-table-column type="expand" v-if="inventoryoption.expand" align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in inventoryoption.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
align="center" |
|
|
|
|
: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-view" @click="handleSign(row)" v-if="row.signingStatus=='未签收' ">签 收</el-button>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
</el-table> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
|
<el-row v-if="pake" > |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
|
:data="packdata" |
|
|
|
|
:height="height" |
|
|
|
|
style="width: 100%" |
|
|
|
|
:border="option.border" |
|
|
|
|
v-if="pake" |
|
|
|
|
> |
|
|
|
|
<el-table-column type="expand" v-if="wrapoption.expand" align="center"></el-table-column> |
|
|
|
|
<template v-for="(item,index) in wrapoption.column"> |
|
|
|
|
<!-- table字段 --> |
|
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
align="center" |
|
|
|
|
:width="item.width" |
|
|
|
|
:key="index"> |
|
|
|
|
</el-table-column> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
|
|
<div class="avue-crud__pagination" style="width:100%"> |
|
|
|
|
<!-- 分页模块 --> |
|
|
|
|
<el-pagination align="right" |
|
|
|
|
background |
|
|
|
|
@size-change="psizeChange" |
|
|
|
|
@current-change="pcurrentChange" |
|
|
|
|
:current-page="packpage.currentPage" |
|
|
|
|
:page-sizes="[10, 20, 30, 40, 50, 100]" |
|
|
|
|
:page-size="packpage.pageSize" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
|
:total="packpage.total"> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<div class="avue-crud__pagination" style="width:100%"> |
|
|
|
|
<!-- 分页模块 --> |
|
|
|
@ -320,12 +318,15 @@ export default {
|
|
|
|
|
search: true, |
|
|
|
|
//是否显示新增 |
|
|
|
|
isadd: false, |
|
|
|
|
deliverydata:{}, |
|
|
|
|
deliverydata:{ |
|
|
|
|
reservationList:[], |
|
|
|
|
}, |
|
|
|
|
// 加载中 |
|
|
|
|
loading: true, |
|
|
|
|
//查看按钮 |
|
|
|
|
edt:false, |
|
|
|
|
|
|
|
|
|
activeTab:'tab1', |
|
|
|
|
previousTab: null, |
|
|
|
|
//隐藏 |
|
|
|
|
pake:false, |
|
|
|
|
cus:true, |
|
|
|
@ -779,15 +780,15 @@ export default {
|
|
|
|
|
// this.isadd =false; |
|
|
|
|
// this.query.masterId = null; |
|
|
|
|
// this.masterId = null; |
|
|
|
|
if (!!this.$route.query.data) { |
|
|
|
|
// //做一些路由变化的响应 |
|
|
|
|
// // this.isadd =true; |
|
|
|
|
// this.query.masterId = this.$route.query.data; |
|
|
|
|
// this.masterId = this.$route.query.data; |
|
|
|
|
//重新获取数据 |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
} else { |
|
|
|
|
} |
|
|
|
|
// if (!!this.$route.query.data) { |
|
|
|
|
// // //做一些路由变化的响应 |
|
|
|
|
// // // this.isadd =true; |
|
|
|
|
// // this.query.masterId = this.$route.query.data; |
|
|
|
|
// // this.masterId = this.$route.query.data; |
|
|
|
|
// //重新获取数据 |
|
|
|
|
// this.onLoad(this.page); |
|
|
|
|
// } else { |
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
@ -841,6 +842,24 @@ export default {
|
|
|
|
|
init() { |
|
|
|
|
this.height = this.setPx(document.body.clientHeight - 340); |
|
|
|
|
}, |
|
|
|
|
handleTabClick(tab, event){ |
|
|
|
|
console.log("tab>>>>>>>>", tab.paneName); |
|
|
|
|
let tabName = tab.paneName |
|
|
|
|
switch (tabName){ |
|
|
|
|
case 'tab1': |
|
|
|
|
console.log("ssss") |
|
|
|
|
break; |
|
|
|
|
case 'tab2': |
|
|
|
|
console.log("ssss") |
|
|
|
|
break; |
|
|
|
|
case 'tab3': |
|
|
|
|
console.log("ssss") |
|
|
|
|
break; |
|
|
|
|
case 'tab4': |
|
|
|
|
console.log("ssss") |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
searchHide() { |
|
|
|
|
this.search = !this.search; |
|
|
|
|
}, |
|
|
|
@ -927,14 +946,10 @@ export default {
|
|
|
|
|
let params={} |
|
|
|
|
params.deliveryId = this.$route.query.id |
|
|
|
|
getorddetail(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
|
|
|
|
console.log("查看>>>>>sss>>",res.data.data); |
|
|
|
|
console.log("查看>>>>>订单>>",res.data.data); |
|
|
|
|
const data =res.data.data |
|
|
|
|
this.orddata = data.records |
|
|
|
|
this.ordpage.total = data.total |
|
|
|
|
this.cus =false |
|
|
|
|
this.pake =false |
|
|
|
|
this.ord =true |
|
|
|
|
this.inventory =false |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
//包件列表 |
|
|
|
@ -942,14 +957,10 @@ export default {
|
|
|
|
|
let params={} |
|
|
|
|
params.deliveryId = this.$route.query.id |
|
|
|
|
getpackdetail(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
|
|
|
|
console.log("查看>>>>>sss>>",res.data.data); |
|
|
|
|
console.log("查看>>>>>包间>>",res.data.data); |
|
|
|
|
const data =res.data.data |
|
|
|
|
this.packdata = data.records |
|
|
|
|
this.packpage.total = data.total |
|
|
|
|
this.cus =false |
|
|
|
|
this.inventory =false |
|
|
|
|
this.pake =true |
|
|
|
|
this.ord =false |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
@ -958,14 +969,10 @@ export default {
|
|
|
|
|
let params={} |
|
|
|
|
params.deliveryId = this.$route.query.id |
|
|
|
|
getinventorydetail(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
|
|
|
|
console.log("查看>>>>>sss>>",res.data.data); |
|
|
|
|
console.log("查看>>>>>库存>>",res.data.data); |
|
|
|
|
const data =res.data.data |
|
|
|
|
this.inventorydata = data.records |
|
|
|
|
this.inventorypage.total = data.total |
|
|
|
|
this.cus =false |
|
|
|
|
this.pake =false |
|
|
|
|
this.ord =false |
|
|
|
|
this.inventory =true |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
handleAdd() { |
|
|
|
@ -1068,6 +1075,7 @@ export default {
|
|
|
|
|
this.view = false; |
|
|
|
|
}, |
|
|
|
|
selectionChange(list) { |
|
|
|
|
console.log("sllsls"); |
|
|
|
|
this.selectionList = list; |
|
|
|
|
}, |
|
|
|
|
selectionClear() { |
|
|
|
@ -1116,14 +1124,20 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
onLoad() { |
|
|
|
|
//查询详情 |
|
|
|
|
const data = decodeURIComponent(this.$route.query.data); |
|
|
|
|
this.deliverydata = JSON.parse(data); |
|
|
|
|
console.log("data>>>>>>>>", this.deliverydata); |
|
|
|
|
this.loading = true; |
|
|
|
|
let id = this.$route.query.id; |
|
|
|
|
let id = this.deliverydata.id; |
|
|
|
|
getDetail(id).then(res => { |
|
|
|
|
console.log("res.data>>>>>>>>>>>>",res.data.data); |
|
|
|
|
const data = res.data.data |
|
|
|
|
this.deliverydata = data |
|
|
|
|
//this.deliverydata = data |
|
|
|
|
this.data = data.reservationList |
|
|
|
|
}); |
|
|
|
|
this.handleOrder(this.packpage); |
|
|
|
|
this.handlePackage(this.packpage); |
|
|
|
|
this.handleInventory(this.packpage); |
|
|
|
|
this.loading = false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|