|
|
|
@ -218,7 +218,9 @@
|
|
|
|
|
@selectCheck="selectsc" |
|
|
|
|
@selection="selectionChange" |
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> </template> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<el-text size="small" @click="handleQRCode(slotProps.scope.row)">查看二维码</el-text> |
|
|
|
|
</template> |
|
|
|
|
</tablecmt> |
|
|
|
|
|
|
|
|
|
<!-- <div class="avue-crud__pagination" style="width: 100%"> --> |
|
|
|
@ -235,6 +237,32 @@
|
|
|
|
|
:total="packpage.total" |
|
|
|
|
> |
|
|
|
|
</el-pagination> |
|
|
|
|
|
|
|
|
|
<!-- |
|
|
|
|
v-model:current-page="currentPage4" |
|
|
|
|
v-model:page-size="pageSize4" |
|
|
|
|
:page-sizes="[100, 200, 300, 400]" |
|
|
|
|
:small="small" |
|
|
|
|
:disabled="disabled" |
|
|
|
|
:background="background" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
|
:total="400" |
|
|
|
|
@size-change="handleSizeChange" |
|
|
|
|
@current-change="handleCurrentChange" |
|
|
|
|
--> |
|
|
|
|
|
|
|
|
|
<!-- <el-pagination |
|
|
|
|
align="right" |
|
|
|
|
background |
|
|
|
|
@size-change="sizeChange" |
|
|
|
|
@current-change="currentChange" |
|
|
|
|
:current-page="page.currentPage" |
|
|
|
|
:page-sizes="[30, 50, 80, 120]" |
|
|
|
|
:page-size="page.pageSize" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
|
:total="page.total" |
|
|
|
|
> |
|
|
|
|
</el-pagination> --> |
|
|
|
|
<!-- </div> --> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
|
@ -545,6 +573,22 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
title="二维码" |
|
|
|
|
:visible.sync="dialogVisibleF" |
|
|
|
|
width="780px" |
|
|
|
|
v-model="dialogVisibleF" |
|
|
|
|
> |
|
|
|
|
<div> |
|
|
|
|
<div v-html="html"></div> |
|
|
|
|
</div> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<!-- <el-button type="primary" @click="ddd">导 出</el-button>--> |
|
|
|
|
<el-button type="primary" @click="printTemplate">打 印</el-button> |
|
|
|
|
<el-button @click="dialogVisibleF = false">取 消</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
|
</basic-container> |
|
|
|
|
</template> |
|
|
|
@ -562,6 +606,7 @@ import {
|
|
|
|
|
getpackdetail, |
|
|
|
|
getinventorydetail, |
|
|
|
|
} from '@/api/distribution/distributionDeliveryList'; |
|
|
|
|
import { showOrderPackgeCode } from '@/api/distribution/distributionStockArticle'; |
|
|
|
|
import { update as updatesign, getOneclickq } from '@/api/distribution/distributionSignfor'; |
|
|
|
|
import option from '@/option/basic/basicPdarecords'; |
|
|
|
|
import { mapGetters } from 'vuex'; |
|
|
|
@ -585,6 +630,7 @@ export default {
|
|
|
|
|
dialogVisibleC: false, |
|
|
|
|
dialogVisibleD: false, |
|
|
|
|
dialogVisibleE: false, |
|
|
|
|
dialogVisibleF: false, |
|
|
|
|
deliveryId: null, |
|
|
|
|
Routid: null, |
|
|
|
|
TCloading: false, //提交按钮 |
|
|
|
@ -1214,6 +1260,17 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
wrapoptioncolumn: [ |
|
|
|
|
{ |
|
|
|
|
prop: '', |
|
|
|
|
label: '复选框', |
|
|
|
|
type: 0, |
|
|
|
|
values: '', |
|
|
|
|
width: '55', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: true, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'waybillNumber', |
|
|
|
|
label: '运单号', |
|
|
|
@ -1510,6 +1567,16 @@ export default {
|
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: '', |
|
|
|
|
label: '操作', |
|
|
|
|
type: 6, |
|
|
|
|
values: '', |
|
|
|
|
width: '200', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: 'right', |
|
|
|
|
sortable: false, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
inventoryoptioncolumn: [ |
|
|
|
|
{ |
|
|
|
@ -1794,6 +1861,28 @@ export default {
|
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
//包肩分页信息 |
|
|
|
|
wpage: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
//包肩分页信息 |
|
|
|
|
packpage: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
ordpage: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
inventorypage: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
// 表单数据 |
|
|
|
|
form: {}, |
|
|
|
|
// 签收表单数据 |
|
|
|
@ -2541,28 +2630,6 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
//包肩分页信息 |
|
|
|
|
wpage: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
//包肩分页信息 |
|
|
|
|
packpage: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
ordpage: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
inventorypage: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 30, |
|
|
|
|
total: 40, |
|
|
|
|
}, |
|
|
|
|
// 表单列表 |
|
|
|
|
data: [], |
|
|
|
|
// 签收列表 |
|
|
|
@ -2730,6 +2797,40 @@ export default {
|
|
|
|
|
this.page.currentPage = 1; |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
inputsc() {}, |
|
|
|
|
timesc() {}, |
|
|
|
|
btnsc() {}, |
|
|
|
|
selectsc() {}, |
|
|
|
|
/** |
|
|
|
|
* 查看二维码 |
|
|
|
|
* @param {*} row |
|
|
|
|
*/ |
|
|
|
|
handleQRCode(row) { |
|
|
|
|
// this.title = '查看' |
|
|
|
|
// this.view = true; |
|
|
|
|
// this.box = true; |
|
|
|
|
this.materialQRCode = row; |
|
|
|
|
|
|
|
|
|
let qr = { |
|
|
|
|
ids: row.id, |
|
|
|
|
}; |
|
|
|
|
showOrderPackgeCode(qr).then(res => { |
|
|
|
|
// this.orderPackageCode = res.data |
|
|
|
|
console.log(res.data); |
|
|
|
|
this.html = ''; |
|
|
|
|
this.html = this.getHtmls(res.data.data.dataList, res.data.data.templateHtml); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
this.dialogVisibleF = true; |
|
|
|
|
}, |
|
|
|
|
/** |
|
|
|
|
* 打印 |
|
|
|
|
*/ |
|
|
|
|
printTemplate() { |
|
|
|
|
const orderNodeList = document.querySelectorAll('.el-dialog__body>div>div>div'); |
|
|
|
|
print(orderNodeList); |
|
|
|
|
}, |
|
|
|
|
handleSubmit() { |
|
|
|
|
this.$refs.form.validate(valid => { |
|
|
|
|
if (valid) { |
|
|
|
|