Browse Source

司机添加warehouse_id字段,判除String和Array

fix_bug_pro20231227
kilo 1 year ago
parent
commit
4d91cbdf5d
  1. 7
      src/views/basicdata/driverArtery/basicdataDriverArtery.vue
  2. 23
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue

7
src/views/basicdata/driverArtery/basicdataDriverArtery.vue

@ -638,8 +638,11 @@ export default {
row.bindVehicles = row.bindVehicles.join(',');
console.log(row.bindVehicles);
}
row.warehouseId = row.warehouseId.join(',');//
console.log(row.warehouseId);
if (Array.isArray(row.bindVehicles)) {
row.warehouseId = row.warehouseId.join(',');//
console.log(row.warehouseId);
}
add(row).then(
() => {
this.onLoad(this.page);

23
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -909,9 +909,29 @@ export default {
sortable: true,
head: false,
},
{
prop: 'totalNumber',
label: '包件总数',
type: 2,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'handQuantity',
label: '在库数量',
type: 2,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
{
prop: 'deliveryNumber',
label: '包件数量',
label: '计划数量',
type: 2,
values: '',
width: '180',
@ -1266,6 +1286,7 @@ export default {
fixed: false,
sortable: true,
},
{
prop: 'reservationNum',
label: '计划数量',

Loading…
Cancel
Save