|
@@ -177,7 +177,7 @@ class Typeclass extends Start_Controller {
|
|
|
$cf = $this->typeclass->find_all("spare = '".$post['spare']."' or title = '".$post['title']."' or jm = '".$post['jm']."'");
|
|
|
if($cf)
|
|
|
{
|
|
|
- echo json_encode(array('msg'=>'商品名称|店铺SKU|产品名称有重复!','success'=>false));exit;
|
|
|
+ echo json_encode(array('msg'=>'商品名称|店铺SKU|用友料号有重复!','success'=>false));exit;
|
|
|
}
|
|
|
// $jm = $this->input->post('jm',true);
|
|
|
// if(!empty($jm)){
|
|
@@ -265,7 +265,7 @@ class Typeclass extends Start_Controller {
|
|
|
{
|
|
|
if($cf[0]['id'] != $id)
|
|
|
{
|
|
|
- echo json_encode(array('msg'=>'商品名称|店铺SKU|产品名称有重复!','cs'=>'查询ID '.$cf[0]['id'].' - 修改ID '.$id,'success'=>false));exit;
|
|
|
+ echo json_encode(array('msg'=>'商品名称|店铺SKU|用友料号有重复!','cs'=>'查询ID '.$cf[0]['id'].' - 修改ID '.$id,'success'=>false));exit;
|
|
|
}
|
|
|
}
|
|
|
|