修正表单远程关联字段显示

修正发货单物流信息无法填写
修正发货单直营物流信息无法填写
去掉没有使用的字段类型
This commit is contained in:
2021-02-25 02:26:58 +08:00
parent 1c5cfaf2b9
commit 98af69e9e4
18 changed files with 1419 additions and 1556 deletions
@@ -390,7 +390,7 @@ class DeliveryController extends WorkflowController
DB::table('stock_delivery')->where('id', $id)->update($gets);
return $this->json('物流信息提交成功。', true);
}
$file = base_path().'/addons/'.ucfirst(Request::module()).'/views/'.Request::controller().'/'.Request::action().'.xml';
$file = base_path().'/app/Gdoo/'.ucfirst(Request::module()).'/views/'.Request::controller().'/'.Request::action().'.xml';
$id = Request::get('id');
$row = Delivery::find($id);
$freight_quantity = floatval($row['freight_quantity']);
@@ -404,7 +404,7 @@ class DeliveryController extends WorkflowController
$row['freight_quantity'] = $quantity;
$row['freight_weight'] = $weight;
}
$form = Form::make1(['table' => 'stock_delivery', 'file' => $file, 'row' => $row]);
$form = Form::make2(['table' => 'stock_delivery', 'file' => $file, 'row' => $row]);
return $form;
}