Browse Source

修改亚马逊客户部分的bug

lvhao 5 months ago
parent
commit
e0dc9918fc
2 changed files with 3 additions and 3 deletions
  1. 2 2
      core/CoreApp/controllers/Customeramz.php
  2. 1 1
      template/erp/customeramz_add.html

+ 2 - 2
core/CoreApp/controllers/Customeramz.php

@@ -869,7 +869,7 @@ class customeramz extends Start_Controller {
 		}
 		 $country = $this->country->find_all('1=1','id,name','name asc');
 		 $this->data['country'] = $country;
-		 $wlshop = $this->shop->find_all("type = 1514 and (".rtrim($sid,'or').")");
+		 $wlshop = $this->shop->find_all("type = 1513 and (".rtrim($sid,'or').")");
 		 $this->data['wlshop'] = $wlshop;
 		$this->_Template('customeramz_add',$this->data);
 	}
@@ -928,7 +928,7 @@ class customeramz extends Start_Controller {
 		$this->data['customeramz'] = $customeramz;
 		$country = $this->country->find_all('1=1','id,name','name asc');
 		$this->data['country'] = $country;
-		 $wlshop = $this->shop->find_all("type = 1514 and (".rtrim($sid,'or').")");
+		 $wlshop = $this->shop->find_all("type = 1513 and (".rtrim($sid,'or').")");
 		$this->data['wlshop'] = $wlshop;
 		if($customeramz['email'] != '0' && $customeramz['email'] != '' && $customeramz['email'] != '无')
 		{

+ 1 - 1
template/erp/customeramz_add.html

@@ -17,7 +17,7 @@
 <em>客户来源:</em>
 <select name="source" class="select class">
 {loop typeclass(1) as $val}
-<option value="{$val['id']}" {if $val['id'] == '10'}selected="selected"{/if}>{$val['title']}</option>
+<option value="{$val['id']}" {if $val['id'] == '8'}selected="selected"{/if}>{$val['title']}</option>
 {/loop}
 </select>
 </li>