|  | @@ -397,122 +397,84 @@ export default {
 | 
											
												
													
														|  |        this.goodsOptionCrud.searchMenuSpan = num * 8;
 |  |        this.goodsOptionCrud.searchMenuSpan = num * 8;
 | 
											
												
													
														|  |        this.goodsOptionCrud.searchMenuPosition = "right";
 |  |        this.goodsOptionCrud.searchMenuPosition = "right";
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  | -    if(this.roleName.indexOf('总调度') !== -1||this.roleName.indexOf('分管调度') !== -1||this.roleName.indexOf('车队') !== -1){
 |  | 
 | 
											
												
													
														|  | 
 |  | +    if(this.roleName.indexOf('总调度') !== -1||this.roleName.indexOf('分管调度') !== -1){
 | 
											
												
													
														|  |        this.goodsOptionCrud.menu = false;
 |  |        this.goodsOptionCrud.menu = false;
 | 
											
												
													
														|  |        // this.goodsOptionCrud.column.forEach((item,index)=>{
 |  |        // this.goodsOptionCrud.column.forEach((item,index)=>{
 | 
											
												
													
														|  |        //   if (item.prop === 'corpShortName'){
 |  |        //   if (item.prop === 'corpShortName'){
 | 
											
												
													
														|  |        //     this.goodsOptionCrud.column.splice(index, 1)
 |  |        //     this.goodsOptionCrud.column.splice(index, 1)
 | 
											
												
													
														|  |        //   }
 |  |        //   }
 | 
											
												
													
														|  |        // })
 |  |        // })
 | 
											
												
													
														|  | -      if (this.roleName.indexOf('车队') !== -1){
 |  | 
 | 
											
												
													
														|  | -        for (let item of this.goodsOptionCrud.column){
 |  | 
 | 
											
												
													
														|  | -          if (item.prop === 'dispatchDeptName') return false
 |  | 
 | 
											
												
													
														|  | -        }
 |  | 
 | 
											
												
													
														|  | -        return this.goodsOptionCrud.column.push(
 |  | 
 | 
											
												
													
														|  | -            {
 |  | 
 | 
											
												
													
														|  | -              label: '物流运输',
 |  | 
 | 
											
												
													
														|  | -              prop: 'dispatchDeptName',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 3,
 |  | 
 | 
											
												
													
														|  | -              width: 140
 |  | 
 | 
											
												
													
														|  | -            },{
 |  | 
 | 
											
												
													
														|  | -              label: '运输调度',
 |  | 
 | 
											
												
													
														|  | -              prop: 'dispatcherName',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 3,
 |  | 
 | 
											
												
													
														|  | -              width: 140,
 |  | 
 | 
											
												
													
														|  | -            },{
 |  | 
 | 
											
												
													
														|  | -              label: '车队',
 |  | 
 | 
											
												
													
														|  | -              width: 200,
 |  | 
 | 
											
												
													
														|  | -              search: true,
 |  | 
 | 
											
												
													
														|  | -              index: 9,
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              prop: 'fleetShortName'
 |  | 
 | 
											
												
													
														|  | -            },{
 |  | 
 | 
											
												
													
														|  | -              label: '应付运费',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 14,
 |  | 
 | 
											
												
													
														|  | -              prop: 'landAmountC'
 |  | 
 | 
											
												
													
														|  | -            }, {
 |  | 
 | 
											
												
													
														|  | -              label: '应付杂费',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 15,
 |  | 
 | 
											
												
													
														|  | -              prop: 'extraAmountC'
 |  | 
 | 
											
												
													
														|  | -            }, {
 |  | 
 | 
											
												
													
														|  | -              label: '应付杂费明细',
 |  | 
 | 
											
												
													
														|  | -              width: 100,
 |  | 
 | 
											
												
													
														|  | -              index: 18,
 |  | 
 | 
											
												
													
														|  | -              prop: 'extraAmountItemC'
 |  | 
 | 
											
												
													
														|  | -            })
 |  | 
 | 
											
												
													
														|  | -      }else {
 |  | 
 | 
											
												
													
														|  | -        for (let item of this.goodsOptionCrud.column){
 |  | 
 | 
											
												
													
														|  | -          if (item.prop === 'dispatchDeptName') return false
 |  | 
 | 
											
												
													
														|  | -        }
 |  | 
 | 
											
												
													
														|  | -        return this.goodsOptionCrud.column.push(
 |  | 
 | 
											
												
													
														|  | -            {
 |  | 
 | 
											
												
													
														|  | -              label: '客户名称',
 |  | 
 | 
											
												
													
														|  | -              prop: 'corpShortName',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 1,
 |  | 
 | 
											
												
													
														|  | -              width: 140,
 |  | 
 | 
											
												
													
														|  | -              search: true,
 |  | 
 | 
											
												
													
														|  | -            },{
 |  | 
 | 
											
												
													
														|  | -              label: '运输调度',
 |  | 
 | 
											
												
													
														|  | -              prop: 'dispatcherName',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 3,
 |  | 
 | 
											
												
													
														|  | -              width: 140,
 |  | 
 | 
											
												
													
														|  | -            }, {
 |  | 
 | 
											
												
													
														|  | -              label: '业务员',
 |  | 
 | 
											
												
													
														|  | -              prop: 'salesmanName',
 |  | 
 | 
											
												
													
														|  | -              index: 2,
 |  | 
 | 
											
												
													
														|  | -              width: 140,
 |  | 
 | 
											
												
													
														|  | -            },{
 |  | 
 | 
											
												
													
														|  | -              label: '应收运费',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 11,
 |  | 
 | 
											
												
													
														|  | -              prop: 'landAmountD'
 |  | 
 | 
											
												
													
														|  | -            }, {
 |  | 
 | 
											
												
													
														|  | -              label: '应收杂费',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 12,
 |  | 
 | 
											
												
													
														|  | -              prop: 'extraAmountD'
 |  | 
 | 
											
												
													
														|  | -            }, {
 |  | 
 | 
											
												
													
														|  | -              label: '应收杂费明细',
 |  | 
 | 
											
												
													
														|  | -              width: 100,
 |  | 
 | 
											
												
													
														|  | -              index: 17,
 |  | 
 | 
											
												
													
														|  | -              prop: 'extraAmountItemD'
 |  | 
 | 
											
												
													
														|  | -            },{
 |  | 
 | 
											
												
													
														|  | -              label: '车队',
 |  | 
 | 
											
												
													
														|  | -              width: 100,
 |  | 
 | 
											
												
													
														|  | -              search: true,
 |  | 
 | 
											
												
													
														|  | -              index: 9,
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              prop: 'fleetShortName'
 |  | 
 | 
											
												
													
														|  | -            },{
 |  | 
 | 
											
												
													
														|  | -              label: '应付运费',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 14,
 |  | 
 | 
											
												
													
														|  | -              prop: 'landAmountC'
 |  | 
 | 
											
												
													
														|  | -            }, {
 |  | 
 | 
											
												
													
														|  | -              label: '应付杂费',
 |  | 
 | 
											
												
													
														|  | -              overHidden: true,
 |  | 
 | 
											
												
													
														|  | -              index: 15,
 |  | 
 | 
											
												
													
														|  | -              prop: 'extraAmountC'
 |  | 
 | 
											
												
													
														|  | -            }, {
 |  | 
 | 
											
												
													
														|  | -              label: '利润',
 |  | 
 | 
											
												
													
														|  | -              width: 100,
 |  | 
 | 
											
												
													
														|  | -              precision: 2,
 |  | 
 | 
											
												
													
														|  | -              index: 16,
 |  | 
 | 
											
												
													
														|  | -              type: 'number',
 |  | 
 | 
											
												
													
														|  | -              prop: 'profit'
 |  | 
 | 
											
												
													
														|  | -            }, {
 |  | 
 | 
											
												
													
														|  | -              label: '应付杂费明细',
 |  | 
 | 
											
												
													
														|  | -              width: 100,
 |  | 
 | 
											
												
													
														|  | -              index: 18,
 |  | 
 | 
											
												
													
														|  | -              prop: 'extraAmountItemC'
 |  | 
 | 
											
												
													
														|  | -            })
 |  | 
 | 
											
												
													
														|  | 
 |  | +      for (let item of this.goodsOptionCrud.column){
 | 
											
												
													
														|  | 
 |  | +        if (item.prop === 'dispatchDeptName') return false
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | 
 |  | +      return this.goodsOptionCrud.column.push({
 | 
											
												
													
														|  | 
 |  | +        label: '运输调度',
 | 
											
												
													
														|  | 
 |  | +        prop: 'dispatcherName',
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        index: 3,
 | 
											
												
													
														|  | 
 |  | +        width: 140,
 | 
											
												
													
														|  | 
 |  | +      },{
 | 
											
												
													
														|  | 
 |  | +        label: '运输调度',
 | 
											
												
													
														|  | 
 |  | +        prop: 'dispatcherName',
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        index: 3,
 | 
											
												
													
														|  | 
 |  | +        width: 140,
 | 
											
												
													
														|  | 
 |  | +      },{
 | 
											
												
													
														|  | 
 |  | +        label: '物流运输',
 | 
											
												
													
														|  | 
 |  | +        prop: 'dispatchDeptName',
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        index: 3,
 | 
											
												
													
														|  | 
 |  | +        width: 140
 | 
											
												
													
														|  | 
 |  | +      }, {
 | 
											
												
													
														|  | 
 |  | +        label: '业务员',
 | 
											
												
													
														|  | 
 |  | +        prop: 'salesmanName',
 | 
											
												
													
														|  | 
 |  | +        index: 2,
 | 
											
												
													
														|  | 
 |  | +        width: 140,
 | 
											
												
													
														|  | 
 |  | +      },{
 | 
											
												
													
														|  | 
 |  | +        label: '应收运费',
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        index: 11,
 | 
											
												
													
														|  | 
 |  | +        prop: 'landAmountD'
 | 
											
												
													
														|  | 
 |  | +      }, {
 | 
											
												
													
														|  | 
 |  | +        label: '应收杂费',
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        index: 12,
 | 
											
												
													
														|  | 
 |  | +        prop: 'extraAmountD'
 | 
											
												
													
														|  | 
 |  | +      }, {
 | 
											
												
													
														|  | 
 |  | +        label: '应收杂费明细',
 | 
											
												
													
														|  | 
 |  | +        width: 100,
 | 
											
												
													
														|  | 
 |  | +        index: 17,
 | 
											
												
													
														|  | 
 |  | +        prop: 'extraAmountItemD'
 | 
											
												
													
														|  | 
 |  | +      },{
 | 
											
												
													
														|  | 
 |  | +        label: '车队',
 | 
											
												
													
														|  | 
 |  | +        width: 100,
 | 
											
												
													
														|  | 
 |  | +        search: true,
 | 
											
												
													
														|  | 
 |  | +        index: 9,
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        prop: 'fleetShortName'
 | 
											
												
													
														|  | 
 |  | +      },{
 | 
											
												
													
														|  | 
 |  | +        label: '应付运费',
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        index: 14,
 | 
											
												
													
														|  | 
 |  | +        prop: 'landAmountC'
 | 
											
												
													
														|  | 
 |  | +      }, {
 | 
											
												
													
														|  | 
 |  | +        label: '应付杂费',
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        index: 15,
 | 
											
												
													
														|  | 
 |  | +        prop: 'extraAmountC'
 | 
											
												
													
														|  | 
 |  | +      }, {
 | 
											
												
													
														|  | 
 |  | +        label: '利润',
 | 
											
												
													
														|  | 
 |  | +        width: 100,
 | 
											
												
													
														|  | 
 |  | +        precision: 2,
 | 
											
												
													
														|  | 
 |  | +        index: 16,
 | 
											
												
													
														|  | 
 |  | +        type: 'number',
 | 
											
												
													
														|  | 
 |  | +        prop: 'profit'
 | 
											
												
													
														|  | 
 |  | +      }, {
 | 
											
												
													
														|  | 
 |  | +        label: '应付杂费明细',
 | 
											
												
													
														|  | 
 |  | +        width: 100,
 | 
											
												
													
														|  | 
 |  | +        index: 18,
 | 
											
												
													
														|  | 
 |  | +        prop: 'extraAmountItemC'
 | 
											
												
													
														|  | 
 |  | +      })
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |      if(this.roleName.indexOf('客户') !== -1){
 |  |      if(this.roleName.indexOf('客户') !== -1){
 | 
											
												
													
														|  |        this.goodsOptionCrud.menu = true
 |  |        this.goodsOptionCrud.menu = true
 | 
											
										
											
												
													
														|  | @@ -574,6 +536,12 @@ export default {
 | 
											
												
													
														|  |          width: 140,
 |  |          width: 140,
 | 
											
												
													
														|  |          search: true,
 |  |          search: true,
 | 
											
												
													
														|  |        },{
 |  |        },{
 | 
											
												
													
														|  | 
 |  | +        label: '物流运输',
 | 
											
												
													
														|  | 
 |  | +        prop: 'dispatchDeptName',
 | 
											
												
													
														|  | 
 |  | +        overHidden: true,
 | 
											
												
													
														|  | 
 |  | +        index: 3,
 | 
											
												
													
														|  | 
 |  | +        width: 140
 | 
											
												
													
														|  | 
 |  | +      },{
 | 
											
												
													
														|  |          label: '运输调度',
 |  |          label: '运输调度',
 | 
											
												
													
														|  |          prop: 'dispatcherName',
 |  |          prop: 'dispatcherName',
 | 
											
												
													
														|  |          overHidden: true,
 |  |          overHidden: true,
 | 
											
										
											
												
													
														|  | @@ -584,12 +552,6 @@ export default {
 | 
											
												
													
														|  |          overHidden: true,
 |  |          overHidden: true,
 | 
											
												
													
														|  |          index: 14,
 |  |          index: 14,
 | 
											
												
													
														|  |          prop: 'landAmountC'
 |  |          prop: 'landAmountC'
 | 
											
												
													
														|  | -      },{
 |  | 
 | 
											
												
													
														|  | -        label: '物流运输',
 |  | 
 | 
											
												
													
														|  | -        prop: 'dispatchDeptName',
 |  | 
 | 
											
												
													
														|  | -        overHidden: true,
 |  | 
 | 
											
												
													
														|  | -        index: 3,
 |  | 
 | 
											
												
													
														|  | -        width: 140
 |  | 
 | 
											
												
													
														|  |        }, {
 |  |        }, {
 | 
											
												
													
														|  |          label: '业务员',
 |  |          label: '业务员',
 | 
											
												
													
														|  |          prop: 'salesmanName',
 |  |          prop: 'salesmanName',
 | 
											
										
											
												
													
														|  | @@ -850,18 +812,18 @@ export default {
 | 
											
												
													
														|  |            width: 140,
 |  |            width: 140,
 | 
											
												
													
														|  |            search: true,
 |  |            search: true,
 | 
											
												
													
														|  |          },{
 |  |          },{
 | 
											
												
													
														|  | -          label: '运输调度',
 |  | 
 | 
											
												
													
														|  | -          prop: 'dispatcherName',
 |  | 
 | 
											
												
													
														|  | -          overHidden: true,
 |  | 
 | 
											
												
													
														|  | -          index: 3,
 |  | 
 | 
											
												
													
														|  | -          width: 140,
 |  | 
 | 
											
												
													
														|  | -        },{
 |  | 
 | 
											
												
													
														|  |            label: '物流运输',
 |  |            label: '物流运输',
 | 
											
												
													
														|  |            prop: 'dispatchDeptName',
 |  |            prop: 'dispatchDeptName',
 | 
											
												
													
														|  |            overHidden: true,
 |  |            overHidden: true,
 | 
											
												
													
														|  |            index: 3,
 |  |            index: 3,
 | 
											
												
													
														|  |            width: 140
 |  |            width: 140
 | 
											
												
													
														|  |          },{
 |  |          },{
 | 
											
												
													
														|  | 
 |  | +          label: '运输调度',
 | 
											
												
													
														|  | 
 |  | +          prop: 'dispatcherName',
 | 
											
												
													
														|  | 
 |  | +          overHidden: true,
 | 
											
												
													
														|  | 
 |  | +          index: 3,
 | 
											
												
													
														|  | 
 |  | +          width: 140,
 | 
											
												
													
														|  | 
 |  | +        },{
 | 
											
												
													
														|  |            label: '应付运费',
 |  |            label: '应付运费',
 | 
											
												
													
														|  |            overHidden: true,
 |  |            overHidden: true,
 | 
											
												
													
														|  |            index: 14,
 |  |            index: 14,
 |