Browse Source

保健明细

fix_bug_pro20231227
zhangsiyu 2 years ago
parent
commit
17b91bc747
  1. 168
      src/views/warehouse/parcelList/distributionParcelList.vue

168
src/views/warehouse/parcelList/distributionParcelList.vue

@ -30,34 +30,20 @@
</el-row> </el-row>
<el-row> <el-row>
<!-- 列表模块 --> <!-- 列表模块 -->
<el-table ref="table" v-loading="loading" <tablecmt
@selection-change="selectionChange" :columnList="columnList"
:data="data" :tableData="data"
:height="height" :loading="loading"
style="width: 100%" @inputTxt="inputsc"
:border="option.border"> @timeCheck="timesc"
<el-table-column type="selection" v-if="option.selection" width="55" align="center"></el-table-column> @btnCheck="btnsc"
<el-table-column type="expand" v-if="option.expand" align="center"></el-table-column> @selectCheck="selectsc"
<el-table-column v-if="option.index" label="#" type="index" width="50" align="center"> @selection="selectionChange"
</el-table-column> >
<template v-for="(item,index) in option.column"> <template #default="slotProps">
<!-- table字段 --> <el-text size="small" @click="editsolt(slotProps.scope)"> </el-text>
<el-table-column v-if="item.hide!==true"
:prop="item.prop"
:label="item.label"
:width="item.width"
:key="index">
</el-table-column>
</template> </template>
<!-- 操作栏模块 --> </tablecmt>
<!-- <el-table-column prop="menu" label="操作" :width="220" align="center">-->
<!-- <template #="{row}">-->
<!--&lt;!&ndash; <el-button type="primary" text icon="el-icon-view" @click="handleView(row)">查看</el-button>&ndash;&gt;-->
<!--&lt;!&ndash; <el-button type="primary" text icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button>&ndash;&gt;-->
<!--&lt;!&ndash; <el-button type="primary" text icon="el-icon-delete" @click="rowDel(row)">删除</el-button>&ndash;&gt;-->
<!-- </template>-->
<!-- </el-table-column>-->
</el-table>
</el-row> </el-row>
<el-row> <el-row>
<div class="avue-crud__pagination" style="width:100%"> <div class="avue-crud__pagination" style="width:100%">
@ -146,6 +132,133 @@ import { mapGetters } from "vuex";
export default { export default {
data () { data () {
return { return {
columnList: [
{
prop: 'warehouse',
label: '仓库',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false,
},
{
prop: 'orderPackageCode',
label: '包条码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false,
},
{
prop: 'goodsAllocation',
label: '货位信息',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false,
},
{
prop: 'pallet',
label: '所在托盘',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
head: false,
},
{
prop: 'firsts',
label: '一级品',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'second',
label: '二级品',
type: 1,
values: '',
width: '300',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'thirdProduct',
label: '三级品',
type: 1,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'orderPackageGroundingStatusName',
label: '上架状态',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'allocationMsg',
label: '货位信息',
type: 1,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'quantity',
label: '数量',
type: 2,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
isshowSummary:true,
},
{
prop: 'trainNumber',
label: '车次号',
type: 2,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'orderCode',
label: '订单自编号',
type: 2,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
],
height: 0, height: 0,
// //
title: '', title: '',
@ -294,7 +407,6 @@ export default {
}, },
selectionClear () { selectionClear () {
this.selectionList = []; this.selectionList = [];
this.$refs.table.clearSelection();
}, },
currentChange (currentPage) { currentChange (currentPage) {
this.page.currentPage = currentPage; this.page.currentPage = currentPage;

Loading…
Cancel
Save