|
@@ -330,6 +330,7 @@ class Whlabel extends Start_Controller
|
|
|
exit;
|
|
|
}
|
|
|
if (isset($post['outsku'])) {
|
|
|
+ //这种方法只针对美仓的 但是其实入库的录入 感觉怪怪的 不过存在即合理 就不在改动了
|
|
|
$cz = $this->input->post('cz', true);
|
|
|
if ($cz == '1') {
|
|
|
$sku = $this->input->post('outsku', true);
|
|
@@ -339,7 +340,7 @@ class Whlabel extends Start_Controller
|
|
|
echo json_encode(array('msg' => '库存不足!', 'success' => false));
|
|
|
exit;
|
|
|
}
|
|
|
- $this->whlabel->save(array('state' => 10, 'outk' => time(), 'time' => time(), 'cktype' => 1), $data[0]['id']);
|
|
|
+ $this->whlabel->save(array('state' => 10, 'outk' => time(), 'time' => time(), 'cktype' => 2), $data[0]['id']);
|
|
|
echo json_encode(array('success' => true));
|
|
|
exit;
|
|
|
}
|