|
@@ -1308,11 +1308,9 @@ class Sale extends Base
|
|
|
|
|
|
//处理台账(一个项目会生成多个销售订单,第一个更新,其余的新增)
|
|
|
//项目创建时已有供应商和企业,不能修改
|
|
|
- if (isset($standing_book_data['supplierNo'])) unset($standing_book_data['supplierNo']);
|
|
|
if (isset($standing_book_data['companyNo'])) unset($standing_book_data['companyNo']);
|
|
|
if (isset($standing_book_data['customer_code'])) unset($standing_book_data['customer_code']);
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
//普通商品
|
|
|
if ($feedback['data_source'] == 1) {
|
|
|
if ($key == 0) Db::name('standing_book')->where('projectNo', $plan['projectNo'])->update($standing_book_data);
|