|
|
|
@ -28,9 +28,9 @@
|
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="4"> |
|
|
|
|
<span style="margin-bottom: 2%; font-size:16px"> |
|
|
|
|
<span style="margin-bottom: 2%; font-size: 16px"> |
|
|
|
|
待提货:{{ treatNum }}单/{{ numBill }}件 |
|
|
|
|
</span> |
|
|
|
|
</el-col> |
|
|
|
@ -50,13 +50,10 @@
|
|
|
|
|
>创建自提</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleSign(null, 2)" |
|
|
|
|
>自提签收</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-delete" |
|
|
|
|
@click="handleExportInfo" |
|
|
|
|
plain |
|
|
|
|
>导出 |
|
|
|
|
>自提签收</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleExportInfo" plain |
|
|
|
|
>导出 |
|
|
|
|
</el-button> |
|
|
|
|
</div> |
|
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
@ -338,7 +335,8 @@ import {
|
|
|
|
|
remove, |
|
|
|
|
getListOwn, |
|
|
|
|
getBillLadingDetail, |
|
|
|
|
getListOwnNUm, getBillLadingExport |
|
|
|
|
getListOwnNUm, |
|
|
|
|
getBillLadingExport, |
|
|
|
|
} from '@/api/distribution/distrilbutionBillLading'; |
|
|
|
|
import option from '@/option/distribution/distrilbutionBillLading'; |
|
|
|
|
import { mapGetters } from 'vuex'; |
|
|
|
@ -662,6 +660,7 @@ export default {
|
|
|
|
|
distributionType: [], |
|
|
|
|
costListName: [], |
|
|
|
|
certificateType: [], |
|
|
|
|
|
|
|
|
|
shortcuts: [ |
|
|
|
|
{ |
|
|
|
|
text: '最近一周', |
|
|
|
@ -737,16 +736,17 @@ export default {
|
|
|
|
|
/** |
|
|
|
|
* 导出 |
|
|
|
|
* */ |
|
|
|
|
handleExportInfo(){ |
|
|
|
|
handleExportInfo() { |
|
|
|
|
let row = {}; |
|
|
|
|
if (!!this.ids) { |
|
|
|
|
row.ids = this.ids; |
|
|
|
|
} else { |
|
|
|
|
row.ids = ''; |
|
|
|
|
} |
|
|
|
|
getBillLadingExport(row).then(res => { |
|
|
|
|
console.log(res.data); |
|
|
|
|
downloadXls(res.data, '已确定预约单数据.xlsx'); |
|
|
|
|
downloadXls(res.data, '提货数据.xlsx'); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
showdrawer(value) { |
|
|
|
|
this.drawerShow = value; |
|
|
|
@ -927,7 +927,7 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
//签收 |
|
|
|
|
handleSign(row, num) { |
|
|
|
|
if(num === 2){ |
|
|
|
|
if (num === 2) { |
|
|
|
|
if (this.selectionList.length == 0) { |
|
|
|
|
this.$message.warning('至少选择一条数据!!'); |
|
|
|
|
return; |
|
|
|
@ -1190,7 +1190,7 @@ export default {
|
|
|
|
|
height: 30px !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
:deep(.el-form-item__label){ |
|
|
|
|
padding:0; |
|
|
|
|
:deep(.el-form-item__label) { |
|
|
|
|
padding: 0; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|