|
@@ -111,6 +111,9 @@
|
|
|
<div class="fl">
|
|
|
<el-button type="primary" size="mini" @click="toPrint" :disabled="tableSelection.length < 1">打印发货单
|
|
|
</el-button>
|
|
|
+ <div class="num" v-if="totalNum">
|
|
|
+ 当前列表总发货数量:{{totalNum}}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!-- -->
|
|
|
<div class="fr" style="display: flex;">
|
|
@@ -327,7 +330,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { getSumList } from '@/api/supply/deliver'
|
|
|
-import { checkPassword } from "@/api/supply/pickup";
|
|
|
+import { checkPassword ,getListInvoiceNumber} from "@/api/supply/pickup";
|
|
|
import { getCategoryList, getSalesmanList } from '@/api/common'
|
|
|
import SumPrint from '@/views/supply/deliver/components/sum_print'
|
|
|
|
|
@@ -394,6 +397,7 @@ export default {
|
|
|
tableSelection: [],
|
|
|
queryItem: {},
|
|
|
isShowPrint: false,
|
|
|
+ totalNum:0,
|
|
|
curPaper: {
|
|
|
type: 'A5',
|
|
|
width: 500,
|
|
@@ -558,7 +562,7 @@ export default {
|
|
|
|
|
|
// 查询列表
|
|
|
getList() {
|
|
|
- console.log(888);
|
|
|
+
|
|
|
this.listLoading = true;
|
|
|
let params = {
|
|
|
pageNum: this.currentPage,
|
|
@@ -591,6 +595,11 @@ export default {
|
|
|
this.listTotal = res.data.total;
|
|
|
this.listLoading = false;
|
|
|
})
|
|
|
+ getListInvoiceNumber(params).then(res=>{
|
|
|
+ // console.log(res,'ii');
|
|
|
+ this.totalNum = res.data
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
|
|
|
// 提交筛选表单
|
|
@@ -732,4 +741,12 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+ .num{
|
|
|
+ display: inline-block;
|
|
|
+ font-size: 16px;
|
|
|
+ margin-left: 20px;
|
|
|
+ color: #909399;
|
|
|
+ vertical-align: middle;
|
|
|
+}
|
|
|
+
|
|
|
</style>
|