|
|
@ -35,18 +35,21 @@ |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
<el-divider>作业时间</el-divider> |
|
|
|
<el-divider>作业时间</el-divider> |
|
|
|
<el-row :gutter="24" class="rows"> |
|
|
|
<el-row :gutter="24" class="rows"> |
|
|
|
<el-col :xl="7" :lg="7" :md="8" :sm="24"> |
|
|
|
<el-col :xl="6" :lg="7" :md="8" :sm="24"> |
|
|
|
<span>创建时间:{{deliverydata.createTime}} </span> |
|
|
|
<span>创建时间:{{deliverydata.createTime}} </span> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<!-- <el-col :xl="7" :lg="7" :md="8" :sm="24">--> |
|
|
|
<!-- <el-col :xl="7" :lg="7" :md="8" :sm="24">--> |
|
|
|
<!-- <span>备货时间:{{deliverydata.leadTime}} </span>--> |
|
|
|
<!-- <span>备货时间:{{deliverydata.leadTime}} </span>--> |
|
|
|
<!-- </el-col> --> |
|
|
|
<!-- </el-col> --> |
|
|
|
<el-col :xl="7" :lg="7" :md="8" :sm="24"> |
|
|
|
<el-col :xl="6" :lg="7" :md="8" :sm="24"> |
|
|
|
<span>出库时间:{{deliverydata.outboundDate}} </span> |
|
|
|
<span>出库时间:{{deliverydata.outboundDate}} </span> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :xl="7" :lg="7" :md="8" :sm="24"> |
|
|
|
<el-col :xl="6" :lg="7" :md="8" :sm="24"> |
|
|
|
<span>装车时间:{{deliverydata.loadingTime}} </span> |
|
|
|
<span>装车时间:{{deliverydata.loadingTime}} </span> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
<el-col :xl="6" :lg="7" :md="8" :sm="24"> |
|
|
|
|
|
|
|
<span>配送时间:{{deliverydata.taskTime}} </span> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
<el-divider>配送情况</el-divider> |
|
|
|
<el-divider>配送情况</el-divider> |
|
|
|
<el-row :gutter="24" class="rows"> |
|
|
|
<el-row :gutter="24" class="rows"> |
|
|
@ -128,20 +131,23 @@ |
|
|
|
style="width: 100%" |
|
|
|
style="width: 100%" |
|
|
|
:border="option.border" |
|
|
|
:border="option.border" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column> |
|
|
|
<!-- align="center"--> |
|
|
|
|
|
|
|
<el-table-column type="expand" v-if="option.expand" ></el-table-column> |
|
|
|
<template v-for="(item,index) in option.column"> |
|
|
|
<template v-for="(item,index) in option.column"> |
|
|
|
<!-- table字段 --> |
|
|
|
<!-- table字段 --> |
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
:prop="item.prop" |
|
|
|
:prop="item.prop" |
|
|
|
:label="item.label" |
|
|
|
:label="item.label" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:align="center" |
|
|
|
|
|
|
|
:width="item.width" |
|
|
|
:width="item.width" |
|
|
|
:key="index"> |
|
|
|
:key="index"> |
|
|
|
|
|
|
|
<!-- :align="center"--> |
|
|
|
|
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<!-- 操作栏模块 --> |
|
|
|
<!-- 操作栏模块 --> |
|
|
|
<el-table-column prop="menu" label="操作" :width="250" align="center"> |
|
|
|
<!-- align="center"--> |
|
|
|
|
|
|
|
<el-table-column prop="menu" label="操作" :width="250" > |
|
|
|
<template #="{row}"> |
|
|
|
<template #="{row}"> |
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleView(row)">查 看 |
|
|
|
<el-button type="primary" text icon="el-icon-view" @click="handleView(row)">查 看 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
@ -173,16 +179,18 @@ |
|
|
|
style="width: 100%" |
|
|
|
style="width: 100%" |
|
|
|
:border="option.border" |
|
|
|
:border="option.border" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-table-column type="expand" v-if="ordoption.expand" align="center"></el-table-column> |
|
|
|
<!-- align="center"--> |
|
|
|
|
|
|
|
<el-table-column type="expand" v-if="ordoption.expand" ></el-table-column> |
|
|
|
<template v-for="(item,index) in ordoption.column"> |
|
|
|
<template v-for="(item,index) in ordoption.column"> |
|
|
|
<!-- table字段 --> |
|
|
|
<!-- table字段 --> |
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
:prop="item.prop" |
|
|
|
:prop="item.prop" |
|
|
|
:label="item.label" |
|
|
|
:label="item.label" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:align="center" |
|
|
|
|
|
|
|
:width="item.width" |
|
|
|
:width="item.width" |
|
|
|
:key="index"> |
|
|
|
:key="index"> |
|
|
|
|
|
|
|
<!-- :align="center" |
|
|
|
|
|
|
|
--> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -197,16 +205,19 @@ |
|
|
|
style="width: 100%" |
|
|
|
style="width: 100%" |
|
|
|
:border="option.border" |
|
|
|
:border="option.border" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-table-column type="expand" v-if="wrapoption.expand" align="center"></el-table-column> |
|
|
|
<!-- align="center"-->center |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column type="expand" v-if="wrapoption.expand" ></el-table-column> |
|
|
|
<template v-for="(item,index) in wrapoption.column"> |
|
|
|
<template v-for="(item,index) in wrapoption.column"> |
|
|
|
<!-- table字段 --> |
|
|
|
<!-- table字段 --> |
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
:prop="item.prop" |
|
|
|
:prop="item.prop" |
|
|
|
:label="item.label" |
|
|
|
:label="item.label" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:align="center" |
|
|
|
|
|
|
|
:width="item.width" |
|
|
|
:width="item.width" |
|
|
|
:key="index"> |
|
|
|
:key="index"> |
|
|
|
|
|
|
|
<!-- :align="center"--> |
|
|
|
|
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -244,9 +255,10 @@ |
|
|
|
:prop="item.prop" |
|
|
|
:prop="item.prop" |
|
|
|
:label="item.label" |
|
|
|
:label="item.label" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:align="center" |
|
|
|
|
|
|
|
:width="item.width" |
|
|
|
:width="item.width" |
|
|
|
:key="index"> |
|
|
|
:key="index"> |
|
|
|
|
|
|
|
<!-- :align="center"--> |
|
|
|
|
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<!-- 操作栏模块 --> |
|
|
|
<!-- 操作栏模块 --> |
|
|
@ -316,22 +328,23 @@ |
|
|
|
:height="height" |
|
|
|
:height="height" |
|
|
|
style="width: 100%" |
|
|
|
style="width: 100%" |
|
|
|
:border="option.border"> |
|
|
|
:border="option.border"> |
|
|
|
<el-table-column type="expand" v-if="option.expand" :align="center"></el-table-column> |
|
|
|
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column> |
|
|
|
<template v-for="(item,index) in wrapoption.column"> |
|
|
|
<template v-for="(item,index) in wrapoption.column"> |
|
|
|
<!-- table字段 --> |
|
|
|
<!-- table字段 --> |
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
<el-table-column v-if="item.hide!==true" |
|
|
|
:prop="item.prop" |
|
|
|
:prop="item.prop" |
|
|
|
:label="item.label" |
|
|
|
:label="item.label" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:show-overflow-tooltip="true" |
|
|
|
:align="center" |
|
|
|
|
|
|
|
:width="item.width" |
|
|
|
:width="item.width" |
|
|
|
:key="index"> |
|
|
|
:key="index"> |
|
|
|
|
|
|
|
<!-- :align="center"--> |
|
|
|
|
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
<div class="avue-crud__pagination" style="width:100%"> |
|
|
|
<div class="avue-crud__pagination" style="width:100%"> |
|
|
|
<!-- 分页模块 --> |
|
|
|
<!-- 分页模块 --> |
|
|
|
<el-pagination :align="center" |
|
|
|
<el-pagination |
|
|
|
background |
|
|
|
background |
|
|
|
@size-change="wsizeChange" |
|
|
|
@size-change="wsizeChange" |
|
|
|
@current-change="wcurrentChange" |
|
|
|
@current-change="wcurrentChange" |
|
|
@ -340,6 +353,7 @@ |
|
|
|
:page-size="wpage.pageSize" |
|
|
|
:page-size="wpage.pageSize" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
:total="wpage.total"> |
|
|
|
:total="wpage.total"> |
|
|
|
|
|
|
|
<!-- :align="center"--> |
|
|
|
</el-pagination> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 表单按钮 --> |
|
|
|
<!-- 表单按钮 --> |
|
|
@ -1075,7 +1089,9 @@ |
|
|
|
'$route.data': { |
|
|
|
'$route.data': { |
|
|
|
handler(newVal, oldVal) { |
|
|
|
handler(newVal, oldVal) { |
|
|
|
console.log(newVal, oldVal); |
|
|
|
console.log(newVal, oldVal); |
|
|
|
this.fetchData(); |
|
|
|
if (this.$router.data){ |
|
|
|
|
|
|
|
this.fetchData(); |
|
|
|
|
|
|
|
} |
|
|
|
this.onLoad(this.page); |
|
|
|
this.onLoad(this.page); |
|
|
|
}, |
|
|
|
}, |
|
|
|
deep: true, |
|
|
|
deep: true, |
|
|
|