|
@@ -48,8 +48,10 @@ import org.jeecg.modules.splt.entity.SyPackingListTailoring;
|
|
import org.jeecg.modules.splt.entity.SyPackingListTailoringItem;
|
|
import org.jeecg.modules.splt.entity.SyPackingListTailoringItem;
|
|
import org.jeecg.modules.splt.service.ISyPackingListTailoringService;
|
|
import org.jeecg.modules.splt.service.ISyPackingListTailoringService;
|
|
import org.jeecg.modules.system.controller.CommonController;
|
|
import org.jeecg.modules.system.controller.CommonController;
|
|
|
|
+import org.jeecg.modules.system.entity.SysDictItem;
|
|
import org.jeecg.modules.system.entity.SysUser;
|
|
import org.jeecg.modules.system.entity.SysUser;
|
|
import org.jeecg.modules.system.mapper.SysUserMapper;
|
|
import org.jeecg.modules.system.mapper.SysUserMapper;
|
|
|
|
+import org.jeecg.modules.system.service.ISysDictItemService;
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
|
|
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
|
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
|
@@ -1138,6 +1140,10 @@ public class SyPackingListFabricController {
|
|
|
|
|
|
main.setSyPackingListFabricItem(items);
|
|
main.setSyPackingListFabricItem(items);
|
|
map.put("account",items.get(0).getOmpoAccount());//委外采购账套号
|
|
map.put("account",items.get(0).getOmpoAccount());//委外采购账套号
|
|
|
|
+ String venCode=syPackingListTailoringService.getDictValue(main.getGarmentFactory());//根据成衣工厂获取仓库编码
|
|
|
|
+ if(venCode!=null){
|
|
|
|
+ map.put("vencode",venCode);//委外采购账套号
|
|
|
|
+ }
|
|
map.put("account1",items.get(0).getOmpoAccount());//委外采购账套号
|
|
map.put("account1",items.get(0).getOmpoAccount());//委外采购账套号
|
|
map.put("ompoId",items.get(0).getOmpoId());//采购委外主表id
|
|
map.put("ompoId",items.get(0).getOmpoId());//采购委外主表id
|
|
map.put("mpOrder",items.get(0).getPurOrSubOrder());//采购委外订单号
|
|
map.put("mpOrder",items.get(0).getPurOrSubOrder());//采购委外订单号
|
|
@@ -1179,7 +1185,7 @@ public class SyPackingListFabricController {
|
|
}else if(message.indexOf("成功")>-1) {
|
|
}else if(message.indexOf("成功")>-1) {
|
|
main.setPushState("1");//推送成功!
|
|
main.setPushState("1");//推送成功!
|
|
result.setSuccess(true);
|
|
result.setSuccess(true);
|
|
- main.setRecordingError(null);
|
|
|
|
|
|
+ main.setRecordingError("");
|
|
result.setMessage(message);
|
|
result.setMessage(message);
|
|
}else{
|
|
}else{
|
|
main.setPushState("2");//推送失败!
|
|
main.setPushState("2");//推送失败!
|
|
@@ -1267,6 +1273,10 @@ public class SyPackingListFabricController {
|
|
System.out.println("客户编码\t"+syOrderDataItem.getSupplierCode());
|
|
System.out.println("客户编码\t"+syOrderDataItem.getSupplierCode());
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ String venCode=syPackingListTailoringService.getDictValue(main.getGarmentFactory());//根据成衣工厂获取仓库编码
|
|
|
|
+ if(venCode!=null){
|
|
|
|
+ map.put("vencode",venCode);//委外采购账套号
|
|
|
|
+ }
|
|
main.setSyPackingListFabricItem(items);
|
|
main.setSyPackingListFabricItem(items);
|
|
map.put("account",items.get(0).getOmpoAccount());//委外采购账套号
|
|
map.put("account",items.get(0).getOmpoAccount());//委外采购账套号
|
|
map.put("account1",items.get(0).getOmpoAccount());//委外采购账套号
|
|
map.put("account1",items.get(0).getOmpoAccount());//委外采购账套号
|
|
@@ -1309,7 +1319,7 @@ public class SyPackingListFabricController {
|
|
}else if(message.indexOf("成功")>-1) {
|
|
}else if(message.indexOf("成功")>-1) {
|
|
main.setPushState("1");//推送成功!
|
|
main.setPushState("1");//推送成功!
|
|
result.setSuccess(true);
|
|
result.setSuccess(true);
|
|
- main.setRecordingError(null);
|
|
|
|
|
|
+ main.setRecordingError("");
|
|
result.setMessage(message);
|
|
result.setMessage(message);
|
|
}else{
|
|
}else{
|
|
main.setPushState("2");//推送失败!
|
|
main.setPushState("2");//推送失败!
|