物资改为物料

master
e 2020-02-18 17:53:26 +08:00
parent fac946f19b
commit cb188fc709
35 changed files with 239 additions and 239 deletions

View File

@ -76,13 +76,13 @@ import io.swagger.annotations.ApiParam;
/** /**
* @Title: Controller * @Title: Controller
* @Description: * @Description:
* @author onlineGenerator * @author onlineGenerator
* @date 2018-05-20 21:40:03 * @date 2018-05-20 21:40:03
* @version V1.0 * @version V1.0
* *
*/ */
@Api(value="TWzMaterial",description="物",tags="tWzMaterialController") @Api(value="TWzMaterial",description="物",tags="tWzMaterialController")
@Controller @Controller
@RequestMapping("/tWzMaterialController") @RequestMapping("/tWzMaterialController")
public class TWzMaterialController extends BaseController { public class TWzMaterialController extends BaseController {
@ -101,7 +101,7 @@ public class TWzMaterialController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -135,7 +135,7 @@ public class TWzMaterialController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -145,13 +145,13 @@ public class TWzMaterialController extends BaseController {
String message = null; String message = null;
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
tWzMaterial = systemService.getEntity(TWzMaterialEntity.class, tWzMaterial.getId()); tWzMaterial = systemService.getEntity(TWzMaterialEntity.class, tWzMaterial.getId());
message = "物删除成功"; message = "物删除成功";
try{ try{
tWzMaterialService.delete(tWzMaterial); tWzMaterialService.delete(tWzMaterial);
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物删除失败"; message = "物删除失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -159,7 +159,7 @@ public class TWzMaterialController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -168,7 +168,7 @@ public class TWzMaterialController extends BaseController {
public AjaxJson doBatchDel(String ids,HttpServletRequest request){ public AjaxJson doBatchDel(String ids,HttpServletRequest request){
String message = null; String message = null;
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
message = "物删除成功"; message = "物删除成功";
try{ try{
for(String id:ids.split(",")){ for(String id:ids.split(",")){
TWzMaterialEntity tWzMaterial = systemService.getEntity(TWzMaterialEntity.class, TWzMaterialEntity tWzMaterial = systemService.getEntity(TWzMaterialEntity.class,
@ -179,7 +179,7 @@ public class TWzMaterialController extends BaseController {
} }
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物删除失败"; message = "物删除失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -188,7 +188,7 @@ public class TWzMaterialController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -197,13 +197,13 @@ public class TWzMaterialController extends BaseController {
public AjaxJson doAdd(TWzMaterialEntity tWzMaterial, HttpServletRequest request) { public AjaxJson doAdd(TWzMaterialEntity tWzMaterial, HttpServletRequest request) {
String message = null; String message = null;
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
message = "物添加成功"; message = "物添加成功";
try{ try{
tWzMaterialService.save(tWzMaterial); tWzMaterialService.save(tWzMaterial);
systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物添加失败"; message = "物添加失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -211,7 +211,7 @@ public class TWzMaterialController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -220,7 +220,7 @@ public class TWzMaterialController extends BaseController {
public AjaxJson doUpdate(TWzMaterialEntity tWzMaterial, HttpServletRequest request) { public AjaxJson doUpdate(TWzMaterialEntity tWzMaterial, HttpServletRequest request) {
String message = null; String message = null;
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
message = "物更新成功"; message = "物更新成功";
TWzMaterialEntity t = tWzMaterialService.get(TWzMaterialEntity.class, tWzMaterial.getId()); TWzMaterialEntity t = tWzMaterialService.get(TWzMaterialEntity.class, tWzMaterial.getId());
try { try {
MyBeanUtils.copyBeanNotNull2Bean(tWzMaterial, t); MyBeanUtils.copyBeanNotNull2Bean(tWzMaterial, t);
@ -228,7 +228,7 @@ public class TWzMaterialController extends BaseController {
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
message = "物更新失败"; message = "物更新失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -237,7 +237,7 @@ public class TWzMaterialController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -250,7 +250,7 @@ public class TWzMaterialController extends BaseController {
return new ModelAndView("com/zzjee/wz/tWzMaterial-add"); return new ModelAndView("com/zzjee/wz/tWzMaterial-add");
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -286,9 +286,9 @@ public class TWzMaterialController extends BaseController {
CriteriaQuery cq = new CriteriaQuery(TWzMaterialEntity.class, dataGrid); CriteriaQuery cq = new CriteriaQuery(TWzMaterialEntity.class, dataGrid);
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, tWzMaterial, request.getParameterMap()); org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, tWzMaterial, request.getParameterMap());
List<TWzMaterialEntity> tWzMaterials = this.tWzMaterialService.getListByCriteriaQuery(cq,false); List<TWzMaterialEntity> tWzMaterials = this.tWzMaterialService.getListByCriteriaQuery(cq,false);
modelMap.put(NormalExcelConstants.FILE_NAME,"物"); modelMap.put(NormalExcelConstants.FILE_NAME,"物");
modelMap.put(NormalExcelConstants.CLASS,TWzMaterialEntity.class); modelMap.put(NormalExcelConstants.CLASS,TWzMaterialEntity.class);
modelMap.put(NormalExcelConstants.PARAMS,new ExportParams("物列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(), modelMap.put(NormalExcelConstants.PARAMS,new ExportParams("物列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
"导出信息")); "导出信息"));
modelMap.put(NormalExcelConstants.DATA_LIST,tWzMaterials); modelMap.put(NormalExcelConstants.DATA_LIST,tWzMaterials);
return NormalExcelConstants.JEECG_EXCEL_VIEW; return NormalExcelConstants.JEECG_EXCEL_VIEW;
@ -302,9 +302,9 @@ public class TWzMaterialController extends BaseController {
@RequestMapping(params = "exportXlsByT") @RequestMapping(params = "exportXlsByT")
public String exportXlsByT(TWzMaterialEntity tWzMaterial,HttpServletRequest request,HttpServletResponse response public String exportXlsByT(TWzMaterialEntity tWzMaterial,HttpServletRequest request,HttpServletResponse response
, DataGrid dataGrid,ModelMap modelMap) { , DataGrid dataGrid,ModelMap modelMap) {
modelMap.put(NormalExcelConstants.FILE_NAME,"物"); modelMap.put(NormalExcelConstants.FILE_NAME,"物");
modelMap.put(NormalExcelConstants.CLASS,TWzMaterialEntity.class); modelMap.put(NormalExcelConstants.CLASS,TWzMaterialEntity.class);
modelMap.put(NormalExcelConstants.PARAMS,new ExportParams("物列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(), modelMap.put(NormalExcelConstants.PARAMS,new ExportParams("物列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
"导出信息")); "导出信息"));
modelMap.put(NormalExcelConstants.DATA_LIST,new ArrayList()); modelMap.put(NormalExcelConstants.DATA_LIST,new ArrayList());
return NormalExcelConstants.JEECG_EXCEL_VIEW; return NormalExcelConstants.JEECG_EXCEL_VIEW;
@ -353,7 +353,7 @@ public class TWzMaterialController extends BaseController {
@RequestMapping(method = RequestMethod.GET) @RequestMapping(method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value="物列表信息",produces="application/json",httpMethod="GET") @ApiOperation(value="物列表信息",produces="application/json",httpMethod="GET")
public ResponseMessage<List<TWzMaterialEntity>> list() { public ResponseMessage<List<TWzMaterialEntity>> list() {
List<TWzMaterialEntity> listTWzMaterials=tWzMaterialService.getList(TWzMaterialEntity.class); List<TWzMaterialEntity> listTWzMaterials=tWzMaterialService.getList(TWzMaterialEntity.class);
return Result.success(listTWzMaterials); return Result.success(listTWzMaterials);
@ -361,19 +361,19 @@ public class TWzMaterialController extends BaseController {
@RequestMapping(value = "/{id}", method = RequestMethod.GET) @RequestMapping(value = "/{id}", method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value="根据ID获取物资信息",notes="根据ID获取物资信息",httpMethod="GET",produces="application/json") @ApiOperation(value="根据ID获取物料信息",notes="根据ID获取物料信息",httpMethod="GET",produces="application/json")
public ResponseMessage<?> get(@ApiParam(required=true,name="id",value="ID")@PathVariable("id") String id) { public ResponseMessage<?> get(@ApiParam(required=true,name="id",value="ID")@PathVariable("id") String id) {
TWzMaterialEntity task = tWzMaterialService.get(TWzMaterialEntity.class, id); TWzMaterialEntity task = tWzMaterialService.get(TWzMaterialEntity.class, id);
if (task == null) { if (task == null) {
return Result.error("根据ID获取物信息为空"); return Result.error("根据ID获取物信息为空");
} }
return Result.success(task); return Result.success(task);
} }
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody @ResponseBody
@ApiOperation(value="创建物") @ApiOperation(value="创建物")
public ResponseMessage<?> create(@ApiParam(name="物对象")@RequestBody TWzMaterialEntity tWzMaterial, UriComponentsBuilder uriBuilder) { public ResponseMessage<?> create(@ApiParam(name="物对象")@RequestBody TWzMaterialEntity tWzMaterial, UriComponentsBuilder uriBuilder) {
//调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息. //调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息.
Set<ConstraintViolation<TWzMaterialEntity>> failures = validator.validate(tWzMaterial); Set<ConstraintViolation<TWzMaterialEntity>> failures = validator.validate(tWzMaterial);
if (!failures.isEmpty()) { if (!failures.isEmpty()) {
@ -385,15 +385,15 @@ public class TWzMaterialController extends BaseController {
tWzMaterialService.save(tWzMaterial); tWzMaterialService.save(tWzMaterial);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return Result.error("物信息保存失败"); return Result.error("物信息保存失败");
} }
return Result.success(tWzMaterial); return Result.success(tWzMaterial);
} }
@RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody @ResponseBody
@ApiOperation(value="更新物资",notes="更新物资") @ApiOperation(value="更新物料",notes="更新物料")
public ResponseMessage<?> update(@ApiParam(name="物对象")@RequestBody TWzMaterialEntity tWzMaterial) { public ResponseMessage<?> update(@ApiParam(name="物对象")@RequestBody TWzMaterialEntity tWzMaterial) {
//调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息. //调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息.
Set<ConstraintViolation<TWzMaterialEntity>> failures = validator.validate(tWzMaterial); Set<ConstraintViolation<TWzMaterialEntity>> failures = validator.validate(tWzMaterial);
if (!failures.isEmpty()) { if (!failures.isEmpty()) {
@ -405,16 +405,16 @@ public class TWzMaterialController extends BaseController {
tWzMaterialService.saveOrUpdate(tWzMaterial); tWzMaterialService.saveOrUpdate(tWzMaterial);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return Result.error("更新物信息失败"); return Result.error("更新物信息失败");
} }
//按Restful约定返回204状态码, 无内容. 也可以返回200状态码. //按Restful约定返回204状态码, 无内容. 也可以返回200状态码.
return Result.success("更新物信息成功"); return Result.success("更新物信息成功");
} }
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE) @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
@ResponseStatus(HttpStatus.NO_CONTENT) @ResponseStatus(HttpStatus.NO_CONTENT)
@ApiOperation(value="删除物") @ApiOperation(value="删除物")
public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) { public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) {
logger.info("delete[{}]" + id); logger.info("delete[{}]" + id);
// 验证 // 验证
@ -425,7 +425,7 @@ public class TWzMaterialController extends BaseController {
tWzMaterialService.deleteEntityById(TWzMaterialEntity.class, id); tWzMaterialService.deleteEntityById(TWzMaterialEntity.class, id);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return Result.error("物删除失败"); return Result.error("物删除失败");
} }
return Result.success(); return Result.success();

View File

@ -20,7 +20,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
/** /**
* @Title: Entity * @Title: Entity
* @Description: * @Description:
* @author onlineGenerator * @author onlineGenerator
* @date 2018-05-20 21:40:03 * @date 2018-05-20 21:40:03
* @version V1.0 * @version V1.0
@ -50,11 +50,11 @@ public class TWzMaterialEntity implements java.io.Serializable {
private String sysCompanyCode; private String sysCompanyCode;
/**流程状态*/ /**流程状态*/
private String bpmStatus; private String bpmStatus;
/**物编码*/ /**物编码*/
@Excel(name="物编码",width=15) @Excel(name="物编码",width=15)
private String matCode; private String matCode;
/**物名称*/ /**物名称*/
@Excel(name="物名称",width=15) @Excel(name="物名称",width=15)
private String matName; private String matName;
/**单位*/ /**单位*/
@Excel(name="单位",width=15,dictTable ="ba_unit",dicCode ="UNIT_CODE",dicText ="UNIT_ZH_NAME") @Excel(name="单位",width=15,dictTable ="ba_unit",dicCode ="UNIT_CODE",dicText ="UNIT_ZH_NAME")
@ -259,7 +259,7 @@ public class TWzMaterialEntity implements java.io.Serializable {
} }
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_CODE",nullable=true,length=32) @Column(name ="MAT_CODE",nullable=true,length=32)
@ -269,14 +269,14 @@ public class TWzMaterialEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatCode(String matCode){ public void setMatCode(String matCode){
this.matCode = matCode; this.matCode = matCode;
} }
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_NAME",nullable=true,length=132) @Column(name ="MAT_NAME",nullable=true,length=132)
@ -286,7 +286,7 @@ public class TWzMaterialEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatName(String matName){ public void setMatName(String matName){
this.matName = matName; this.matName = matName;

View File

@ -32,11 +32,11 @@ import org.jeecgframework.poi.excel.annotation.Excel;
public class VWzPoWqEntity implements java.io.Serializable { public class VWzPoWqEntity implements java.io.Serializable {
/**id*/ /**id*/
private String id; private String id;
/**物编码*/ /**物编码*/
@Excel(name="物编码",width=15) @Excel(name="物编码",width=15)
private String matCode; private String matCode;
/**物名称*/ /**物名称*/
@Excel(name="物名称",width=15) @Excel(name="物名称",width=15)
private String matName; private String matName;
/**单位*/ /**单位*/
@Excel(name="单位",width=15) @Excel(name="单位",width=15)
@ -80,7 +80,7 @@ public class VWzPoWqEntity implements java.io.Serializable {
} }
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_CODE",nullable=true,length=32) @Column(name ="MAT_CODE",nullable=true,length=32)
@ -90,14 +90,14 @@ public class VWzPoWqEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatCode(String matCode){ public void setMatCode(String matCode){
this.matCode = matCode; this.matCode = matCode;
} }
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_NAME",nullable=true,length=32) @Column(name ="MAT_NAME",nullable=true,length=32)
@ -107,7 +107,7 @@ public class VWzPoWqEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatName(String matName){ public void setMatName(String matName){
this.matName = matName; this.matName = matName;

View File

@ -77,13 +77,13 @@ import io.swagger.annotations.ApiParam;
/** /**
* @Title: Controller * @Title: Controller
* @Description: * @Description:
* @author onlineGenerator * @author onlineGenerator
* @date 2018-05-20 21:43:29 * @date 2018-05-20 21:43:29
* @version V1.0 * @version V1.0
* *
*/ */
@Api(value="TWzCkHead",description="物出库",tags="tWzCkHeadController") @Api(value="TWzCkHead",description="物出库",tags="tWzCkHeadController")
@Controller @Controller
@RequestMapping("/tWzCkHeadController") @RequestMapping("/tWzCkHeadController")
public class TWzCkHeadController extends BaseController { public class TWzCkHeadController extends BaseController {
@ -103,7 +103,7 @@ public class TWzCkHeadController extends BaseController {
JdbcDao jdbcDao; JdbcDao jdbcDao;
/** /**
* *
* *
* @return * @return
*/ */
@ -174,7 +174,7 @@ public class TWzCkHeadController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -183,13 +183,13 @@ public class TWzCkHeadController extends BaseController {
public AjaxJson doDel(TWzCkHeadEntity tWzCkHead, HttpServletRequest request) { public AjaxJson doDel(TWzCkHeadEntity tWzCkHead, HttpServletRequest request) {
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
tWzCkHead = systemService.getEntity(TWzCkHeadEntity.class, tWzCkHead.getId()); tWzCkHead = systemService.getEntity(TWzCkHeadEntity.class, tWzCkHead.getId());
String message = "物出库删除成功"; String message = "物出库删除成功";
try{ try{
tWzCkHeadService.delMain(tWzCkHead); tWzCkHeadService.delMain(tWzCkHead);
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物出库删除失败"; message = "物出库删除失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -197,7 +197,7 @@ public class TWzCkHeadController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -205,7 +205,7 @@ public class TWzCkHeadController extends BaseController {
@ResponseBody @ResponseBody
public AjaxJson doBatchDel(String ids,HttpServletRequest request){ public AjaxJson doBatchDel(String ids,HttpServletRequest request){
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
String message = "物出库删除成功"; String message = "物出库删除成功";
try{ try{
for(String id:ids.split(",")){ for(String id:ids.split(",")){
TWzCkHeadEntity tWzCkHead = systemService.getEntity(TWzCkHeadEntity.class, TWzCkHeadEntity tWzCkHead = systemService.getEntity(TWzCkHeadEntity.class,
@ -216,7 +216,7 @@ public class TWzCkHeadController extends BaseController {
} }
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物出库删除失败"; message = "物出库删除失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -225,7 +225,7 @@ public class TWzCkHeadController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -263,7 +263,7 @@ public class TWzCkHeadController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -298,7 +298,7 @@ public class TWzCkHeadController extends BaseController {
systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物出库添加失败"; message = "物出库添加失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -345,7 +345,7 @@ public class TWzCkHeadController extends BaseController {
sheet.setColumnWidth(6, 10 * 256); sheet.setColumnWidth(6, 10 * 256);
sheet.setColumnWidth(7, 10 * 256); sheet.setColumnWidth(7, 10 * 256);
sheet.setColumnWidth(8, 15 * 256); sheet.setColumnWidth(8, 15 * 256);
//{ "序号", "物资编码", "物资名称", "仓库", "领用人", "数量", "单位", "单价","金额" } //{ "序号", "物料编码", "物料名称", "仓库", "领用人", "数量", "单位", "单价","金额" }
// sheet.setColumnWidth(7, 8 * 256); // sheet.setColumnWidth(7, 8 * 256);
// sheet.setColumnWidth(8, 8 * 256); // sheet.setColumnWidth(8, 8 * 256);
// 创建第一行 // 创建第一行
@ -442,7 +442,7 @@ public class TWzCkHeadController extends BaseController {
Row rowColumnName = sheet.createRow((short) 4); // 列名 Row rowColumnName = sheet.createRow((short) 4); // 列名
rowColumnName.setHeight((short) 500); rowColumnName.setHeight((short) 500);
String[] columnNames = { "序号", "物资编码", "物资名称", "仓库", "领用人", "数量", "单位", "单价", String[] columnNames = { "序号", "物料编码", "物料名称", "仓库", "领用人", "数量", "单位", "单价",
"金额" }; "金额" };
Double totalAmount = 0d; Double totalAmount = 0d;
@ -590,7 +590,7 @@ public class TWzCkHeadController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -621,7 +621,7 @@ public class TWzCkHeadController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -649,7 +649,7 @@ public class TWzCkHeadController extends BaseController {
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "更新物出库失败"; message = "更新物出库失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -657,7 +657,7 @@ public class TWzCkHeadController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -671,7 +671,7 @@ public class TWzCkHeadController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -765,9 +765,9 @@ public class TWzCkHeadController extends BaseController {
} }
} }
} }
map.put(NormalExcelConstants.FILE_NAME,"物出库"); map.put(NormalExcelConstants.FILE_NAME,"物出库");
map.put(NormalExcelConstants.CLASS,TWzCkHeadPage.class); map.put(NormalExcelConstants.CLASS,TWzCkHeadPage.class);
map.put(NormalExcelConstants.PARAMS,new ExportParams("物出库列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(), map.put(NormalExcelConstants.PARAMS,new ExportParams("物出库列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
"导出信息")); "导出信息"));
map.put(NormalExcelConstants.DATA_LIST,pageList); map.put(NormalExcelConstants.DATA_LIST,pageList);
return NormalExcelConstants.JEECG_EXCEL_VIEW; return NormalExcelConstants.JEECG_EXCEL_VIEW;
@ -818,9 +818,9 @@ public class TWzCkHeadController extends BaseController {
*/ */
@RequestMapping(params = "exportXlsByT") @RequestMapping(params = "exportXlsByT")
public String exportXlsByT(ModelMap map) { public String exportXlsByT(ModelMap map) {
map.put(NormalExcelConstants.FILE_NAME,"物出库"); map.put(NormalExcelConstants.FILE_NAME,"物出库");
map.put(NormalExcelConstants.CLASS,TWzCkHeadPage.class); map.put(NormalExcelConstants.CLASS,TWzCkHeadPage.class);
map.put(NormalExcelConstants.PARAMS,new ExportParams("物出库列表", "导出人:"+ ResourceUtil.getSessionUser().getRealName(), map.put(NormalExcelConstants.PARAMS,new ExportParams("物出库列表", "导出人:"+ ResourceUtil.getSessionUser().getRealName(),
"导出信息")); "导出信息"));
map.put(NormalExcelConstants.DATA_LIST,new ArrayList()); map.put(NormalExcelConstants.DATA_LIST,new ArrayList());
return NormalExcelConstants.JEECG_EXCEL_VIEW; return NormalExcelConstants.JEECG_EXCEL_VIEW;
@ -839,7 +839,7 @@ public class TWzCkHeadController extends BaseController {
@RequestMapping(method = RequestMethod.GET) @RequestMapping(method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value="物出库列表信息",produces="application/json",httpMethod="GET") @ApiOperation(value="物出库列表信息",produces="application/json",httpMethod="GET")
public ResponseMessage<List<TWzCkHeadPage>> list() { public ResponseMessage<List<TWzCkHeadPage>> list() {
List<TWzCkHeadEntity> list= tWzCkHeadService.getList(TWzCkHeadEntity.class); List<TWzCkHeadEntity> list= tWzCkHeadService.getList(TWzCkHeadEntity.class);
List<TWzCkHeadPage> pageList=new ArrayList<TWzCkHeadPage>(); List<TWzCkHeadPage> pageList=new ArrayList<TWzCkHeadPage>();
@ -863,11 +863,11 @@ public class TWzCkHeadController extends BaseController {
@RequestMapping(value = "/{id}", method = RequestMethod.GET) @RequestMapping(value = "/{id}", method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value="根据ID获取物资出库信息",notes="根据ID获取物资出库信息",httpMethod="GET",produces="application/json") @ApiOperation(value="根据ID获取物料出库信息",notes="根据ID获取物料出库信息",httpMethod="GET",produces="application/json")
public ResponseMessage<?> get(@ApiParam(required=true,name="id",value="ID")@PathVariable("id") String id) { public ResponseMessage<?> get(@ApiParam(required=true,name="id",value="ID")@PathVariable("id") String id) {
TWzCkHeadEntity task = tWzCkHeadService.get(TWzCkHeadEntity.class, id); TWzCkHeadEntity task = tWzCkHeadService.get(TWzCkHeadEntity.class, id);
if (task == null) { if (task == null) {
return Result.error("根据ID获取物出库信息为空"); return Result.error("根据ID获取物出库信息为空");
} }
TWzCkHeadPage page = new TWzCkHeadPage(); TWzCkHeadPage page = new TWzCkHeadPage();
try { try {
@ -884,8 +884,8 @@ public class TWzCkHeadController extends BaseController {
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody @ResponseBody
@ApiOperation(value="创建物出库") @ApiOperation(value="创建物出库")
public ResponseMessage<?> create(@ApiParam(name="物出库对象")@RequestBody TWzCkHeadPage tWzCkHeadPage, UriComponentsBuilder uriBuilder) { public ResponseMessage<?> create(@ApiParam(name="物出库对象")@RequestBody TWzCkHeadPage tWzCkHeadPage, UriComponentsBuilder uriBuilder) {
//调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息. //调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息.
Set<ConstraintViolation<TWzCkHeadPage>> failures = validator.validate(tWzCkHeadPage); Set<ConstraintViolation<TWzCkHeadPage>> failures = validator.validate(tWzCkHeadPage);
if (!failures.isEmpty()) { if (!failures.isEmpty()) {
@ -900,7 +900,7 @@ public class TWzCkHeadController extends BaseController {
MyBeanUtils.copyBeanNotNull2Bean(tWzCkHeadPage,tWzCkHead); MyBeanUtils.copyBeanNotNull2Bean(tWzCkHeadPage,tWzCkHead);
}catch(Exception e){ }catch(Exception e){
logger.info(e.getMessage()); logger.info(e.getMessage());
return Result.error("保存物出库失败"); return Result.error("保存物出库失败");
} }
tWzCkHeadService.addMain(tWzCkHead, tWzCkItemList); tWzCkHeadService.addMain(tWzCkHead, tWzCkItemList);
@ -909,7 +909,7 @@ public class TWzCkHeadController extends BaseController {
@RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody @ResponseBody
@ApiOperation(value="更新物资出库",notes="更新物资出库") @ApiOperation(value="更新物料出库",notes="更新物料出库")
public ResponseMessage<?> update(@RequestBody TWzCkHeadPage tWzCkHeadPage) { public ResponseMessage<?> update(@RequestBody TWzCkHeadPage tWzCkHeadPage) {
//调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息. //调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息.
Set<ConstraintViolation<TWzCkHeadPage>> failures = validator.validate(tWzCkHeadPage); Set<ConstraintViolation<TWzCkHeadPage>> failures = validator.validate(tWzCkHeadPage);
@ -925,7 +925,7 @@ public class TWzCkHeadController extends BaseController {
MyBeanUtils.copyBeanNotNull2Bean(tWzCkHeadPage,tWzCkHead); MyBeanUtils.copyBeanNotNull2Bean(tWzCkHeadPage,tWzCkHead);
}catch(Exception e){ }catch(Exception e){
logger.info(e.getMessage()); logger.info(e.getMessage());
return Result.error("物出库更新失败"); return Result.error("物出库更新失败");
} }
tWzCkHeadService.updateMain(tWzCkHead, tWzCkItemList); tWzCkHeadService.updateMain(tWzCkHead, tWzCkItemList);
@ -935,7 +935,7 @@ public class TWzCkHeadController extends BaseController {
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE) @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
@ResponseStatus(HttpStatus.NO_CONTENT) @ResponseStatus(HttpStatus.NO_CONTENT)
@ApiOperation(value="删除物出库") @ApiOperation(value="删除物出库")
public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) { public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) {
logger.info("delete[{}]" + id); logger.info("delete[{}]" + id);
// 验证 // 验证
@ -947,7 +947,7 @@ public class TWzCkHeadController extends BaseController {
tWzCkHeadService.delMain(tWzCkHead); tWzCkHeadService.delMain(tWzCkHead);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return Result.error("物出库删除失败"); return Result.error("物出库删除失败");
} }
return Result.success(); return Result.success();

View File

@ -80,13 +80,13 @@ import io.swagger.annotations.ApiParam;
/** /**
* @Title: Controller * @Title: Controller
* @Description: * @Description:
* @author onlineGenerator * @author onlineGenerator
* @date 2018-05-21 13:23:13 * @date 2018-05-21 13:23:13
* @version V1.0 * @version V1.0
* *
*/ */
@Api(value="TWzPoHead",description="物采购订单",tags="tWzPoHeadController") @Api(value="TWzPoHead",description="物采购订单",tags="tWzPoHeadController")
@Controller @Controller
@RequestMapping("/tWzPoHeadController") @RequestMapping("/tWzPoHeadController")
public class TWzPoHeadController extends BaseController { public class TWzPoHeadController extends BaseController {
@ -103,7 +103,7 @@ public class TWzPoHeadController extends BaseController {
private Validator validator; private Validator validator;
/** /**
* *
* *
* @return * @return
*/ */
@ -154,7 +154,7 @@ public class TWzPoHeadController extends BaseController {
TagUtil.datagrid(response, dataGrid); TagUtil.datagrid(response, dataGrid);
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -163,7 +163,7 @@ public class TWzPoHeadController extends BaseController {
public AjaxJson doDel(TWzPoHeadEntity tWzPoHead, HttpServletRequest request) { public AjaxJson doDel(TWzPoHeadEntity tWzPoHead, HttpServletRequest request) {
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
tWzPoHead = systemService.getEntity(TWzPoHeadEntity.class, tWzPoHead.getId()); tWzPoHead = systemService.getEntity(TWzPoHeadEntity.class, tWzPoHead.getId());
String message = "物采购订单删除成功"; String message = "物采购订单删除成功";
try{ try{
tWzPoHead.setBpmStatus("9"); tWzPoHead.setBpmStatus("9");
systemService.saveOrUpdate(tWzPoHead); systemService.saveOrUpdate(tWzPoHead);
@ -171,7 +171,7 @@ public class TWzPoHeadController extends BaseController {
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物采购订单删除失败"; message = "物采购订单删除失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -179,7 +179,7 @@ public class TWzPoHeadController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -187,7 +187,7 @@ public class TWzPoHeadController extends BaseController {
@ResponseBody @ResponseBody
public AjaxJson doBatchDel(String ids,HttpServletRequest request){ public AjaxJson doBatchDel(String ids,HttpServletRequest request){
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
String message = "物采购订单删除成功"; String message = "物采购订单删除成功";
try{ try{
for(String id:ids.split(",")){ for(String id:ids.split(",")){
TWzPoHeadEntity tWzPoHead = systemService.getEntity(TWzPoHeadEntity.class, TWzPoHeadEntity tWzPoHead = systemService.getEntity(TWzPoHeadEntity.class,
@ -198,7 +198,7 @@ public class TWzPoHeadController extends BaseController {
} }
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物采购订单删除失败"; message = "物采购订单删除失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -366,7 +366,7 @@ public class TWzPoHeadController extends BaseController {
Row rowColumnName = sheet.createRow((short) 6); // 列名 Row rowColumnName = sheet.createRow((short) 6); // 列名
rowColumnName.setHeight((short) 500); rowColumnName.setHeight((short) 500);
String[] columnNames = { "序号", "物资编码", "物资名称", "数量", "单位", String[] columnNames = { "序号", "物料编码", "物料名称", "数量", "单位",
"备注" }; "备注" };
for (int i = 0; i < columnNames.length; i++) { for (int i = 0; i < columnNames.length; i++) {
@ -455,7 +455,7 @@ public class TWzPoHeadController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -470,7 +470,7 @@ public class TWzPoHeadController extends BaseController {
systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "物采购订单添加失败"; message = "物采购订单添加失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -479,7 +479,7 @@ public class TWzPoHeadController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -520,7 +520,7 @@ public class TWzPoHeadController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -545,7 +545,7 @@ public class TWzPoHeadController extends BaseController {
/** /**
* *
* *
* @return * @return
*/ */
@ -560,7 +560,7 @@ public class TWzPoHeadController extends BaseController {
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO); systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
}catch(Exception e){ }catch(Exception e){
e.printStackTrace(); e.printStackTrace();
message = "更新物采购订单失败"; message = "更新物采购订单失败";
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
j.setMsg(message); j.setMsg(message);
@ -568,7 +568,7 @@ public class TWzPoHeadController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -582,7 +582,7 @@ public class TWzPoHeadController extends BaseController {
} }
/** /**
* *
* *
* @return * @return
*/ */
@ -653,9 +653,9 @@ public class TWzPoHeadController extends BaseController {
} }
} }
} }
map.put(NormalExcelConstants.FILE_NAME,"物资采购订单"); map.put(NormalExcelConstants.FILE_NAME,"采购订单");
map.put(NormalExcelConstants.CLASS,TWzPoHeadPage.class); map.put(NormalExcelConstants.CLASS,TWzPoHeadPage.class);
map.put(NormalExcelConstants.PARAMS,new ExportParams("物资采购订单列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(), map.put(NormalExcelConstants.PARAMS,new ExportParams("采购订单列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
"导出信息")); "导出信息"));
map.put(NormalExcelConstants.DATA_LIST,pageList); map.put(NormalExcelConstants.DATA_LIST,pageList);
return NormalExcelConstants.JEECG_EXCEL_VIEW; return NormalExcelConstants.JEECG_EXCEL_VIEW;
@ -706,9 +706,9 @@ public class TWzPoHeadController extends BaseController {
*/ */
@RequestMapping(params = "exportXlsByT") @RequestMapping(params = "exportXlsByT")
public String exportXlsByT(ModelMap map) { public String exportXlsByT(ModelMap map) {
map.put(NormalExcelConstants.FILE_NAME,"物采购订单"); map.put(NormalExcelConstants.FILE_NAME,"物采购订单");
map.put(NormalExcelConstants.CLASS,TWzPoHeadPage.class); map.put(NormalExcelConstants.CLASS,TWzPoHeadPage.class);
map.put(NormalExcelConstants.PARAMS,new ExportParams("物采购订单列表", "导出人:"+ ResourceUtil.getSessionUser().getRealName(), map.put(NormalExcelConstants.PARAMS,new ExportParams("物采购订单列表", "导出人:"+ ResourceUtil.getSessionUser().getRealName(),
"导出信息")); "导出信息"));
map.put(NormalExcelConstants.DATA_LIST,new ArrayList()); map.put(NormalExcelConstants.DATA_LIST,new ArrayList());
return NormalExcelConstants.JEECG_EXCEL_VIEW; return NormalExcelConstants.JEECG_EXCEL_VIEW;
@ -727,7 +727,7 @@ public class TWzPoHeadController extends BaseController {
@RequestMapping(method = RequestMethod.GET) @RequestMapping(method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value="物采购订单列表信息",produces="application/json",httpMethod="GET") @ApiOperation(value="物采购订单列表信息",produces="application/json",httpMethod="GET")
public ResponseMessage<List<TWzPoHeadPage>> list() { public ResponseMessage<List<TWzPoHeadPage>> list() {
List<TWzPoHeadEntity> list= tWzPoHeadService.getList(TWzPoHeadEntity.class); List<TWzPoHeadEntity> list= tWzPoHeadService.getList(TWzPoHeadEntity.class);
List<TWzPoHeadPage> pageList=new ArrayList<TWzPoHeadPage>(); List<TWzPoHeadPage> pageList=new ArrayList<TWzPoHeadPage>();
@ -751,11 +751,11 @@ public class TWzPoHeadController extends BaseController {
@RequestMapping(value = "/{id}", method = RequestMethod.GET) @RequestMapping(value = "/{id}", method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value="根据ID获取物资采购订单信息",notes="根据ID获取物资采购订单信息",httpMethod="GET",produces="application/json") @ApiOperation(value="根据ID获取物料采购订单信息",notes="根据ID获取物料采购订单信息",httpMethod="GET",produces="application/json")
public ResponseMessage<?> get(@ApiParam(required=true,name="id",value="ID")@PathVariable("id") String id) { public ResponseMessage<?> get(@ApiParam(required=true,name="id",value="ID")@PathVariable("id") String id) {
TWzPoHeadEntity task = tWzPoHeadService.get(TWzPoHeadEntity.class, id); TWzPoHeadEntity task = tWzPoHeadService.get(TWzPoHeadEntity.class, id);
if (task == null) { if (task == null) {
return Result.error("根据ID获取物采购订单信息为空"); return Result.error("根据ID获取物采购订单信息为空");
} }
TWzPoHeadPage page = new TWzPoHeadPage(); TWzPoHeadPage page = new TWzPoHeadPage();
try { try {
@ -772,8 +772,8 @@ public class TWzPoHeadController extends BaseController {
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody @ResponseBody
@ApiOperation(value="创建物采购订单") @ApiOperation(value="创建物采购订单")
public ResponseMessage<?> create(@ApiParam(name="物采购订单对象")@RequestBody TWzPoHeadPage tWzPoHeadPage, UriComponentsBuilder uriBuilder) { public ResponseMessage<?> create(@ApiParam(name="物采购订单对象")@RequestBody TWzPoHeadPage tWzPoHeadPage, UriComponentsBuilder uriBuilder) {
//调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息. //调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息.
Set<ConstraintViolation<TWzPoHeadPage>> failures = validator.validate(tWzPoHeadPage); Set<ConstraintViolation<TWzPoHeadPage>> failures = validator.validate(tWzPoHeadPage);
if (!failures.isEmpty()) { if (!failures.isEmpty()) {
@ -788,7 +788,7 @@ public class TWzPoHeadController extends BaseController {
MyBeanUtils.copyBeanNotNull2Bean(tWzPoHeadPage,tWzPoHead); MyBeanUtils.copyBeanNotNull2Bean(tWzPoHeadPage,tWzPoHead);
}catch(Exception e){ }catch(Exception e){
logger.info(e.getMessage()); logger.info(e.getMessage());
return Result.error("保存物采购订单失败"); return Result.error("保存物采购订单失败");
} }
tWzPoHeadService.addMain(tWzPoHead, tWzPoItemList); tWzPoHeadService.addMain(tWzPoHead, tWzPoItemList);
@ -797,7 +797,7 @@ public class TWzPoHeadController extends BaseController {
@RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody @ResponseBody
@ApiOperation(value="更新物资采购订单",notes="更新物资采购订单") @ApiOperation(value="更新物料采购订单",notes="更新物料采购订单")
public ResponseMessage<?> update(@RequestBody TWzPoHeadPage tWzPoHeadPage) { public ResponseMessage<?> update(@RequestBody TWzPoHeadPage tWzPoHeadPage) {
//调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息. //调用JSR303 Bean Validator进行校验如果出错返回含400错误码及json格式的错误信息.
Set<ConstraintViolation<TWzPoHeadPage>> failures = validator.validate(tWzPoHeadPage); Set<ConstraintViolation<TWzPoHeadPage>> failures = validator.validate(tWzPoHeadPage);
@ -813,7 +813,7 @@ public class TWzPoHeadController extends BaseController {
MyBeanUtils.copyBeanNotNull2Bean(tWzPoHeadPage,tWzPoHead); MyBeanUtils.copyBeanNotNull2Bean(tWzPoHeadPage,tWzPoHead);
}catch(Exception e){ }catch(Exception e){
logger.info(e.getMessage()); logger.info(e.getMessage());
return Result.error("物采购订单更新失败"); return Result.error("物采购订单更新失败");
} }
tWzPoHeadService.updateMain(tWzPoHead, tWzPoItemList); tWzPoHeadService.updateMain(tWzPoHead, tWzPoItemList);
@ -823,7 +823,7 @@ public class TWzPoHeadController extends BaseController {
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE) @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
@ResponseStatus(HttpStatus.NO_CONTENT) @ResponseStatus(HttpStatus.NO_CONTENT)
@ApiOperation(value="删除物采购订单") @ApiOperation(value="删除物采购订单")
public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) { public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) {
logger.info("delete[{}]" + id); logger.info("delete[{}]" + id);
// 验证 // 验证
@ -835,7 +835,7 @@ public class TWzPoHeadController extends BaseController {
tWzPoHeadService.delMain(tWzPoHead); tWzPoHeadService.delMain(tWzPoHead);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return Result.error("物采购订单删除失败"); return Result.error("物采购订单删除失败");
} }
return Result.success(); return Result.success();

View File

@ -19,7 +19,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
/** /**
* @Title: Entity * @Title: Entity
* @Description: * @Description:
* @author onlineGenerator * @author onlineGenerator
* @date 2018-05-20 21:43:29 * @date 2018-05-20 21:43:29
* @version V1.0 * @version V1.0

View File

@ -4,10 +4,10 @@ import org.jeecgframework.poi.excel.annotation.Excel;
public class TWzCkItemDto { public class TWzCkItemDto {
/**物名称*/ /**物名称*/
@Excel(name="商品编号",width=15) @Excel(name="商品编号",width=15)
private String matCode; private String matCode;
/**物名称*/ /**物名称*/
@Excel(name="商品名称",width=15) @Excel(name="商品名称",width=15)
private String matName; private String matName;
/**仓库*/ /**仓库*/
@ -22,7 +22,7 @@ public class TWzCkItemDto {
/**单价*/ /**单价*/
@Excel(name="单价",width=15) @Excel(name="单价",width=15)
private String matPrice; private String matPrice;
/**物单位*/ /**物单位*/
@Excel(name="单位",width=15) @Excel(name="单位",width=15)
private String matUnit; private String matUnit;
/**总价*/ /**总价*/

View File

@ -51,11 +51,11 @@ public class TWzCkItemEntity implements java.io.Serializable {
private String bpmStatus; private String bpmStatus;
/**外键*/ /**外键*/
private String wzckHid; private String wzckHid;
/**物编码*/ /**物编码*/
@Excel(name="物编码",width=15) @Excel(name="物编码",width=15)
private String matCode; private String matCode;
/**物名称*/ /**物名称*/
@Excel(name="物名称",width=15) @Excel(name="物名称",width=15)
private String matName; private String matName;
/**数量*/ /**数量*/
@Excel(name="数量",width=15) @Excel(name="数量",width=15)
@ -291,7 +291,7 @@ public class TWzCkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_CODE",nullable=true,length=32) @Column(name ="MAT_CODE",nullable=true,length=32)
@ -301,7 +301,7 @@ public class TWzCkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatCode(String matCode){ public void setMatCode(String matCode){
this.matCode = matCode; this.matCode = matCode;
@ -309,7 +309,7 @@ public class TWzCkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_NAME",nullable=true,length=32) @Column(name ="MAT_NAME",nullable=true,length=32)
@ -319,7 +319,7 @@ public class TWzCkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatName(String matName){ public void setMatName(String matName){
this.matName = matName; this.matName = matName;

View File

@ -19,7 +19,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
/** /**
* @Title: Entity * @Title: Entity
* @Description: * @Description:
* @author onlineGenerator * @author onlineGenerator
* @date 2018-05-21 13:23:13 * @date 2018-05-21 13:23:13
* @version V1.0 * @version V1.0

View File

@ -51,11 +51,11 @@ public class TWzPoItemEntity implements java.io.Serializable {
private String bpmStatus; private String bpmStatus;
/**外键*/ /**外键*/
private String poId; private String poId;
/**物编码*/ /**物编码*/
@Excel(name="物编码",width=15) @Excel(name="物编码",width=15)
private String matCode; private String matCode;
/**物名称*/ /**物名称*/
@Excel(name="物名称",width=15) @Excel(name="物名称",width=15)
private String matName; private String matName;
/**数量*/ /**数量*/
@Excel(name="数量",width=15) @Excel(name="数量",width=15)
@ -289,7 +289,7 @@ public class TWzPoItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_CODE",nullable=true,length=32) @Column(name ="MAT_CODE",nullable=true,length=32)
@ -299,7 +299,7 @@ public class TWzPoItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatCode(String matCode){ public void setMatCode(String matCode){
this.matCode = matCode; this.matCode = matCode;
@ -307,7 +307,7 @@ public class TWzPoItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_NAME",nullable=true,length=32) @Column(name ="MAT_NAME",nullable=true,length=32)
@ -317,7 +317,7 @@ public class TWzPoItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatName(String matName){ public void setMatName(String matName){
this.matName = matName; this.matName = matName;

View File

@ -6,13 +6,13 @@ public class TWzRkItemDto {
/**主键*/ /**主键*/
private Integer id; private Integer id;
/**物名称*/ /**物名称*/
@Excel(name="编码/商品名称",width=15) @Excel(name="编码/商品名称",width=15)
private String matName; private String matName;
/**物编码*/ /**物编码*/
@Excel(name="规格",width=15) @Excel(name="规格",width=15)
private String spec; private String spec;
/**物单位*/ /**物单位*/
@Excel(name="单位",width=15) @Excel(name="单位",width=15)
private String matUnit; private String matUnit;
/**仓库*/ /**仓库*/

View File

@ -51,17 +51,17 @@ public class TWzRkItemEntity implements java.io.Serializable {
private String bpmStatus; private String bpmStatus;
/**外键*/ /**外键*/
private String wzrkHid; private String wzrkHid;
/**物编码*/ /**物编码*/
@Excel(name="物编码",width=15) @Excel(name="物编码",width=15)
private String matCode; private String matCode;
/**物名称*/ /**物名称*/
@Excel(name="物名称",width=15) @Excel(name="物名称",width=15)
private String matName; private String matName;
/**入库数量*/ /**入库数量*/
@Excel(name="入库数量",width=15) @Excel(name="入库数量",width=15)
private String matQty; private String matQty;
/**物单位*/ /**物单位*/
@Excel(name="物单位",width=15) @Excel(name="物单位",width=15)
private String matUnit; private String matUnit;
/**仓库*/ /**仓库*/
@Excel(name="仓库",width=15) @Excel(name="仓库",width=15)
@ -292,7 +292,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_CODE",nullable=true,length=32) @Column(name ="MAT_CODE",nullable=true,length=32)
@ -302,7 +302,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatCode(String matCode){ public void setMatCode(String matCode){
this.matCode = matCode; this.matCode = matCode;
@ -310,7 +310,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_NAME",nullable=true,length=32) @Column(name ="MAT_NAME",nullable=true,length=32)
@ -320,7 +320,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatName(String matName){ public void setMatName(String matName){
this.matName = matName; this.matName = matName;
@ -346,7 +346,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@return: java.lang.String *@return: java.lang.String
*/ */
@Column(name ="MAT_UNIT",nullable=true,length=32) @Column(name ="MAT_UNIT",nullable=true,length=32)
@ -356,7 +356,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
/** /**
*: java.lang.String *: java.lang.String
*@param: java.lang.String *@param: java.lang.String
*/ */
public void setMatUnit(String matUnit){ public void setMatUnit(String matUnit){
this.matUnit = matUnit; this.matUnit = matUnit;

View File

@ -21,7 +21,7 @@ import org.jeecgframework.poi.excel.annotation.ExcelCollection;
/** /**
* @Title: Entity * @Title: Entity
* @Description: * @Description:
* @author onlineGenerator * @author onlineGenerator
* @date 2018-05-20 21:43:29 * @date 2018-05-20 21:43:29
* @version V1.0 * @version V1.0

View File

@ -21,7 +21,7 @@ import org.jeecgframework.poi.excel.annotation.ExcelCollection;
/** /**
* @Title: Entity * @Title: Entity
* @Description: * @Description:
* @author onlineGenerator * @author onlineGenerator
* @date 2018-05-21 13:23:13 * @date 2018-05-21 13:23:13
* @version V1.0 * @version V1.0

View File

@ -3,7 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>物</title> <title>物</title>
<t:base type="jquery,easyui,tools,DatePicker"></t:base> <t:base type="jquery,easyui,tools,DatePicker"></t:base>
<script type="text/javascript"> <script type="text/javascript">
//编写自定义JS代码 //编写自定义JS代码
@ -16,25 +16,25 @@
<tr> <tr>
<td align="right"> <td align="right">
<label class="Validform_label"> <label class="Validform_label">
编码: 编码:
</label> </label>
</td> </td>
<td class="value"> <td class="value">
<input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" validType="t_wz_material,mat_code,id" datatype="*" ignore="checked" /> <input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" validType="t_wz_material,mat_code,id" datatype="*" ignore="checked" />
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
</tr> </tr>
<tr> <tr>
<td align="right"> <td align="right">
<label class="Validform_label"> <label class="Validform_label">
名称: 名称:
</label> </label>
</td> </td>
<td class="value"> <td class="value">
<input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" /> <input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" />
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -3,7 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>物</title> <title>物</title>
<t:base type="jquery,easyui,tools,DatePicker"></t:base> <t:base type="jquery,easyui,tools,DatePicker"></t:base>
<script type="text/javascript"> <script type="text/javascript">
//编写自定义JS代码 //编写自定义JS代码
@ -16,25 +16,25 @@
<tr> <tr>
<td align="right"> <td align="right">
<label class="Validform_label"> <label class="Validform_label">
编码: 编码:
</label> </label>
</td> </td>
<td class="value"> <td class="value">
<input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" validType="t_wz_material,mat_code,id" datatype="*" ignore="checked" value='${tWzMaterialPage.matCode}'/> <input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" validType="t_wz_material,mat_code,id" datatype="*" ignore="checked" value='${tWzMaterialPage.matCode}'/>
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
</tr> </tr>
<tr> <tr>
<td align="right"> <td align="right">
<label class="Validform_label"> <label class="Validform_label">
名称: 名称:
</label> </label>
</td> </td>
<td class="value"> <td class="value">
<input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" value='${tWzMaterialPage.matName}'/> <input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" value='${tWzMaterialPage.matName}'/>
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -3,7 +3,7 @@
<t:base type="jquery,easyui,tools,DatePicker"></t:base> <t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true"> <div class="easyui-layout" fit="true">
<div region="center" style="padding:0px;border:0px"> <div region="center" style="padding:0px;border:0px">
<t:datagrid name="tWzMaterialList" checkbox="true" pagination="true" fitColumns="true" title="物" actionUrl="tWzMaterialController.do?datagrid" idField="id" fit="true" queryMode="group"> <t:datagrid name="tWzMaterialList" checkbox="true" pagination="true" fitColumns="true" title="物" actionUrl="tWzMaterialController.do?datagrid" idField="id" fit="true" queryMode="group">
<t:dgCol title="主键" field="id" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="主键" field="id" hidden="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>
@ -14,8 +14,8 @@
<t:dgCol title="所属部门" field="sysOrgCode" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="所属部门" field="sysOrgCode" hidden="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="所属公司" field="sysCompanyCode" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="所属公司" field="sysCompanyCode" hidden="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="流程状态" field="bpmStatus" hidden="true" queryMode="single" dictionary="bpm_status" width="120"></t:dgCol> <t:dgCol title="流程状态" field="bpmStatus" hidden="true" queryMode="single" dictionary="bpm_status" width="120"></t:dgCol>
<t:dgCol title="物编码" field="matCode" query="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="物编码" field="matCode" query="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="物名称" field="matName" query="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="物名称" field="matName" query="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="单位" field="matUnit" queryMode="single" dictionary="ba_unit,UNIT_CODE,UNIT_ZH_NAME" width="120"></t:dgCol> <t:dgCol title="单位" field="matUnit" queryMode="single" dictionary="ba_unit,UNIT_CODE,UNIT_ZH_NAME" width="120"></t:dgCol>
<t:dgCol title="规格" field="matGuige" queryMode="single" width="80"></t:dgCol> <t:dgCol title="规格" field="matGuige" queryMode="single" width="80"></t:dgCol>
<t:dgCol title="等级" field="matClass" queryMode="single" width="80"></t:dgCol> <t:dgCol title="等级" field="matClass" queryMode="single" width="80"></t:dgCol>

View File

@ -16,25 +16,25 @@
<tr> <tr>
<td align="right"> <td align="right">
<label class="Validform_label"> <label class="Validform_label">
编码: 编码:
</label> </label>
</td> </td>
<td class="value"> <td class="value">
<input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" ignore="ignore" /> <input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" ignore="ignore" />
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
</tr> </tr>
<tr> <tr>
<td align="right"> <td align="right">
<label class="Validform_label"> <label class="Validform_label">
名称: 名称:
</label> </label>
</td> </td>
<td class="value"> <td class="value">
<input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" ignore="ignore" /> <input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" ignore="ignore" />
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -16,25 +16,25 @@
<tr> <tr>
<td align="right"> <td align="right">
<label class="Validform_label"> <label class="Validform_label">
编码: 编码:
</label> </label>
</td> </td>
<td class="value"> <td class="value">
<input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${vWzPoWqPage.matCode}'/> <input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${vWzPoWqPage.matCode}'/>
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
</tr> </tr>
<tr> <tr>
<td align="right"> <td align="right">
<label class="Validform_label"> <label class="Validform_label">
名称: 名称:
</label> </label>
</td> </td>
<td class="value"> <td class="value">
<input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${vWzPoWqPage.matName}'/> <input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${vWzPoWqPage.matName}'/>
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -5,8 +5,8 @@
<div region="center" style="padding:0px;border:0px"> <div region="center" style="padding:0px;border:0px">
<t:datagrid name="vWzPoWqList" checkbox="true" pagination="true" fitColumns="true" title="批量采购入库" actionUrl="vWzPoWqController.do?datagrid" idField="id" fit="true" queryMode="group"> <t:datagrid name="vWzPoWqList" checkbox="true" pagination="true" fitColumns="true" title="批量采购入库" actionUrl="vWzPoWqController.do?datagrid" idField="id" fit="true" queryMode="group">
<t:dgCol title="id" field="id" hidden="true" queryMode="group" width="120"></t:dgCol> <t:dgCol title="id" field="id" hidden="true" queryMode="group" width="120"></t:dgCol>
<t:dgCol title="物编码" field="matCode" query="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="物编码" field="matCode" query="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="物名称" field="matName" query="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="物名称" field="matName" query="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="单位" field="matUnit" queryMode="group" width="120"></t:dgCol> <t:dgCol title="单位" field="matUnit" queryMode="group" width="120"></t:dgCol>
<t:dgCol title="仓库" field="matLocation" extendParams="editor:'text'" queryMode="group" width="120"></t:dgCol> <t:dgCol title="仓库" field="matLocation" extendParams="editor:'text'" queryMode="group" width="120"></t:dgCol>
<t:dgCol title="批次" field="matBatch" extendParams="editor:'text'" queryMode="group" width="120"></t:dgCol> <t:dgCol title="批次" field="matBatch" extendParams="editor:'text'" queryMode="group" width="120"></t:dgCol>

View File

@ -3,7 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>物出库</title> <title>物出库</title>
<style> <style>
.ui-button { .ui-button {
display: inline-block; display: inline-block;
@ -136,11 +136,11 @@
<td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td> <td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[#index#].matCode" name="tWzCkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')"/> <input name="tWzCkItemList[#index#].matCode" name="tWzCkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" onchange="checkstock('tWzCkItemList[#index#].matName')" datatype="*" ignore="ignore" /> <input name="tWzCkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" onchange="checkstock('tWzCkItemList[#index#].matName')" datatype="*" ignore="ignore" />
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzCkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />

View File

@ -3,7 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>物出库</title> <title>物出库</title>
<style> <style>
.ui-button { .ui-button {
display: inline-block; display: inline-block;
@ -136,11 +136,11 @@
<input name="tWzCkItemList[#index#].matCode" name="tWzCkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')" value="${poVal.matCode }" /> <input name="tWzCkItemList[#index#].matCode" name="tWzCkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="ignore" /> <input name="tWzCkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="ignore" />
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzCkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
@ -271,11 +271,11 @@
<input name="tWzCkItemList[#index#].matCode" readonly="readonly" name="tWzCkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')" value="${poVal.matCode }" /> <input name="tWzCkItemList[#index#].matCode" readonly="readonly" name="tWzCkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[#index#].matName" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="ignore" /> <input name="tWzCkItemList[#index#].matName" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="ignore" />
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[#index#].matQty" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzCkItemList[#index#].matQty" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />

View File

@ -3,7 +3,7 @@
<t:base type="jquery,easyui,tools,DatePicker"></t:base> <t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true"> <div class="easyui-layout" fit="true">
<div region="center" style="padding:0px;border:0px"> <div region="center" style="padding:0px;border:0px">
<t:datagrid name="tWzCkHeadList" checkbox="true" sortOrder="desc" sortName="id" fitColumns="true" title="物出库" actionUrl="tWzCkHeadController.do?datagrid" idField="id" fit="true" queryMode="group"> <t:datagrid name="tWzCkHeadList" checkbox="true" sortOrder="desc" sortName="id" fitColumns="true" title="物出库" actionUrl="tWzCkHeadController.do?datagrid" idField="id" fit="true" queryMode="group">
<t:dgCol title="主键" field="id" queryMode="single" width="120"></t:dgCol> <t:dgCol title="主键" field="id" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>

View File

@ -3,7 +3,7 @@
<t:base type="jquery,easyui,tools,DatePicker"></t:base> <t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true"> <div class="easyui-layout" fit="true">
<div region="center" style="padding:0px;border:0px"> <div region="center" style="padding:0px;border:0px">
<t:datagrid name="tWzCkHeadList" checkbox="true" sortOrder="desc" sortName="id" fitColumns="true" title="物出库" actionUrl="tWzCkHeadController.do?datagridsp" idField="id" fit="true" queryMode="group"> <t:datagrid name="tWzCkHeadList" checkbox="true" sortOrder="desc" sortName="id" fitColumns="true" title="物出库" actionUrl="tWzCkHeadController.do?datagridsp" idField="id" fit="true" queryMode="group">
<t:dgCol title="主键" field="id" queryMode="single" width="120"></t:dgCol> <t:dgCol title="主键" field="id" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>

View File

@ -34,10 +34,10 @@
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td>
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
编码 编码
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
名称 名称
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
数量 数量
@ -88,11 +88,11 @@
<input name="tWzCkItemList[0].by5" type="hidden"/> <input name="tWzCkItemList[0].by5" type="hidden"/>
<td align="left"> <td align="left">
<input id="tWzCkItemList[0].matCode" name="tWzCkItemList[0].matCode" type="text" style="width: 150px" class="searchbox-inputtext" value="${poVal.matCode }" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')"/> <input id="tWzCkItemList[0].matCode" name="tWzCkItemList[0].matCode" type="text" style="width: 150px" class="searchbox-inputtext" value="${poVal.matCode }" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[0].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="ignore" > <input name="tWzCkItemList[0].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="ignore" >
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" onchange="checkstock('tWzCkItemList[0].matQty')" datatype="*" ignore="checked" > <input name="tWzCkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" onchange="checkstock('tWzCkItemList[0].matQty')" datatype="*" ignore="checked" >
@ -152,11 +152,11 @@
<input name="tWzCkItemList[${stuts.index }].by5" type="hidden" value="${poVal.by5 }"/> <input name="tWzCkItemList[${stuts.index }].by5" type="hidden" value="${poVal.by5 }"/>
<td align="left"> <td align="left">
<input id="tWzCkItemList[${stuts.index }].matCode" name="tWzCkItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')" value="${poVal.matCode }" /> <input id="tWzCkItemList[${stuts.index }].matCode" name="tWzCkItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_batch,mat_price','matCode,matName,matUnit,matLocation,matBatch,matPrice','wz_stock_pop')" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[${stuts.index }].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="ignore" value="${poVal.matName }"/> <input name="tWzCkItemList[${stuts.index }].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="ignore" value="${poVal.matName }"/>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matQty }"/> <input name="tWzCkItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matQty }"/>

View File

@ -34,10 +34,10 @@
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td>
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
编码 编码
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
名称 名称
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
数量 数量
@ -88,11 +88,11 @@
<input name="tWzCkItemList[0].by5" type="hidden"/> <input name="tWzCkItemList[0].by5" type="hidden"/>
<td align="left"> <td align="left">
<input id="tWzCkItemList[0].matCode" name="tWzCkItemList[0].matCode" type="text" style="width: 150px" class="inputxt" readonly="readonly" value="${poVal.matCode }" datatype="*" ignore="ignore"/> <input id="tWzCkItemList[0].matCode" name="tWzCkItemList[0].matCode" type="text" style="width: 150px" class="inputxt" readonly="readonly" value="${poVal.matCode }" datatype="*" ignore="ignore"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[0].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="ignore" > <input name="tWzCkItemList[0].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="ignore" >
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" > <input name="tWzCkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" >
@ -152,11 +152,11 @@
<input name="tWzCkItemList[${stuts.index }].by5" type="hidden" value="${poVal.by5 }"/> <input name="tWzCkItemList[${stuts.index }].by5" type="hidden" value="${poVal.by5 }"/>
<td align="left"> <td align="left">
<input id="tWzCkItemList[${stuts.index }].matCode" name="tWzCkItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="inputxt" readonly="readonly" datatype="*" ignore="ignore" value="${poVal.matCode }" /> <input id="tWzCkItemList[${stuts.index }].matCode" name="tWzCkItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="inputxt" readonly="readonly" datatype="*" ignore="ignore" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[${stuts.index }].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="ignore" value="${poVal.matName }"/> <input name="tWzCkItemList[${stuts.index }].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="ignore" value="${poVal.matName }"/>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzCkItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" value="${poVal.matQty }"/> <input name="tWzCkItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" value="${poVal.matQty }"/>

View File

@ -3,7 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>物采购订单</title> <title>物采购订单</title>
<style> <style>
.ui-button { .ui-button {
display: inline-block; display: inline-block;
@ -97,11 +97,11 @@
<td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td> <td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[#index#].matCode" name="tWzPoItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')"/> <input name="tWzPoItemList[#index#].matCode" name="tWzPoItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" /> <input name="tWzPoItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" /> <input name="tWzPoItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />

View File

@ -3,7 +3,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>物采购订单</title> <title>物采购订单</title>
<style> <style>
.ui-button { .ui-button {
display: inline-block; display: inline-block;
@ -99,11 +99,11 @@
<input name="tWzPoItemList[#index#].matCode" name="tWzPoItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" /> <input name="tWzPoItemList[#index#].matCode" name="tWzPoItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" /> <input name="tWzPoItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" /> <input name="tWzPoItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />

View File

@ -3,7 +3,7 @@
<t:base type="jquery,easyui,tools,DatePicker"></t:base> <t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true"> <div class="easyui-layout" fit="true">
<div region="center" style="padding:0px;border:0px"> <div region="center" style="padding:0px;border:0px">
<t:datagrid name="tWzPoHeadList" checkbox="true" sortOrder="desc" sortName="id" fitColumns="true" title="物采购订单" actionUrl="tWzPoHeadController.do?datagrid" idField="id" fit="true" queryMode="group"> <t:datagrid name="tWzPoHeadList" checkbox="true" sortOrder="desc" sortName="id" fitColumns="true" title="物采购订单" actionUrl="tWzPoHeadController.do?datagrid" idField="id" fit="true" queryMode="group">
<t:dgCol title="操作" field="opt" width="160"></t:dgCol> <t:dgCol title="操作" field="opt" width="160"></t:dgCol>
<t:dgCol title="主键" field="id" queryMode="single" width="120"></t:dgCol> <t:dgCol title="主键" field="id" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol> <t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol>

View File

@ -3,7 +3,7 @@
<t:base type="jquery,easyui,tools,DatePicker"></t:base> <t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true"> <div class="easyui-layout" fit="true">
<div region="center" style="padding:0px;border:0px"> <div region="center" style="padding:0px;border:0px">
<t:datagrid name="tWzPoHeadList" checkbox="true" sortOrder="desc" sortName="id" fitColumns="true" title="物采购订单" actionUrl="tWzPoHeadController.do?datagridsp" idField="id" fit="true" queryMode="group"> <t:datagrid name="tWzPoHeadList" checkbox="true" sortOrder="desc" sortName="id" fitColumns="true" title="物采购订单" actionUrl="tWzPoHeadController.do?datagridsp" idField="id" fit="true" queryMode="group">
<t:dgCol title="操作" field="opt" width="100"></t:dgCol> <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
<t:dgCol title="主键" field="id" queryMode="single" width="120"></t:dgCol> <t:dgCol title="主键" field="id" queryMode="single" width="120"></t:dgCol>

View File

@ -34,10 +34,10 @@
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td>
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
编码 编码
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
名称 名称
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
数量 数量
@ -81,11 +81,11 @@
<input name="tWzPoItemList[0].matQtyWq" type="hidden"/> <input name="tWzPoItemList[0].matQtyWq" type="hidden"/>
<td align="left"> <td align="left">
<input id="tWzPoItemList[0].matCode" name="tWzPoItemList[0].matCode" type="text" style="width: 150px" class="searchbox-inputtext" value="${poVal.matCode }" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')"/> <input id="tWzPoItemList[0].matCode" name="tWzPoItemList[0].matCode" type="text" style="width: 150px" class="searchbox-inputtext" value="${poVal.matCode }" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[0].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" > <input name="tWzPoItemList[0].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" >
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" > <input name="tWzPoItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" >
@ -136,11 +136,11 @@
<input name="tWzPoItemList[${stuts.index }].matQtyWq" type="hidden" value="${poVal.matQtyWq }"/> <input name="tWzPoItemList[${stuts.index }].matQtyWq" type="hidden" value="${poVal.matQtyWq }"/>
<td align="left"> <td align="left">
<input id="tWzPoItemList[${stuts.index }].matCode" name="tWzPoItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="searchbox-inputtext" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" /> <input id="tWzPoItemList[${stuts.index }].matCode" name="tWzPoItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="searchbox-inputtext" ignore="ignore" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[${stuts.index }].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" value="${poVal.matName }"/> <input name="tWzPoItemList[${stuts.index }].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" value="${poVal.matName }"/>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzPoItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" value="${poVal.matQty }"/> <input name="tWzPoItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" value="${poVal.matQty }"/>

View File

@ -107,11 +107,11 @@
<td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td> <td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matCode" name="tWzRkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')"/> <input name="tWzRkItemList[#index#].matCode" name="tWzRkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
@ -119,7 +119,7 @@
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
<label class="Validform_label" style="display: none;">物单位</label> <label class="Validform_label" style="display: none;">物单位</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />

View File

@ -115,11 +115,11 @@
<input name="tWzRkItemList[#index#].matCode" name="tWzRkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" /> <input name="tWzRkItemList[#index#].matCode" name="tWzRkItemList[#index#].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
@ -127,7 +127,7 @@
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
<label class="Validform_label" style="display: none;">物单位</label> <label class="Validform_label" style="display: none;">物单位</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
@ -222,11 +222,11 @@
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matCode" value="${poVal.matCode }" type="text" style="width: 150px" datatype="*" ignore="checked" readonly="readonly"/> <input name="tWzRkItemList[#index#].matCode" value="${poVal.matCode }" type="text" style="width: 150px" datatype="*" ignore="checked" readonly="readonly"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" value="${poVal.matName}" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" value="${poVal.matName}" datatype="*" ignore="checked" />
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matQty" value="${poVal.matQty}" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matQty" value="${poVal.matQty}" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" />
@ -234,7 +234,7 @@
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matUnit" value="${poVal.matUnit}" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matUnit" value="${poVal.matUnit}" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" />
<label class="Validform_label" style="display: none;">物单位</label> <label class="Validform_label" style="display: none;">物单位</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[#index#].matLocation" value="${poVal.matLocation}" maxlength="32" type="text" class="inputxt" readonly="readonly" style="width:120px;" datatype="*" ignore="checked" /> <input name="tWzRkItemList[#index#].matLocation" value="${poVal.matLocation}" maxlength="32" type="text" class="inputxt" readonly="readonly" style="width:120px;" datatype="*" ignore="checked" />

View File

@ -34,16 +34,16 @@
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td>
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
编码 编码
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
名称 名称
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
入库数量 入库数量
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
单位 单位
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
仓库 仓库
@ -89,11 +89,11 @@
<input name="tWzRkItemList[0].by6" type="hidden"/> <input name="tWzRkItemList[0].by6" type="hidden"/>
<td align="left"> <td align="left">
<input id="tWzRkItemList[0].matCode" name="tWzRkItemList[0].matCode" type="text" style="width: 150px" class="searchbox-inputtext" value="${poVal.matCode }" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')"/> <input id="tWzRkItemList[0].matCode" name="tWzRkItemList[0].matCode" type="text" style="width: 150px" class="searchbox-inputtext" value="${poVal.matCode }" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[0].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" > <input name="tWzRkItemList[0].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" >
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" > <input name="tWzRkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" >
@ -101,7 +101,7 @@
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[0].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" > <input name="tWzRkItemList[0].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" >
<label class="Validform_label" style="display: none;">物单位</label> <label class="Validform_label" style="display: none;">物单位</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[0].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" > <input name="tWzRkItemList[0].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" >
@ -154,11 +154,11 @@
<input name="tWzRkItemList[${stuts.index }].by6" type="hidden" value="${poVal.by6 }"/> <input name="tWzRkItemList[${stuts.index }].by6" type="hidden" value="${poVal.by6 }"/>
<td align="left"> <td align="left">
<input id="tWzRkItemList[${stuts.index }].matCode" name="tWzRkItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" /> <input id="tWzRkItemList[${stuts.index }].matCode" name="tWzRkItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="searchbox-inputtext" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[${stuts.index }].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matName }"/> <input name="tWzRkItemList[${stuts.index }].matName" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matName }"/>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matQty }"/> <input name="tWzRkItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matQty }"/>
@ -166,7 +166,7 @@
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[${stuts.index }].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matUnit }"/> <input name="tWzRkItemList[${stuts.index }].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matUnit }"/>
<label class="Validform_label" style="display: none;">物单位</label> <label class="Validform_label" style="display: none;">物单位</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[${stuts.index }].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matLocation }"/> <input name="tWzRkItemList[${stuts.index }].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matLocation }"/>

View File

@ -34,16 +34,16 @@
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">序号</td>
<td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td> <td align="center" bgcolor="#EEEEEE" style="width: 25px;">操作</td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
编码 编码
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
名称 名称
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
入库数量 入库数量
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
单位 单位
</td> </td>
<td align="left" bgcolor="#EEEEEE" style="width: 126px;"> <td align="left" bgcolor="#EEEEEE" style="width: 126px;">
仓库 仓库
@ -89,11 +89,11 @@
<input name="tWzRkItemList[0].by6" type="hidden"/> <input name="tWzRkItemList[0].by6" type="hidden"/>
<td align="left"> <td align="left">
<input id="tWzRkItemList[0].matCode" name="tWzRkItemList[0].matCode" type="text" style="width: 150px" class="searchbox-inputtext" value="${poVal.matCode }" readonly="readonly" datatype="*" ignore="checked"/> <input id="tWzRkItemList[0].matCode" name="tWzRkItemList[0].matCode" type="text" style="width: 150px" class="searchbox-inputtext" value="${poVal.matCode }" readonly="readonly" datatype="*" ignore="checked"/>
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[0].matName" maxlength="32" type="text" class="inputxt" readonly="readonly" style="width:120px;" datatype="*" ignore="checked" > <input name="tWzRkItemList[0].matName" maxlength="32" type="text" class="inputxt" readonly="readonly" style="width:120px;" datatype="*" ignore="checked" >
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" > <input name="tWzRkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" >
@ -101,7 +101,7 @@
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[0].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" > <input name="tWzRkItemList[0].matUnit" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" >
<label class="Validform_label" style="display: none;">物单位</label> <label class="Validform_label" style="display: none;">物单位</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[0].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" > <input name="tWzRkItemList[0].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" readonly="readonly" datatype="*" ignore="checked" >
@ -154,11 +154,11 @@
<input name="tWzRkItemList[${stuts.index }].by6" type="hidden" value="${poVal.by6 }"/> <input name="tWzRkItemList[${stuts.index }].by6" type="hidden" value="${poVal.by6 }"/>
<td align="left"> <td align="left">
<input id="tWzRkItemList[${stuts.index }].matCode" readonly="readonly" name="tWzRkItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" /> <input id="tWzRkItemList[${stuts.index }].matCode" readonly="readonly" name="tWzRkItemList[${stuts.index }].matCode" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" onclick="popupClick(this,'mat_code,mat_name,mat_unit,mat_location,mat_price','matCode,matName,matUnit,matLocation,matPrice','wz_material_pop')" value="${poVal.matCode }" />
<label class="Validform_label" style="display: none;">物编码</label> <label class="Validform_label" style="display: none;">物编码</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[${stuts.index }].matName" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matName }"/> <input name="tWzRkItemList[${stuts.index }].matName" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matName }"/>
<label class="Validform_label" style="display: none;">物名称</label> <label class="Validform_label" style="display: none;">物名称</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[${stuts.index }].matQty" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matQty }"/> <input name="tWzRkItemList[${stuts.index }].matQty" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matQty }"/>
@ -166,7 +166,7 @@
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[${stuts.index }].matUnit" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matUnit }"/> <input name="tWzRkItemList[${stuts.index }].matUnit" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matUnit }"/>
<label class="Validform_label" style="display: none;">物单位</label> <label class="Validform_label" style="display: none;">物单位</label>
</td> </td>
<td align="left"> <td align="left">
<input name="tWzRkItemList[${stuts.index }].matLocation" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matLocation }"/> <input name="tWzRkItemList[${stuts.index }].matLocation" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matLocation }"/>