|
@@ -129,10 +129,22 @@ class Out extends Core
|
|
|
|
|
|
$print = Dever::load('mshop/lib/feieyun');
|
|
|
|
|
|
+ $cdate = date('Y-m-d H:i', $data['cdate']);
|
|
|
+
|
|
|
+ $config = Dever::db('shop/out_order')->config;
|
|
|
+
|
|
|
+ $status = $config['config_status'][$data['status']];
|
|
|
+
|
|
|
+ $out_type = $config['config_type'][$data['out_type']];
|
|
|
+
|
|
|
$print->hr('-', $main_config['name'])->br();
|
|
|
+ $pdf->br()->font(20)->center('出库单号:' . $data['order_num']);
|
|
|
+ $pdf->font(10);
|
|
|
+ $pdf->br(2);
|
|
|
$print->text('门店名称:' . $this->shop['name']);
|
|
|
$print->text('制 单 人:'.$this->user['name']);
|
|
|
$print->text('制单时间:'.date('Y-m-d H:i:s'));
|
|
|
+ $print->text('出库时间:'.$cdate);
|
|
|
|
|
|
if ($data && $data['goods']) {
|
|
|
|
|
@@ -154,6 +166,14 @@ class Out extends Core
|
|
|
$print->table($head, $body, '', 'lr');
|
|
|
}
|
|
|
|
|
|
+ $pdf->hr();
|
|
|
+
|
|
|
+ $pdf->left('出库类别:' . $out_type);
|
|
|
+
|
|
|
+ $pdf->left('原因备注:' . $data['info']);
|
|
|
+
|
|
|
+ $pdf->hr();
|
|
|
+
|
|
|
$print->center('如遇任何问题请致电客服');
|
|
|
$print->center('电话:'.$manage_config['phone']);
|
|
|
$print->center($main_config['worktime']);
|