|
|
@@ -159,7 +159,7 @@
|
|
|
<input v-else type="number" class="form-control form-control-sm" @blur="addWaybillCharge($event)" onfocus="$(this).css('width','85px')" :value="waybill.charge" :data_id="waybill.id" >
|
|
|
<input type="number" class="form-control form-control-sm" @blur="updateWaybillCharge($event)" :value="waybill.charge" :data_id="waybill.id" style="min-width:85px;display: none">
|
|
|
@else
|
|
|
- <td class="td-warm" ><span v-if="waybill.charge">@{{waybill.charge|money}}</span></td>
|
|
|
+ <span v-if="waybill.charge">@{{waybill.charge|money}}</span>
|
|
|
@endcan
|
|
|
</td>
|
|
|
<td class="td-warm"><span>@{{waybill.other_charge}}</span></td>
|
|
|
@@ -883,6 +883,8 @@
|
|
|
{name:'dispatch_remark',value: '调度备注', class:"td-helpful"},
|
|
|
@can('运输管理-运单-删除'){name:'remove',value: '操作', neglect: true, class:"td-delete"},@endcan
|
|
|
];
|
|
|
+ let isOnTop = column[1].name === 'onTop';
|
|
|
+ let couLen = (column[column.length-1].name==='remove' ? column.length : column.length+1)-((isOnTop ? 4 : 3)+15+17);
|
|
|
new Header({
|
|
|
el: "table",
|
|
|
name: "waybill",
|
|
|
@@ -891,11 +893,11 @@
|
|
|
restorationColumn: 'id',
|
|
|
fixedTop:($('#form_div').height())+2,
|
|
|
before : [
|
|
|
- {colspan:'4',value: '', class:"table-header-layer-1"},
|
|
|
+ {colspan:isOnTop ? '4' : '3',value: '', class:"table-header-layer-1"},
|
|
|
{colspan:'15',value: '运单信息',font:"fa fa-file-text-o", class:"table-header-layer-1"},
|
|
|
{colspan:'17',value: '运输信息',font:"fa fa-truck", class:"table-header-layer-1"},
|
|
|
- {colspan:'5',value: '收费信息',font:"fa fa-rmb", class:"table-header-layer-1"},
|
|
|
- @can('运输管理-运单-删除'){colspan:'1',value: '',font:"", class:"table-header-layer-1"},@endcan
|
|
|
+ {colspan:couLen,value: '收费信息',font:"fa fa-rmb", class:"table-header-layer-1"},
|
|
|
+ @can('运输管理-运单-删除'){colspan:'1',value: '',font:"", class:"table-header-layer-1"},@endcan
|
|
|
],
|
|
|
}).init();
|
|
|
},
|