Explorar el Código

新增大件数量字段

huangsanjia hace 2 años
padre
commit
16655fdcbf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Application/Admin/Controller/NewQcodeController.class.php

+ 1 - 1
Application/Admin/Controller/NewQcodeController.class.php

@@ -187,7 +187,7 @@ class  NewQcodeController extends AddonController
                             $small_n =  intTochar($tray_num,3);
                         }
                         $l_num = 0;
-                        if(I('post.danwei')==2) {//以箱为单位
+                        if(I('post.danwei')==1) {//以箱为单位
                             $l_num = $small_n * I('post.box_num/d');
                         }
                         $code_data= CodeData($this->sign,$fixed_code,$small_n,$print_date,$l_flow,$l_weight,$this->signLarge,$l_reservation);