|
@@ -203,12 +203,12 @@ class Sale extends Base
|
|
|
$remark = isset($this->post['remark']) && $this->post['remark'] !== "" ? trim($this->post['remark']) : "";
|
|
|
$proof_id = isset($this->post['proof_id']) && $this->post['proof_id'] !== "" ? intval($this->post['proof_id']) : 0;
|
|
|
|
|
|
- $apply_id = GetUserInfo($token);
|
|
|
- if (empty($apply_id) || $apply_id['code'] != 0) {
|
|
|
- return error_show(1002, "申请人数据不存在");
|
|
|
- }
|
|
|
- $rm = isset($apply_id["data"]['id']) ? $apply_id["data"]['id'] : "";
|
|
|
- $ri = isset($apply_id["data"]['nickname']) ? $apply_id["data"]['nickname'] : "";
|
|
|
+// $apply_id = GetUserInfo($token);
|
|
|
+// if (empty($apply_id) || $apply_id['code'] != 0) {
|
|
|
+// return error_show(1002, "申请人数据不存在");
|
|
|
+// }
|
|
|
+ $rm = $this->uid;
|
|
|
+ $ri = $this->uname;
|
|
|
Db::startTrans();
|
|
|
try {
|
|
|
$data = [
|
|
@@ -273,7 +273,9 @@ class Sale extends Base
|
|
|
"order_type" => 'XSQRD',
|
|
|
"order_code" => $orderCode,//销售单code
|
|
|
"order_id" => $datainfo,
|
|
|
- "order_status" => 0, "before_status" => 0
|
|
|
+ "order_status" => 0,
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id' => $data['apply_id']
|
|
|
]);
|
|
|
|
|
|
if ($is_activity == 1) {
|
|
@@ -438,7 +440,9 @@ class Sale extends Base
|
|
|
"order_type" => 'CKD',
|
|
|
"order_code" => $outCode,//出库单号
|
|
|
"order_id" => $ou,
|
|
|
- "order_status" => $out['status'], "before_status" => $out['status']
|
|
|
+ "order_status" => $out['status'],
|
|
|
+ "before_status" => $out['status'],
|
|
|
+ 'holder_id'=>$out['apply_id'],
|
|
|
]);
|
|
|
|
|
|
|
|
@@ -561,7 +565,9 @@ class Sale extends Base
|
|
|
"order_type" => 'CGD',
|
|
|
"order_code" => $cg['cgdNo'],//销售单code
|
|
|
"order_id" => $up,
|
|
|
- "order_status" => $cg['status'], "before_status" => 0
|
|
|
+ "order_status" => $cg['status'],
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id' => $supplier['personid']
|
|
|
]);
|
|
|
|
|
|
$standing_book_da = array_merge($standing_book_da, [
|
|
@@ -796,7 +802,9 @@ class Sale extends Base
|
|
|
"order_type" => 'CKD',
|
|
|
"order_code" => $outCode,//出库单号
|
|
|
"order_id" => $ou,
|
|
|
- "order_status" => $status, "before_status" => 0
|
|
|
+ "order_status" => $status,
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id'=>$out['apply_id'],
|
|
|
]);
|
|
|
|
|
|
//处理台账-既然是根据orderCode更新的数据,那么肯定是有数据的,只需要更新就行了
|
|
@@ -1027,7 +1035,9 @@ class Sale extends Base
|
|
|
"order_type" => 'XSQRD',
|
|
|
"order_code" => $orderCode,//销售单code
|
|
|
"order_id" => $datainfo,
|
|
|
- "order_status" => $data['status'], "before_status" => 0
|
|
|
+ "order_status" => $data['status'],
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id' => $data['apply_id']
|
|
|
]);
|
|
|
$old_zx_status = $zx['status'];
|
|
|
$sa = Db::name("consult_info")->where($zx)->save(["status" => 5, "updatetime" => date("Y-m-d H:i:s")]);
|
|
@@ -1169,7 +1179,9 @@ class Sale extends Base
|
|
|
"order_type" => 'CKD',
|
|
|
"order_code" => $outCode,//出库单号
|
|
|
"order_id" => $ou,
|
|
|
- "order_status" => 0, "before_status" => 0
|
|
|
+ "order_status" => 0,
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id'=>$out['apply_id'],
|
|
|
]);
|
|
|
|
|
|
//将发货编号添加到台账中
|
|
@@ -1408,7 +1420,9 @@ class Sale extends Base
|
|
|
"order_type" => 'PRO',
|
|
|
"order_code" => $project['projectNo'],
|
|
|
"order_id" => $project['id'],
|
|
|
- "order_status" => 6, "before_status" => $old_project_status
|
|
|
+ "order_status" => 6,
|
|
|
+ "before_status" => $old_project_status,
|
|
|
+ 'holder_id'=>$project['createrid']
|
|
|
]);
|
|
|
}
|
|
|
//修改状态,添加待办,只记录动作
|
|
@@ -1541,7 +1555,9 @@ class Sale extends Base
|
|
|
"order_type" => 'XSQRD',
|
|
|
"order_code" => $orderCode,
|
|
|
"order_id" => $datainfo,
|
|
|
- "order_status" => 0, "before_status" => 0
|
|
|
+ "order_status" => 0,
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id' => $datas['apply_id']
|
|
|
]);
|
|
|
$bol = $this->createCgd($cgd, $standing_book_data);
|
|
|
if ($bol == false) {
|
|
@@ -1680,7 +1696,9 @@ class Sale extends Base
|
|
|
"order_type" => 'CKD',
|
|
|
"order_code" => $outCode,
|
|
|
"order_id" => $ou,
|
|
|
- "order_status" => 0, "before_status" => 0
|
|
|
+ "order_status" => 0,
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id'=>$out['apply_id'],
|
|
|
]);
|
|
|
$order['send_num'] += $value['receipt_quantity'];
|
|
|
$order['wsend_num'] -= $value['receipt_quantity'];
|
|
@@ -1826,7 +1844,9 @@ class Sale extends Base
|
|
|
"order_type" => 'XSQRD',
|
|
|
"order_code" => $orderCode,
|
|
|
"order_id" => $datainfo,
|
|
|
- "order_status" => 0, "before_status" => 0
|
|
|
+ "order_status" => 0,
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id' => $datas['apply_id']
|
|
|
]);
|
|
|
$cgd = [
|
|
|
"supplierNo" => $good['supplierNo'],
|
|
@@ -1999,7 +2019,9 @@ class Sale extends Base
|
|
|
"order_type" => 'CKD',
|
|
|
"order_code" => $outCode,//出库单号
|
|
|
"order_id" => $ou,
|
|
|
- "order_status" => 0, "before_status" => 0
|
|
|
+ "order_status" => 0,
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id'=>$out['apply_id'],
|
|
|
]);
|
|
|
}
|
|
|
} else {
|
|
@@ -2444,7 +2466,8 @@ class Sale extends Base
|
|
|
if ($str) {
|
|
|
$stc = ["order_code" => $id, "status" => $ed['status'], "action_remark" => '', "action_type" => "delete"];
|
|
|
ActionLog::logAdd($this->post['token'], $stc, "XSQRD", $ed['status'], ['id' => $id, 'is_del' => 1, 'updatetime' => date("Y-m-d H:i:s")]);
|
|
|
- $order = ["order_type" => 'XSQRD', "order_code" => $ed['orderCode'], "order_id" => $id, "order_status" => $ed['status']];
|
|
|
+ $order = ["order_type" => 'XSQRD', "order_code" => $ed['orderCode'], "order_id" => $id, "order_status" => $ed['status'],'holder_id' => $ed['apply_id']
|
|
|
+ ];
|
|
|
ProcessOrder::workdel($order);
|
|
|
return error_show(0, "删除成功");
|
|
|
} else {
|
|
@@ -2491,12 +2514,12 @@ class Sale extends Base
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- $apply_id = GetUserInfo($token);
|
|
|
- if (empty($apply_id) || $apply_id['code'] != 0) {
|
|
|
- return error_show(1002, "申请人数据不存在");
|
|
|
- }
|
|
|
- $rm = isset($apply_id["data"]['id']) ? $apply_id["data"]['id'] : "";
|
|
|
- $ri = isset($apply_id["data"]['nickname']) ? $apply_id["data"]['nickname'] : "";
|
|
|
+// $apply_id = GetUserInfo($token);
|
|
|
+// if (empty($apply_id) || $apply_id['code'] != 0) {
|
|
|
+// return error_show(1002, "申请人数据不存在");
|
|
|
+// }
|
|
|
+ $rm = $this->uid;
|
|
|
+ $ri = $this->uname;
|
|
|
|
|
|
Db::startTrans();
|
|
|
try {
|
|
@@ -2507,7 +2530,7 @@ class Sale extends Base
|
|
|
if ($st) {
|
|
|
$stn = ["order_code" => $dio['orderCode'], "status" => $vmp, "action_remark" => '', "action_type" => "status"];
|
|
|
ActionLog::logAdd($this->post['token'], $stn, $dio['order_type'] == 2 ? "ZXQRD" : "XSQRD", $dio['status'], $dio);
|
|
|
- $order = ["order_type" => "XSQRD", "order_code" => $dio['orderCode'], "order_id" => $id, "order_status" => $dio['status'], "before_status" => 1];
|
|
|
+ $order = ["order_type" => "XSQRD", "order_code" => $dio['orderCode'], "order_id" => $id, "order_status" => $dio['status'], "before_status" => 1,'holder_id' => $dio['apply_id']];
|
|
|
ProcessOrder::AddProcess($this->post['token'], $order);
|
|
|
if ($status == 3 && $dio['order_type'] == 1) {
|
|
|
$dn = Db::name('sale_info')->where(['orderCode' => $st['orderCode']])->select();
|
|
@@ -2626,7 +2649,9 @@ class Sale extends Base
|
|
|
"order_type" => 'CKD',
|
|
|
"order_code" => $outCode,//出库单号
|
|
|
"order_id" => $datainfo,
|
|
|
- "order_status" => 0, "before_status" => 0
|
|
|
+ "order_status" => 0,
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id'=>$data['apply_id'],
|
|
|
]);
|
|
|
}
|
|
|
}
|
|
@@ -2718,7 +2743,7 @@ class Sale extends Base
|
|
|
if ($datainfo) {
|
|
|
$stx = ["order_code" => $etid['orderCode'], "status" => $etid['status'], "action_remark" => '', "action_type" => "edit"];
|
|
|
ActionLog::logAdd($this->post['token'], $stx, "XSQRD", 2, $data);
|
|
|
- $order = ["order_type" => "XSQRD", "order_code" => $etid['orderCode'], "order_id" => $id, "order_status" => $data['status'], "before_status" => 0];
|
|
|
+ $order = ["order_type" => "XSQRD", "order_code" => $etid['orderCode'], "order_id" => $id, "order_status" => $data['status'], "before_status" => 0,'holder_id'=>$etid['apply_id']];
|
|
|
ProcessOrder::AddProcess($this->post['token'], $order);
|
|
|
foreach ($vr as $value) {
|
|
|
$tm = [];
|
|
@@ -2828,7 +2853,8 @@ class Sale extends Base
|
|
|
if ($datainfo > 0) {
|
|
|
$stx = ["order_code" => $outCode, "status" => $status, "action_remark" => '', "action_type" => "create"];
|
|
|
ActionLog::logAdd($this->post['token'], $stx, $der['order_type'] == 1 ? "CKD" : 'ZXCKD', $status, $data);
|
|
|
- $order = ["order_type" => "CKD", "order_code" => $outCode, "order_id" => $datainfo, "order_status" => $data['status'], "before_status" => 0];
|
|
|
+ $order = ["order_type" => "CKD", "order_code" => $outCode, "order_id" => $datainfo, "order_status" => $data['status'], "before_status" => 0, 'holder_id'=>$data['apply_id']
|
|
|
+ ];
|
|
|
ProcessOrder::AddProcess($this->post['token'], $order);
|
|
|
if ($status == 1) {
|
|
|
$item = $der['status'];
|
|
@@ -2845,7 +2871,7 @@ class Sale extends Base
|
|
|
$stx = ["order_code" => $orderCode, "status" => $item, "action_remark" => '', "action_type" => "edit"];
|
|
|
|
|
|
ActionLog::logAdd($this->post['token'], $stx, "XSQRD", $der['status'], $der);
|
|
|
- $order = ["order_type" => "XSQRD", "order_code" => $orderCode, "order_id" => $der['id'], "order_status" => $data['status'], "before_status" => 0];
|
|
|
+ $order = ["order_type" => "XSQRD", "order_code" => $orderCode, "order_id" => $der['id'], "order_status" => $data['status'], "before_status" => 0,'holder_id'=>$der['apply_id']];
|
|
|
|
|
|
ProcessOrder::AddProcess($this->post['token'], $order);
|
|
|
}
|
|
@@ -2894,7 +2920,7 @@ class Sale extends Base
|
|
|
if ($cust) {
|
|
|
$stx = ["order_code" => $outCode, "status" => $time, "action_remark" => '', "action_type" => "status"];
|
|
|
ActionLog::logAdd($this->post['token'], $stx, "CKD", $codeinfo['status'], $codeinfo);
|
|
|
- $order = ["order_type" => "CKD", "order_code" => $outCode, "order_id" => $codeinfo['id'], "order_status" => $codeinfo['status'], "before_status" => 0];
|
|
|
+ $order = ["order_type" => "CKD", "order_code" => $outCode, "order_id" => $codeinfo['id'], "order_status" => $codeinfo['status'], "before_status" => 0, 'holder_id'=>$codeinfo['apply_id']];
|
|
|
ProcessOrder::AddProcess($this->post['token'], $order);
|
|
|
if ($status == 1) {
|
|
|
$stokc = Db::name("good_stock")->where(['spuCode' => $codeinfo['spuCode'], "wsm_code" => $codeinfo['wsm_code'],
|
|
@@ -2928,9 +2954,8 @@ class Sale extends Base
|
|
|
return error_show(1003, "更新失败");
|
|
|
}
|
|
|
$stx = ["order_code" => $dr['orderCode'], "status" => $item, "action_remark" => '', "action_type" => "edit"];
|
|
|
- ActionLog::logAdd($this->post['token'], $stx, $dr['order_type'] == 2 ? "ZXQRD" : "XSQRD", $dr['status'],
|
|
|
- $dr);
|
|
|
- $order = ["order_type" => "XSQRD", "order_code" => $dr['orderCode'], "order_id" => $dr['id'], "order_status" => $dr['status'], "before_status" => 0];
|
|
|
+ ActionLog::logAdd($this->post['token'], $stx, $dr['order_type'] == 2 ? "ZXQRD" : "XSQRD", $dr['status'],$dr);
|
|
|
+ $order = ["order_type" => "XSQRD", "order_code" => $dr['orderCode'], "order_id" => $dr['id'], "order_status" => $dr['status'], "before_status" => 0, 'holder_id' => $dr['apply_id']];
|
|
|
ProcessOrder::AddProcess($this->post['token'], $order);
|
|
|
|
|
|
//商品变动日志表,good_log_code字段存储销售订单编号
|
|
@@ -3088,9 +3113,9 @@ class Sale extends Base
|
|
|
$up = Db::name("sale_diff")->save($info);
|
|
|
if ($up) {
|
|
|
$stx = ["order_code" => $info["orderCode"], "status" => $item, "action_remark" => '', "action_type" => "edit"];
|
|
|
- ActionLog::logAdd($this->post['token'], $stx, "XSGCD", $info['status'], $info);
|
|
|
- $order = ["order_type" => "XSGCD", "order_code" => $info["orderCode"], "order_id" => $info['id'], "order_status" => $info['status'], "before_status" => $item];
|
|
|
- ProcessOrder::AddProcess($this->post['token'], $order);
|
|
|
+ ActionLog::logAdd(['id'=>$this->uid,'nickname'=>$this->uname], $stx, "XSGCD", $info['status'], $info);
|
|
|
+ $order = ["order_type" => "XSGCD", "order_code" => $info["orderCode"], "order_id" => $info['id'], "order_status" => $info['status'], "before_status" => $item,'holder_id'=>$sale['apply_id']];
|
|
|
+ ProcessOrder::AddProcess(['id'=>$this->uid,'nickname'=>$this->uname], $order);
|
|
|
$upda = [
|
|
|
"status" => $status,
|
|
|
"remark" => $remark,
|
|
@@ -3124,9 +3149,9 @@ class Sale extends Base
|
|
|
}
|
|
|
|
|
|
$a = ["order_code" => $old_purchease_diff["cgdNo"], "status" => $old_purchease_diff['status'], "action_remark" => '', "action_type" => "status"];
|
|
|
- ActionLog::logAdd($this->post['token'], $a, "CGGCD", $upda['status'], $info);
|
|
|
- $b = ["order_type" => "CGGCD", "order_code" => $old_purchease_diff["cgdNo"], "order_id" => $old_purchease_diff['id'], "order_status" => $upda['status'], "before_status" => $old_purchease_diff['status']];
|
|
|
- ProcessOrder::AddProcess($this->post['token'], $b);
|
|
|
+ ActionLog::logAdd(['id' => $this->uid, 'nickname' => $this->uname], $a, "CGGCD", $upda['status'], $info);
|
|
|
+ $b = ["order_type" => "CGGCD", "order_code" => $old_purchease_diff["cgdNo"], "order_id" => $old_purchease_diff['id'], "order_status" => $upda['status'], "before_status" => $old_purchease_diff['status'], 'holder_id' => $cgd['apply_id']];
|
|
|
+ ProcessOrder::AddProcess(['id' => $this->uid, 'nickname' => $this->uname], $b);
|
|
|
|
|
|
Db::commit();
|
|
|
return app_show(0, "更新成功");
|
|
@@ -3180,8 +3205,7 @@ class Sale extends Base
|
|
|
if ($up) {
|
|
|
$stx = ["order_code" => $info["orderCode"], "status" => $ite, "action_remark" => '', "action_type" => "status"];
|
|
|
ActionLog::logAdd($this->post['token'], $stx, "XSGCD", $status, $info);
|
|
|
- $order = ["order_type" => "XSGCD", "order_code" => $info["orderCode"], "order_id" => $info['id'],
|
|
|
- "order_status" => $status, "before_status" => $ite];
|
|
|
+ $order = ["order_type" => "XSGCD", "order_code" => $info["orderCode"], "order_id" => $info['id'],"order_status" => $status, "before_status" => $ite,'holder_id'=>$sale['apply_id']];
|
|
|
ProcessOrder::AddProcess($this->post['token'], $order);
|
|
|
$cgdup = Db::name("purchease_diff")->where(["id" => $info['cgd_diffid']])->save($upda);
|
|
|
if ($cgdup) {
|
|
@@ -3624,7 +3648,9 @@ class Sale extends Base
|
|
|
"order_type" => 'CKD',
|
|
|
"order_code" => $data['outCode'],//出库单号
|
|
|
"order_id" => $datainfo,
|
|
|
- "order_status" => $data['status'], "before_status" => 0
|
|
|
+ "order_status" => $data['status'],
|
|
|
+ "before_status" => 0,
|
|
|
+ 'holder_id'=>$data['apply_id']
|
|
|
]);
|
|
|
|
|
|
//维护台账记录
|
|
@@ -3721,6 +3747,7 @@ class Sale extends Base
|
|
|
"before_status" => $old_outinfo_status,
|
|
|
'wait_id'=>$outinfo['apply_id'],
|
|
|
'wait_name'=>$outinfo['apply_name'],
|
|
|
+ 'holder_id'=>$outinfo['apply_id'],
|
|
|
]);
|
|
|
if($einfo['wsend_num']<$outinfo['send_num']){
|
|
|
Db::rollback();
|
|
@@ -3752,7 +3779,9 @@ class Sale extends Base
|
|
|
"order_type" => 'XSQRD',
|
|
|
"order_code" => $einfo['orderCode'],//出库单号
|
|
|
"order_id" => $einfo['id'],
|
|
|
- "order_status" => $einfo['status'], "before_status" => $orderstatus
|
|
|
+ "order_status" => $einfo['status'],
|
|
|
+ "before_status" => $orderstatus,
|
|
|
+ 'holder_id' => $einfo['apply_id']
|
|
|
]);
|
|
|
|
|
|
$stokc = Db::name("good_stock")->where(['spuCode' => $einfo['good_code'], "wsm_code" => $outinfo['wsm_code'], "is_del" => 0])->find();
|
|
@@ -4287,7 +4316,7 @@ class Sale extends Base
|
|
|
try {
|
|
|
|
|
|
$rs = Db::name('order_out')
|
|
|
- ->field('id,orderCode')
|
|
|
+ ->field('id,orderCode,apply_id')
|
|
|
->where(['outCode' => $outCode, 'status' => 2, "is_del" => 0])
|
|
|
->find();
|
|
|
|
|
@@ -4311,6 +4340,24 @@ class Sale extends Base
|
|
|
->update(['status' => 2, 'updatetime' => date('Y-m-d H:i:s')]);
|
|
|
}
|
|
|
|
|
|
+ //修改状态,添加待办
|
|
|
+ ActionLog::logAdd(['id' => $this->uid, 'nickname' => $this->uname], [
|
|
|
+ "order_code" => $outCode,
|
|
|
+ "status" => 2,//这里的status是之前的值
|
|
|
+ "action_remark" => '',//备注
|
|
|
+ "action_type" => "status"//新建create,编辑edit,更改状态status
|
|
|
+ ], "CKD", 3, $rs);
|
|
|
+
|
|
|
+ //将待办数据变为已办
|
|
|
+ ProcessOrder::AddProcess(['id' => $this->uid, 'nickname' => $this->uname], [
|
|
|
+ "order_code" => $outCode,
|
|
|
+ "order_id" => $rs['id'],
|
|
|
+ "order_status" => 3,
|
|
|
+ "order_type" => 'CKD',
|
|
|
+ "before_status" => 2,
|
|
|
+ 'holder_id' => $rs['apply_id']
|
|
|
+ ]);
|
|
|
+
|
|
|
if ($res_order_out) {
|
|
|
Db::commit();
|
|
|
return app_show(0, '收货完成');
|
|
@@ -4358,9 +4405,9 @@ class Sale extends Base
|
|
|
|
|
|
|
|
|
|
|
|
- $user = GetUserInfo($param['token']);
|
|
|
- $createrid = isset($user['data']['id']) ? $user['data']['id'] : 0;
|
|
|
- $creater = isset($user['data']['nickname']) ? $user['data']['nickname'] : '';
|
|
|
+// $user = GetUserInfo($param['token']);
|
|
|
+ $createrid = $this->uid;
|
|
|
+ $creater = $this->uname;
|
|
|
|
|
|
//所有发货单信息
|
|
|
$order_out_infos = Db::name("order_out")
|
|
@@ -4386,6 +4433,7 @@ class Sale extends Base
|
|
|
->where('is_del', 0)
|
|
|
->column('id,send_num,wsend_num,status,good_code,order_source,order_type', 'orderCode');
|
|
|
|
|
|
+
|
|
|
if (!isset($sale_infos[$order_out_infos[$value['outCode']]['orderCode']])) throw new Exception($value['outCode'] . '该发货单对应的销售单未找到');
|
|
|
|
|
|
//判断发货单是否重复
|
|
@@ -4428,6 +4476,7 @@ class Sale extends Base
|
|
|
"before_status" => $order_out_infos[$value['outCode']]['status'],
|
|
|
'wait_id' => $order_out_infos[$value['outCode']]['apply_id'],
|
|
|
'wait_name' => $order_out_infos[$value['outCode']]['apply_name'],
|
|
|
+ 'holder_id' => $order_out_infos[$value['outCode']]['apply_id'],
|
|
|
]);
|
|
|
|
|
|
|
|
@@ -4456,7 +4505,9 @@ class Sale extends Base
|
|
|
"order_type" => 'XSQRD',
|
|
|
"order_code" => $order_out_infos[$value['outCode']]['orderCode'],//出库单号
|
|
|
"order_id" => $sale_infos[$order_out_infos[$value['outCode']]['orderCode']]['id'],
|
|
|
- "order_status" => $einfo['status'], "before_status" => $sale_infos[$order_out_infos[$value['outCode']]['orderCode']]['status']
|
|
|
+ "order_status" => $einfo['status'],
|
|
|
+ "before_status" => $sale_infos[$order_out_infos[$value['outCode']]['orderCode']]['status'],
|
|
|
+ 'holder_id' => $sale_infos[$order_out_infos[$value['outCode']]['orderCode']]['apply_id']
|
|
|
]);
|
|
|
|
|
|
//【库存】
|