Jelajahi Sumber

将tt-qqs修改为可用cbt

lvhao 12 jam lalu
induk
melakukan
3a41be0ef2
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 2 2
      core/CoreApp/controllers/Apitt.php
  2. 2 2
      template/erp/fullordertt_edit.html

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

@@ -697,9 +697,9 @@ $j = json_decode($j, true);
 								
 								}
 								//如果是走cbt的店铺那么系统将会自动将获取的快递修改为cbt的快递
-								if(in_array($post['shop'],[35,39,40,41,44,46,49,58])){
+								if(in_array($post['shop'],[35,38,39,40,41,44,46,49,58])){
 									$post['express'] = 83;
-								}else if(in_array($post['shop'],[38])){
+								}else if(in_array($post['shop'],[3888])){
 									$post['express'] = 85;
 								}
 								//42有部分货发许昌仓 

+ 2 - 2
template/erp/fullordertt_edit.html

@@ -783,7 +783,7 @@ $(".yzxx").click(function() {
 	 let shop = "{$fullordertt['shop']}"
 	 shop = shop*1
 	 if(source == 2){
-		if([35,39,40,41,44,46,49,58].includes(shop)){
+		if([35,38,39,40,41,44,46,49,58].includes(shop)){
 			let express = $("select[name='express']").find("option:selected").val();
 			if(express != 83){
 				layx.confirm('提示','确定CBT发货模式店铺不走cbt吗?',null,{
@@ -806,7 +806,7 @@ $(".yzxx").click(function() {
 			}else{
 				doyzxx_next()
 			}
-		}else if([38].includes(shop)){
+		}else if([388888].includes(shop)){
 			let express = $("select[name='express']").find("option:selected").val();
 			if(express != 85 && express != 87){
 				layx.confirm('提示','确定shipping发货模式店铺不走shipping吗?',null,{