|
@@ -363,6 +363,11 @@ class Boss extends Start_Controller
|
|
|
$wh = $this->_fout_db($y, $warehouse, $bdck);
|
|
$wh = $this->_fout_db($y, $warehouse, $bdck);
|
|
|
if ($wh['fh'] == 2) {
|
|
if ($wh['fh'] == 2) {
|
|
|
$kcyz = $this->ck->get_kc($y['state'], $warehouse, $y['shop'], $y['number'], $y['whlabel'], $y['fpdata']);
|
|
$kcyz = $this->ck->get_kc($y['state'], $warehouse, $y['shop'], $y['number'], $y['whlabel'], $y['fpdata']);
|
|
|
|
|
+ if($kcyz['t'] == '1'){
|
|
|
|
|
+ $tmp_msg = json_decode($kcyz['m'],true);
|
|
|
|
|
+ echo json_encode(array('msg' => $tmp_msg['msg'], 'success' => false));
|
|
|
|
|
+ exit;
|
|
|
|
|
+ }
|
|
|
if ($kcyz['fpdata'] != '' && $kcyz['t'] == '0') {
|
|
if ($kcyz['fpdata'] != '' && $kcyz['t'] == '0') {
|
|
|
$x['whlabel'] = $kcyz['whlabel'];
|
|
$x['whlabel'] = $kcyz['whlabel'];
|
|
|
$x['fpdata'] = $kcyz['fpdata'];
|
|
$x['fpdata'] = $kcyz['fpdata'];
|