|
|
|
@ -3,12 +3,57 @@
|
|
|
|
|
<div class="avue-crud" > |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="5"> |
|
|
|
|
<span style="margin-bottom: 2%;font-size: 20px"> 已通知:500单/1000件 </span> |
|
|
|
|
<span style="margin-bottom: 2%;font-size: 20px"> 待提货:{{page.total}}单/{{page.total}}件 </span> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10"> |
|
|
|
|
<span style="margin-bottom: 2%;font-size: 20px"> 未通知:500单/1000件</span> |
|
|
|
|
<span style="margin-bottom: 2%;font-size: 20px"> 已提货:{{page.total}}单/{{page.total}}件</span> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
</el-row> |
|
|
|
|
<el-row :hidden="!search" style="padding:6px 18px"> |
|
|
|
|
<!-- 查询模块 --> |
|
|
|
|
<el-form :inline="true" :model="query"> |
|
|
|
|
<el-form-item label="订单自编号:"> |
|
|
|
|
<el-input v-model="query.orderCode" placeholder="请输入订单自编号" ></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="入库时间:"> |
|
|
|
|
<!-- <el-input v-model="query.stockupArea" placeholder="请输入备货区"></el-input>--> |
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="stockupDate" |
|
|
|
|
type="datetimerange" |
|
|
|
|
unlink-panels |
|
|
|
|
range-separator="至" |
|
|
|
|
start-placeholder="开始时间" |
|
|
|
|
end-placeholder="结束时间" |
|
|
|
|
:shortcuts="shortcuts" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- <el-form-item label="货物名称:"> |
|
|
|
|
<el-input v-model="query.descriptionGoods" placeholder="请输入货物名称"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="仓库:"> |
|
|
|
|
<el-input v-model="query.warehouse" placeholder="请输入仓库"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="是否齐套:"> |
|
|
|
|
<el-input v-model="query.completeSet" placeholder="请输入是否齐套"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="品牌:"> |
|
|
|
|
<el-input v-model="query.brand" placeholder="请输入品牌"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="服务类型:"> |
|
|
|
|
<el-input v-model="query.typeService" placeholder="请输入服务类型"></el-input> |
|
|
|
|
</el-form-item>--> |
|
|
|
|
<!-- <el-form-item label="类型;1 预约单 2库存单:">--> |
|
|
|
|
<!-- <el-input v-model="query.genre" placeholder="请输入类型;1 预约单 2库存单"></el-input>--> |
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
<!-- <el-form-item label="状态;1 配送 2 待配送:">--> |
|
|
|
|
<!-- <el-input v-model="query.state" placeholder="请输入状态;1 配送 2 待配送"></el-input>--> |
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
<!-- 查询按钮 --> |
|
|
|
|
<el-form-item> |
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="searchChange">搜 索</el-button> |
|
|
|
|
<el-button icon="el-icon-delete" @click="searchReset()">清 空</el-button> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
<!--<el-row :hidden="!search" style="padding:6px 18px"> |
|
|
|
@ -33,6 +78,7 @@
|
|
|
|
|
<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="handleDelete" plain>删 除</el-button>--> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleBillAdd">创建自提</el-button> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">自提签收</el-button> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
@ -57,10 +103,10 @@
|
|
|
|
|
@selection="selectionChange" |
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<el-button size="small" @click="editsolt(slotProps.scope)">修改</el-button> |
|
|
|
|
<el-button size="small" type="danger" @click="delectsolt(slotProps.scope)" |
|
|
|
|
>删除</el-button |
|
|
|
|
> |
|
|
|
|
<!-- <el-button size="small" @click="editsolt(slotProps.scope)">修改</el-button>--> |
|
|
|
|
<el-button type="primary" text icon="el-icon-edit" @click="handleEdits(slotProps.scope)">编辑提货信息</el-button> |
|
|
|
|
<el-button size="small" type="danger" icon="el-icon-edit" text @click="delectsolt(slotProps.scope)">删除</el-button> |
|
|
|
|
<el-button size="small" type="danger" icon="el-icon-edit" text @click="delectsolt(slotProps.scope)">签收</el-button> |
|
|
|
|
</template> |
|
|
|
|
</tablecmt> |
|
|
|
|
</el-row> |
|
|
|
@ -584,6 +630,7 @@ export default {
|
|
|
|
|
view: false, |
|
|
|
|
// 查询信息 |
|
|
|
|
query: {}, |
|
|
|
|
stockupDate:[], |
|
|
|
|
// 分页信息 |
|
|
|
|
page: { |
|
|
|
|
currentPage: 1, |
|
|
|
@ -603,6 +650,35 @@ export default {
|
|
|
|
|
distributionType: [], |
|
|
|
|
costListName: [], |
|
|
|
|
certificateType: [], |
|
|
|
|
shortcuts :[ |
|
|
|
|
{ |
|
|
|
|
text: '最近一周', |
|
|
|
|
value: () => { |
|
|
|
|
const end = new Date() |
|
|
|
|
const start = new Date() |
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7) |
|
|
|
|
return [start, end] |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: '最近一个月', |
|
|
|
|
value: () => { |
|
|
|
|
const end = new Date() |
|
|
|
|
const start = new Date() |
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30) |
|
|
|
|
return [start, end] |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: '最近三个月', |
|
|
|
|
value: () => { |
|
|
|
|
const end = new Date() |
|
|
|
|
const start = new Date() |
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90) |
|
|
|
|
return [start, end] |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -666,7 +742,7 @@ export default {
|
|
|
|
|
this.columnList = newarr; |
|
|
|
|
this.$functions.setStorage(window.location.pathname+'sortlist', headarr); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
selectionsc(value) { |
|
|
|
|
console.log(value); |
|
|
|
@ -784,7 +860,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
async handleSubmit () { |
|
|
|
@ -821,6 +896,29 @@ export default {
|
|
|
|
|
this.form = {} |
|
|
|
|
this.box = true |
|
|
|
|
}, |
|
|
|
|
handleBillAdd () { |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: '/distribution/inventory/distrilbutionBillLading', |
|
|
|
|
query:{ |
|
|
|
|
type: '1' |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
handleEdits (row) { |
|
|
|
|
// this.title = '编辑' |
|
|
|
|
// this.box = true |
|
|
|
|
// getDetail(row.id).then(res => { |
|
|
|
|
// this.form = res.data.data; |
|
|
|
|
// }); |
|
|
|
|
this.$router.push({ |
|
|
|
|
path: '/distribution/inventory/distrilbutionBillLading', |
|
|
|
|
query:{ |
|
|
|
|
id: row.row.id, |
|
|
|
|
name: '编辑提货单', |
|
|
|
|
type: '2' |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
handleEdit (row) { |
|
|
|
|
this.title = '编辑' |
|
|
|
|
this.box = true |
|
|
|
|