|
@@ -2510,7 +2510,10 @@ class Systemprint extends Start_Controller {
|
|
|
* 此方法是为了临时解决一下打印的问题
|
|
|
*/
|
|
|
public function _getInfoByNumber(){
|
|
|
- $param = $this->input->post(NULL, TRUE);
|
|
|
+ $param = $this->input->get(NULL, TRUE);
|
|
|
+ var_dump($param);
|
|
|
+ die;
|
|
|
+ //$param = $this->input->post(NULL, TRUE);
|
|
|
if(empty($param['number'])){
|
|
|
echo json_encode([
|
|
|
'code'=>-1,
|
|
@@ -2556,7 +2559,7 @@ class Systemprint extends Start_Controller {
|
|
|
$oldprinttime = ($fullorder['printtime'] > 0)?$fullorder['oldprinttime'].$fullorder['printtime'].'-':'';
|
|
|
$fullorder['printtime'] = date('m-d H:i',$time);//打印用时间、发货单用,不能删
|
|
|
$pdfnum = 1;//PDF打印几遍
|
|
|
-
|
|
|
+
|
|
|
if($fullorder['waybillid'] != '')
|
|
|
{
|
|
|
$del = $this->cne->get_del($fullorder['waybillid']);
|