|
@@ -228,6 +228,7 @@ class Sale extends Base
|
|
|
"remark"=>$remark,
|
|
|
"is_stock"=>$is_stock,
|
|
|
"is_activity"=>$is_activity===""?0:$is_activity,
|
|
|
+ "activity_code"=>$actcode,
|
|
|
"order_type"=>$is_stock==1?1:2,
|
|
|
"order_source"=>1,//1直接下单
|
|
|
// "poNo"=>$poNo,
|
|
@@ -941,6 +942,7 @@ class Sale extends Base
|
|
|
"arrive_time"=>$arrtime,
|
|
|
"is_stock"=>0,
|
|
|
"is_activity"=>0,
|
|
|
+ "activity_code"=>'',
|
|
|
"proof_id"=>0,
|
|
|
"order_type"=>3,
|
|
|
"order_source"=>2,//2咨询
|
|
@@ -1445,6 +1447,7 @@ class Sale extends Base
|
|
|
"remark"=>"",
|
|
|
"is_stock"=>0,
|
|
|
"is_activity"=>0,
|
|
|
+ "activity_code"=>'',
|
|
|
"proof_id"=>0,
|
|
|
"order_type"=>3,//咨询商品
|
|
|
"order_source"=>3,//项目
|
|
@@ -1714,6 +1717,7 @@ class Sale extends Base
|
|
|
"remark"=>"",
|
|
|
"is_stock"=>$good['is_stock'],
|
|
|
"is_activity"=>0,
|
|
|
+ "activity_code"=>'',
|
|
|
"proof_id"=>0,
|
|
|
"order_type"=>$good['is_stock']==1?1:2,//1备库,2非库存品
|
|
|
'order_source' => 3,//3项目
|