wugg 7 months ago
parent
commit
f9f585f375
1 changed files with 6 additions and 0 deletions
  1. 6 0
      app/command/handleCxData.php

+ 6 - 0
app/command/handleCxData.php

@@ -98,6 +98,7 @@ class handleCxData extends command
 									          'ownerName'=>$data['apply_name'] ,//销售员,
 									          'ownerid'=>$data['apply_id'] ,//销售员id,
 									          'department'=>$data['depart'] ,//部门,
+									           'open_type'=>$data['open_type'] ,//开模类型',
 									           'manager'=>$data['manager']??'',
                                                'managerid'=>$data['managerid']??0,
 									          'createdTime'=>$data['addtime'] ,//销售单创建时间,
@@ -190,6 +191,7 @@ class handleCxData extends command
 									          'workCode'=>$data['workNo'] ,//业务编号,
 									          'zxCode'=>$data['zxNo'] ,//咨询单编号,
 									          'goodMaterial'=>'' ,//商品材质,
+									           'open_type'=>$data['open_type'] ,//开模类型',
 									           'is_comon'=>ComonOrder::is_common($data['orderCode']),
 									          'goodUnit'=>$data['unit'] ,//商品单位,
 									          'goodDesc'=>$data['cost_desc'] ,//工艺说明,
@@ -277,6 +279,7 @@ class handleCxData extends command
 							    'total_plan_price'=>$data['total_origin_price_plan'] ,//成本总额,
 							    'sendNum'=>$data['send_num'] ,//已发货数量,
 							    'wsendNum'=>$data['wsend_num'] ,//未发货数量,
+							     'open_type'=>$data['open_type'] ,//开模类型',
 							    'apay_fee'=>0 ,//已付款,
 							    'pay_fee'=>0 ,//付款中
 							    'wpay_fee'=>$data['total_price'] ,//未付款,
@@ -416,6 +419,7 @@ class handleCxData extends command
 									      'diff_fee'=>$data['diff_fee'] ,//工差金额',
 									      'thNum'=>$data['th_num'] ,//退货数量',
 									      'th_fee'=>$data['th_fee'] ,//退货金额',
+									      "open_type"=>$data['open_type'] ,//开模类型',
 									      'check_rate'=>'' ,//修正后的税率',
 									      'is_del'=>0 ,
 									      'addtime'=>$date ,
@@ -450,6 +454,7 @@ class handleCxData extends command
 									      'goodModel'=>'' ,//商品型号',
 									       'is_comon'=>isset($data['mainCode'])?2: ComonOrder::is_common($data['cgdNo']),
 									      'goodMaterial'=>'' ,//商品材质',
+									       'open_type'=>$data['open_type'] ,//开模类型',
 									      'goodUnit'=>$data['unit'] ,//商品单位',
 									      'goodDesc'=>$data['cost_desc'] ,//工艺说明',
 									      'metalsType'=>$data['noble_metal'] ,//贵金属种类',
@@ -512,6 +517,7 @@ class handleCxData extends command
 							    'goodType'=>$data['good_type'] ,//商品类型',
 							    'goodBrand'=>$data['brand'] ,//商品品牌',
 							    'goodModel'=>'' ,//商品型号',
+							     'open_type'=>$data['open_type'] ,//开模类型',
 							    'platform_name'=>$data['platform_name']??'',//平台名称,
 								'platform_id'=>$data['platform_id']??0,//平台id,'
 							     'is_comon'=>isset($data['mainCode'])?2: ComonOrder::is_common($data['cgdNo']),