用车需求物料明细
@@ -158,6 +158,7 @@
import { mixinDevice } from '@/utils/mixin'
import { postAction } from '@/api/manage'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+ import moment from 'moment'
import VehicleDemandModal from './modules/VehicleDemandModal'
import DeliveryDemand from '../deliverydemand/DeliveryDemand.vue';
import VehicleDemandCountList from '../vehicledemandcount/VehicleDemandCountList.vue'
@@ -173,13 +174,17 @@
data () {
return {
description: '用车需求管理页面',
+ queryParam: {
+ shipDate_begin: moment().format('YYYY-MM-DD'),
+ shipDate_end: moment().format('YYYY-MM-DD'),
+ },
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
- width:60,
+ width:40,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
@@ -189,6 +194,7 @@
title:'发货日期',
align:"center",
dataIndex: 'shipDate',
+ width: 100,
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
@@ -196,22 +202,26 @@
{
title:'发货类型',
align:"center",
- dataIndex: 'shipType_dictText'
+ dataIndex: 'shipType_dictText',
+ width: 70,
},
{
title:'料号',
align:"center",
- dataIndex: 'pn'
+ dataIndex: 'pn',
+ width: 100,
},
{
title:'预计装车总托数',
align:"center",
- dataIndex: 'totalPallets'
+ dataIndex: 'totalPallets',
+ width: 105,
},
{
title:'总发货数量',
align:"center",
- dataIndex: 'totalShips'
+ dataIndex: 'totalShips',
+ width: 90,
},
// {
// title:'送货区域',
@@ -221,24 +231,27 @@
{
title:'送货地点',
align:"center",
- dataIndex: 'deliveryAddress_dictText'
+ dataIndex: 'deliveryAddress',
+ width: 70,
},
{
title:'取货仓库',
align:"center",
- dataIndex: 'pickUpHub_dictText'
+ dataIndex: 'pickUpHub',
+ width: 70,
},
{
title:'用车需求编号',
align:"center",
- dataIndex: 'vdNo'
+ dataIndex: 'vdNo',
+ width: 110,
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
- width:147,
+ width:170,
scopedSlots: { customRender: 'action' }
}
],