物资改为物料
parent
fac946f19b
commit
cb188fc709
|
@ -76,13 +76,13 @@ import io.swagger.annotations.ApiParam;
|
|||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 物资
|
||||
* @Description: 物料
|
||||
* @author onlineGenerator
|
||||
* @date 2018-05-20 21:40:03
|
||||
* @version V1.0
|
||||
*
|
||||
*/
|
||||
@Api(value="TWzMaterial",description="物资",tags="tWzMaterialController")
|
||||
@Api(value="TWzMaterial",description="物料",tags="tWzMaterialController")
|
||||
@Controller
|
||||
@RequestMapping("/tWzMaterialController")
|
||||
public class TWzMaterialController extends BaseController {
|
||||
|
@ -101,7 +101,7 @@ public class TWzMaterialController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 物资列表 页面跳转
|
||||
* 物料列表 页面跳转
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -135,7 +135,7 @@ public class TWzMaterialController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 删除物资
|
||||
* 删除物料
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -145,13 +145,13 @@ public class TWzMaterialController extends BaseController {
|
|||
String message = null;
|
||||
AjaxJson j = new AjaxJson();
|
||||
tWzMaterial = systemService.getEntity(TWzMaterialEntity.class, tWzMaterial.getId());
|
||||
message = "物资删除成功";
|
||||
message = "物料删除成功";
|
||||
try{
|
||||
tWzMaterialService.delete(tWzMaterial);
|
||||
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资删除失败";
|
||||
message = "物料删除失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -159,7 +159,7 @@ public class TWzMaterialController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 批量删除物资
|
||||
* 批量删除物料
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -168,7 +168,7 @@ public class TWzMaterialController extends BaseController {
|
|||
public AjaxJson doBatchDel(String ids,HttpServletRequest request){
|
||||
String message = null;
|
||||
AjaxJson j = new AjaxJson();
|
||||
message = "物资删除成功";
|
||||
message = "物料删除成功";
|
||||
try{
|
||||
for(String id:ids.split(",")){
|
||||
TWzMaterialEntity tWzMaterial = systemService.getEntity(TWzMaterialEntity.class,
|
||||
|
@ -179,7 +179,7 @@ public class TWzMaterialController extends BaseController {
|
|||
}
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资删除失败";
|
||||
message = "物料删除失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -188,7 +188,7 @@ public class TWzMaterialController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 添加物资
|
||||
* 添加物料
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -197,13 +197,13 @@ public class TWzMaterialController extends BaseController {
|
|||
public AjaxJson doAdd(TWzMaterialEntity tWzMaterial, HttpServletRequest request) {
|
||||
String message = null;
|
||||
AjaxJson j = new AjaxJson();
|
||||
message = "物资添加成功";
|
||||
message = "物料添加成功";
|
||||
try{
|
||||
tWzMaterialService.save(tWzMaterial);
|
||||
systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资添加失败";
|
||||
message = "物料添加失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -211,7 +211,7 @@ public class TWzMaterialController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 更新物资
|
||||
* 更新物料
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -220,7 +220,7 @@ public class TWzMaterialController extends BaseController {
|
|||
public AjaxJson doUpdate(TWzMaterialEntity tWzMaterial, HttpServletRequest request) {
|
||||
String message = null;
|
||||
AjaxJson j = new AjaxJson();
|
||||
message = "物资更新成功";
|
||||
message = "物料更新成功";
|
||||
TWzMaterialEntity t = tWzMaterialService.get(TWzMaterialEntity.class, tWzMaterial.getId());
|
||||
try {
|
||||
MyBeanUtils.copyBeanNotNull2Bean(tWzMaterial, t);
|
||||
|
@ -228,7 +228,7 @@ public class TWzMaterialController extends BaseController {
|
|||
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
message = "物资更新失败";
|
||||
message = "物料更新失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -237,7 +237,7 @@ public class TWzMaterialController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 物资新增页面跳转
|
||||
* 物料新增页面跳转
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -250,7 +250,7 @@ public class TWzMaterialController extends BaseController {
|
|||
return new ModelAndView("com/zzjee/wz/tWzMaterial-add");
|
||||
}
|
||||
/**
|
||||
* 物资编辑页面跳转
|
||||
* 物料编辑页面跳转
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -286,9 +286,9 @@ public class TWzMaterialController extends BaseController {
|
|||
CriteriaQuery cq = new CriteriaQuery(TWzMaterialEntity.class, dataGrid);
|
||||
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, tWzMaterial, request.getParameterMap());
|
||||
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.PARAMS,new ExportParams("物资列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
|
||||
modelMap.put(NormalExcelConstants.PARAMS,new ExportParams("物料列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
|
||||
"导出信息"));
|
||||
modelMap.put(NormalExcelConstants.DATA_LIST,tWzMaterials);
|
||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||
|
@ -302,9 +302,9 @@ public class TWzMaterialController extends BaseController {
|
|||
@RequestMapping(params = "exportXlsByT")
|
||||
public String exportXlsByT(TWzMaterialEntity tWzMaterial,HttpServletRequest request,HttpServletResponse response
|
||||
, DataGrid dataGrid,ModelMap modelMap) {
|
||||
modelMap.put(NormalExcelConstants.FILE_NAME,"物资");
|
||||
modelMap.put(NormalExcelConstants.FILE_NAME,"物料");
|
||||
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());
|
||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||
|
@ -353,7 +353,7 @@ public class TWzMaterialController extends BaseController {
|
|||
|
||||
@RequestMapping(method = RequestMethod.GET)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="物资列表信息",produces="application/json",httpMethod="GET")
|
||||
@ApiOperation(value="物料列表信息",produces="application/json",httpMethod="GET")
|
||||
public ResponseMessage<List<TWzMaterialEntity>> list() {
|
||||
List<TWzMaterialEntity> listTWzMaterials=tWzMaterialService.getList(TWzMaterialEntity.class);
|
||||
return Result.success(listTWzMaterials);
|
||||
|
@ -361,19 +361,19 @@ public class TWzMaterialController extends BaseController {
|
|||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
|
||||
@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) {
|
||||
TWzMaterialEntity task = tWzMaterialService.get(TWzMaterialEntity.class, id);
|
||||
if (task == null) {
|
||||
return Result.error("根据ID获取物资信息为空");
|
||||
return Result.error("根据ID获取物料信息为空");
|
||||
}
|
||||
return Result.success(task);
|
||||
}
|
||||
|
||||
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="创建物资")
|
||||
public ResponseMessage<?> create(@ApiParam(name="物资对象")@RequestBody TWzMaterialEntity tWzMaterial, UriComponentsBuilder uriBuilder) {
|
||||
@ApiOperation(value="创建物料")
|
||||
public ResponseMessage<?> create(@ApiParam(name="物料对象")@RequestBody TWzMaterialEntity tWzMaterial, UriComponentsBuilder uriBuilder) {
|
||||
//调用JSR303 Bean Validator进行校验,如果出错返回含400错误码及json格式的错误信息.
|
||||
Set<ConstraintViolation<TWzMaterialEntity>> failures = validator.validate(tWzMaterial);
|
||||
if (!failures.isEmpty()) {
|
||||
|
@ -385,15 +385,15 @@ public class TWzMaterialController extends BaseController {
|
|||
tWzMaterialService.save(tWzMaterial);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return Result.error("物资信息保存失败");
|
||||
return Result.error("物料信息保存失败");
|
||||
}
|
||||
return Result.success(tWzMaterial);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="更新物资",notes="更新物资")
|
||||
public ResponseMessage<?> update(@ApiParam(name="物资对象")@RequestBody TWzMaterialEntity tWzMaterial) {
|
||||
@ApiOperation(value="更新物料",notes="更新物料")
|
||||
public ResponseMessage<?> update(@ApiParam(name="物料对象")@RequestBody TWzMaterialEntity tWzMaterial) {
|
||||
//调用JSR303 Bean Validator进行校验,如果出错返回含400错误码及json格式的错误信息.
|
||||
Set<ConstraintViolation<TWzMaterialEntity>> failures = validator.validate(tWzMaterial);
|
||||
if (!failures.isEmpty()) {
|
||||
|
@ -405,16 +405,16 @@ public class TWzMaterialController extends BaseController {
|
|||
tWzMaterialService.saveOrUpdate(tWzMaterial);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return Result.error("更新物资信息失败");
|
||||
return Result.error("更新物料信息失败");
|
||||
}
|
||||
|
||||
//按Restful约定,返回204状态码, 无内容. 也可以返回200状态码.
|
||||
return Result.success("更新物资信息成功");
|
||||
return Result.success("更新物料信息成功");
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
|
||||
@ResponseStatus(HttpStatus.NO_CONTENT)
|
||||
@ApiOperation(value="删除物资")
|
||||
@ApiOperation(value="删除物料")
|
||||
public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) {
|
||||
logger.info("delete[{}]" + id);
|
||||
// 验证
|
||||
|
@ -425,7 +425,7 @@ public class TWzMaterialController extends BaseController {
|
|||
tWzMaterialService.deleteEntityById(TWzMaterialEntity.class, id);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return Result.error("物资删除失败");
|
||||
return Result.error("物料删除失败");
|
||||
}
|
||||
|
||||
return Result.success();
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
|||
|
||||
/**
|
||||
* @Title: Entity
|
||||
* @Description: 物资
|
||||
* @Description: 物料
|
||||
* @author onlineGenerator
|
||||
* @date 2018-05-20 21:40:03
|
||||
* @version V1.0
|
||||
|
@ -50,11 +50,11 @@ public class TWzMaterialEntity implements java.io.Serializable {
|
|||
private String sysCompanyCode;
|
||||
/**流程状态*/
|
||||
private String bpmStatus;
|
||||
/**物资编码*/
|
||||
@Excel(name="物资编码",width=15)
|
||||
/**物料编码*/
|
||||
@Excel(name="物料编码",width=15)
|
||||
private String matCode;
|
||||
/**物资名称*/
|
||||
@Excel(name="物资名称",width=15)
|
||||
/**物料名称*/
|
||||
@Excel(name="物料名称",width=15)
|
||||
private String matName;
|
||||
/**单位*/
|
||||
@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
|
||||
*@return: java.lang.String 物资编码
|
||||
*@return: java.lang.String 物料编码
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_CODE",nullable=true,length=32)
|
||||
|
@ -269,14 +269,14 @@ public class TWzMaterialEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资编码
|
||||
*@param: java.lang.String 物料编码
|
||||
*/
|
||||
public void setMatCode(String matCode){
|
||||
this.matCode = matCode;
|
||||
}
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资名称
|
||||
*@return: java.lang.String 物料名称
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_NAME",nullable=true,length=132)
|
||||
|
@ -286,7 +286,7 @@ public class TWzMaterialEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资名称
|
||||
*@param: java.lang.String 物料名称
|
||||
*/
|
||||
public void setMatName(String matName){
|
||||
this.matName = matName;
|
||||
|
|
|
@ -32,11 +32,11 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
|||
public class VWzPoWqEntity implements java.io.Serializable {
|
||||
/**id*/
|
||||
private String id;
|
||||
/**物资编码*/
|
||||
@Excel(name="物资编码",width=15)
|
||||
/**物料编码*/
|
||||
@Excel(name="物料编码",width=15)
|
||||
private String matCode;
|
||||
/**物资名称*/
|
||||
@Excel(name="物资名称",width=15)
|
||||
/**物料名称*/
|
||||
@Excel(name="物料名称",width=15)
|
||||
private String matName;
|
||||
/**单位*/
|
||||
@Excel(name="单位",width=15)
|
||||
|
@ -80,7 +80,7 @@ public class VWzPoWqEntity implements java.io.Serializable {
|
|||
}
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资编码
|
||||
*@return: java.lang.String 物料编码
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_CODE",nullable=true,length=32)
|
||||
|
@ -90,14 +90,14 @@ public class VWzPoWqEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资编码
|
||||
*@param: java.lang.String 物料编码
|
||||
*/
|
||||
public void setMatCode(String matCode){
|
||||
this.matCode = matCode;
|
||||
}
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资名称
|
||||
*@return: java.lang.String 物料名称
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_NAME",nullable=true,length=32)
|
||||
|
@ -107,7 +107,7 @@ public class VWzPoWqEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资名称
|
||||
*@param: java.lang.String 物料名称
|
||||
*/
|
||||
public void setMatName(String matName){
|
||||
this.matName = matName;
|
||||
|
|
|
@ -77,13 +77,13 @@ import io.swagger.annotations.ApiParam;
|
|||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 物资出库
|
||||
* @Description: 物料出库
|
||||
* @author onlineGenerator
|
||||
* @date 2018-05-20 21:43:29
|
||||
* @version V1.0
|
||||
*
|
||||
*/
|
||||
@Api(value="TWzCkHead",description="物资出库",tags="tWzCkHeadController")
|
||||
@Api(value="TWzCkHead",description="物料出库",tags="tWzCkHeadController")
|
||||
@Controller
|
||||
@RequestMapping("/tWzCkHeadController")
|
||||
public class TWzCkHeadController extends BaseController {
|
||||
|
@ -103,7 +103,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
JdbcDao jdbcDao;
|
||||
|
||||
/**
|
||||
* 物资出库列表 页面跳转
|
||||
* 物料出库列表 页面跳转
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -174,7 +174,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 删除物资出库
|
||||
* 删除物料出库
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -183,13 +183,13 @@ public class TWzCkHeadController extends BaseController {
|
|||
public AjaxJson doDel(TWzCkHeadEntity tWzCkHead, HttpServletRequest request) {
|
||||
AjaxJson j = new AjaxJson();
|
||||
tWzCkHead = systemService.getEntity(TWzCkHeadEntity.class, tWzCkHead.getId());
|
||||
String message = "物资出库删除成功";
|
||||
String message = "物料出库删除成功";
|
||||
try{
|
||||
tWzCkHeadService.delMain(tWzCkHead);
|
||||
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资出库删除失败";
|
||||
message = "物料出库删除失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -197,7 +197,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 批量删除物资出库
|
||||
* 批量删除物料出库
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -205,7 +205,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
@ResponseBody
|
||||
public AjaxJson doBatchDel(String ids,HttpServletRequest request){
|
||||
AjaxJson j = new AjaxJson();
|
||||
String message = "物资出库删除成功";
|
||||
String message = "物料出库删除成功";
|
||||
try{
|
||||
for(String id:ids.split(",")){
|
||||
TWzCkHeadEntity tWzCkHead = systemService.getEntity(TWzCkHeadEntity.class,
|
||||
|
@ -216,7 +216,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
}
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资出库删除失败";
|
||||
message = "物料出库删除失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -225,7 +225,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 添加物资出库
|
||||
* 添加物料出库
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -263,7 +263,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 添加物资出库
|
||||
* 添加物料出库
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -298,7 +298,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资出库添加失败";
|
||||
message = "物料出库添加失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -345,7 +345,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
sheet.setColumnWidth(6, 10 * 256);
|
||||
sheet.setColumnWidth(7, 10 * 256);
|
||||
sheet.setColumnWidth(8, 15 * 256);
|
||||
//{ "序号", "物资编码", "物资名称", "仓库", "领用人", "数量", "单位", "单价","金额" }
|
||||
//{ "序号", "物料编码", "物料名称", "仓库", "领用人", "数量", "单位", "单价","金额" }
|
||||
// sheet.setColumnWidth(7, 8 * 256);
|
||||
// sheet.setColumnWidth(8, 8 * 256);
|
||||
// 创建第一行
|
||||
|
@ -442,7 +442,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
Row rowColumnName = sheet.createRow((short) 4); // 列名
|
||||
rowColumnName.setHeight((short) 500);
|
||||
String[] columnNames = { "序号", "物资编码", "物资名称", "仓库", "领用人", "数量", "单位", "单价",
|
||||
String[] columnNames = { "序号", "物料编码", "物料名称", "仓库", "领用人", "数量", "单位", "单价",
|
||||
"金额" };
|
||||
|
||||
Double totalAmount = 0d;
|
||||
|
@ -590,7 +590,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 更新物资出库
|
||||
* 更新物料出库
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -621,7 +621,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 更新物资出库
|
||||
* 更新物料出库
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -649,7 +649,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "更新物资出库失败";
|
||||
message = "更新物料出库失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -657,7 +657,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 物资出库新增页面跳转
|
||||
* 物料出库新增页面跳转
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -671,7 +671,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 物资出库编辑页面跳转
|
||||
* 物料出库编辑页面跳转
|
||||
*
|
||||
* @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.PARAMS,new ExportParams("物资出库列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
|
||||
map.put(NormalExcelConstants.PARAMS,new ExportParams("物料出库列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
|
||||
"导出信息"));
|
||||
map.put(NormalExcelConstants.DATA_LIST,pageList);
|
||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||
|
@ -818,9 +818,9 @@ public class TWzCkHeadController extends BaseController {
|
|||
*/
|
||||
@RequestMapping(params = "exportXlsByT")
|
||||
public String exportXlsByT(ModelMap map) {
|
||||
map.put(NormalExcelConstants.FILE_NAME,"物资出库");
|
||||
map.put(NormalExcelConstants.FILE_NAME,"物料出库");
|
||||
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());
|
||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||
|
@ -839,7 +839,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(method = RequestMethod.GET)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="物资出库列表信息",produces="application/json",httpMethod="GET")
|
||||
@ApiOperation(value="物料出库列表信息",produces="application/json",httpMethod="GET")
|
||||
public ResponseMessage<List<TWzCkHeadPage>> list() {
|
||||
List<TWzCkHeadEntity> list= tWzCkHeadService.getList(TWzCkHeadEntity.class);
|
||||
List<TWzCkHeadPage> pageList=new ArrayList<TWzCkHeadPage>();
|
||||
|
@ -863,11 +863,11 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
|
||||
@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) {
|
||||
TWzCkHeadEntity task = tWzCkHeadService.get(TWzCkHeadEntity.class, id);
|
||||
if (task == null) {
|
||||
return Result.error("根据ID获取物资出库信息为空");
|
||||
return Result.error("根据ID获取物料出库信息为空");
|
||||
}
|
||||
TWzCkHeadPage page = new TWzCkHeadPage();
|
||||
try {
|
||||
|
@ -884,8 +884,8 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="创建物资出库")
|
||||
public ResponseMessage<?> create(@ApiParam(name="物资出库对象")@RequestBody TWzCkHeadPage tWzCkHeadPage, UriComponentsBuilder uriBuilder) {
|
||||
@ApiOperation(value="创建物料出库")
|
||||
public ResponseMessage<?> create(@ApiParam(name="物料出库对象")@RequestBody TWzCkHeadPage tWzCkHeadPage, UriComponentsBuilder uriBuilder) {
|
||||
//调用JSR303 Bean Validator进行校验,如果出错返回含400错误码及json格式的错误信息.
|
||||
Set<ConstraintViolation<TWzCkHeadPage>> failures = validator.validate(tWzCkHeadPage);
|
||||
if (!failures.isEmpty()) {
|
||||
|
@ -900,7 +900,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
MyBeanUtils.copyBeanNotNull2Bean(tWzCkHeadPage,tWzCkHead);
|
||||
}catch(Exception e){
|
||||
logger.info(e.getMessage());
|
||||
return Result.error("保存物资出库失败");
|
||||
return Result.error("保存物料出库失败");
|
||||
}
|
||||
tWzCkHeadService.addMain(tWzCkHead, tWzCkItemList);
|
||||
|
||||
|
@ -909,7 +909,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="更新物资出库",notes="更新物资出库")
|
||||
@ApiOperation(value="更新物料出库",notes="更新物料出库")
|
||||
public ResponseMessage<?> update(@RequestBody TWzCkHeadPage tWzCkHeadPage) {
|
||||
//调用JSR303 Bean Validator进行校验,如果出错返回含400错误码及json格式的错误信息.
|
||||
Set<ConstraintViolation<TWzCkHeadPage>> failures = validator.validate(tWzCkHeadPage);
|
||||
|
@ -925,7 +925,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
MyBeanUtils.copyBeanNotNull2Bean(tWzCkHeadPage,tWzCkHead);
|
||||
}catch(Exception e){
|
||||
logger.info(e.getMessage());
|
||||
return Result.error("物资出库更新失败");
|
||||
return Result.error("物料出库更新失败");
|
||||
}
|
||||
tWzCkHeadService.updateMain(tWzCkHead, tWzCkItemList);
|
||||
|
||||
|
@ -935,7 +935,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
|
||||
@ResponseStatus(HttpStatus.NO_CONTENT)
|
||||
@ApiOperation(value="删除物资出库")
|
||||
@ApiOperation(value="删除物料出库")
|
||||
public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) {
|
||||
logger.info("delete[{}]" + id);
|
||||
// 验证
|
||||
|
@ -947,7 +947,7 @@ public class TWzCkHeadController extends BaseController {
|
|||
tWzCkHeadService.delMain(tWzCkHead);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return Result.error("物资出库删除失败");
|
||||
return Result.error("物料出库删除失败");
|
||||
}
|
||||
|
||||
return Result.success();
|
||||
|
|
|
@ -80,13 +80,13 @@ import io.swagger.annotations.ApiParam;
|
|||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 物资采购订单
|
||||
* @Description: 物料采购订单
|
||||
* @author onlineGenerator
|
||||
* @date 2018-05-21 13:23:13
|
||||
* @version V1.0
|
||||
*
|
||||
*/
|
||||
@Api(value="TWzPoHead",description="物资采购订单",tags="tWzPoHeadController")
|
||||
@Api(value="TWzPoHead",description="物料采购订单",tags="tWzPoHeadController")
|
||||
@Controller
|
||||
@RequestMapping("/tWzPoHeadController")
|
||||
public class TWzPoHeadController extends BaseController {
|
||||
|
@ -103,7 +103,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
private Validator validator;
|
||||
|
||||
/**
|
||||
* 物资采购订单列表 页面跳转
|
||||
* 物料采购订单列表 页面跳转
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -154,7 +154,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
TagUtil.datagrid(response, dataGrid);
|
||||
}
|
||||
/**
|
||||
* 删除物资采购订单
|
||||
* 删除物料采购订单
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -163,7 +163,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
public AjaxJson doDel(TWzPoHeadEntity tWzPoHead, HttpServletRequest request) {
|
||||
AjaxJson j = new AjaxJson();
|
||||
tWzPoHead = systemService.getEntity(TWzPoHeadEntity.class, tWzPoHead.getId());
|
||||
String message = "物资采购订单删除成功";
|
||||
String message = "物料采购订单删除成功";
|
||||
try{
|
||||
tWzPoHead.setBpmStatus("9");
|
||||
systemService.saveOrUpdate(tWzPoHead);
|
||||
|
@ -171,7 +171,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资采购订单删除失败";
|
||||
message = "物料采购订单删除失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -179,7 +179,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 批量删除物资采购订单
|
||||
* 批量删除物料采购订单
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -187,7 +187,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
@ResponseBody
|
||||
public AjaxJson doBatchDel(String ids,HttpServletRequest request){
|
||||
AjaxJson j = new AjaxJson();
|
||||
String message = "物资采购订单删除成功";
|
||||
String message = "物料采购订单删除成功";
|
||||
try{
|
||||
for(String id:ids.split(",")){
|
||||
TWzPoHeadEntity tWzPoHead = systemService.getEntity(TWzPoHeadEntity.class,
|
||||
|
@ -198,7 +198,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
}
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资采购订单删除失败";
|
||||
message = "物料采购订单删除失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -366,7 +366,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
Row rowColumnName = sheet.createRow((short) 6); // 列名
|
||||
rowColumnName.setHeight((short) 500);
|
||||
String[] columnNames = { "序号", "物资编码", "物资名称", "数量", "单位",
|
||||
String[] columnNames = { "序号", "物料编码", "物料名称", "数量", "单位",
|
||||
"备注" };
|
||||
|
||||
for (int i = 0; i < columnNames.length; i++) {
|
||||
|
@ -455,7 +455,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 添加物资采购订单
|
||||
* 添加物料采购订单
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -470,7 +470,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
systemService.addLog(message, Globals.Log_Type_INSERT, Globals.Log_Leavel_INFO);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "物资采购订单添加失败";
|
||||
message = "物料采购订单添加失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -479,7 +479,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 更新物资出库
|
||||
* 更新物料出库
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -520,7 +520,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 更新物资出库
|
||||
* 更新物料出库
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -545,7 +545,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
|
||||
/**
|
||||
* 更新物资采购订单
|
||||
* 更新物料采购订单
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -560,7 +560,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
message = "更新物资采购订单失败";
|
||||
message = "更新物料采购订单失败";
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
j.setMsg(message);
|
||||
|
@ -568,7 +568,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 物资采购订单新增页面跳转
|
||||
* 物料采购订单新增页面跳转
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -582,7 +582,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 物资采购订单编辑页面跳转
|
||||
* 物料采购订单编辑页面跳转
|
||||
*
|
||||
* @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.PARAMS,new ExportParams("物资采购订单列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
|
||||
map.put(NormalExcelConstants.PARAMS,new ExportParams("采购订单列表", "导出人:"+ResourceUtil.getSessionUser().getRealName(),
|
||||
"导出信息"));
|
||||
map.put(NormalExcelConstants.DATA_LIST,pageList);
|
||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||
|
@ -706,9 +706,9 @@ public class TWzPoHeadController extends BaseController {
|
|||
*/
|
||||
@RequestMapping(params = "exportXlsByT")
|
||||
public String exportXlsByT(ModelMap map) {
|
||||
map.put(NormalExcelConstants.FILE_NAME,"物资采购订单");
|
||||
map.put(NormalExcelConstants.FILE_NAME,"物料采购订单");
|
||||
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());
|
||||
return NormalExcelConstants.JEECG_EXCEL_VIEW;
|
||||
|
@ -727,7 +727,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(method = RequestMethod.GET)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="物资采购订单列表信息",produces="application/json",httpMethod="GET")
|
||||
@ApiOperation(value="物料采购订单列表信息",produces="application/json",httpMethod="GET")
|
||||
public ResponseMessage<List<TWzPoHeadPage>> list() {
|
||||
List<TWzPoHeadEntity> list= tWzPoHeadService.getList(TWzPoHeadEntity.class);
|
||||
List<TWzPoHeadPage> pageList=new ArrayList<TWzPoHeadPage>();
|
||||
|
@ -751,11 +751,11 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
|
||||
@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) {
|
||||
TWzPoHeadEntity task = tWzPoHeadService.get(TWzPoHeadEntity.class, id);
|
||||
if (task == null) {
|
||||
return Result.error("根据ID获取物资采购订单信息为空");
|
||||
return Result.error("根据ID获取物料采购订单信息为空");
|
||||
}
|
||||
TWzPoHeadPage page = new TWzPoHeadPage();
|
||||
try {
|
||||
|
@ -772,8 +772,8 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="创建物资采购订单")
|
||||
public ResponseMessage<?> create(@ApiParam(name="物资采购订单对象")@RequestBody TWzPoHeadPage tWzPoHeadPage, UriComponentsBuilder uriBuilder) {
|
||||
@ApiOperation(value="创建物料采购订单")
|
||||
public ResponseMessage<?> create(@ApiParam(name="物料采购订单对象")@RequestBody TWzPoHeadPage tWzPoHeadPage, UriComponentsBuilder uriBuilder) {
|
||||
//调用JSR303 Bean Validator进行校验,如果出错返回含400错误码及json格式的错误信息.
|
||||
Set<ConstraintViolation<TWzPoHeadPage>> failures = validator.validate(tWzPoHeadPage);
|
||||
if (!failures.isEmpty()) {
|
||||
|
@ -788,7 +788,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
MyBeanUtils.copyBeanNotNull2Bean(tWzPoHeadPage,tWzPoHead);
|
||||
}catch(Exception e){
|
||||
logger.info(e.getMessage());
|
||||
return Result.error("保存物资采购订单失败");
|
||||
return Result.error("保存物料采购订单失败");
|
||||
}
|
||||
tWzPoHeadService.addMain(tWzPoHead, tWzPoItemList);
|
||||
|
||||
|
@ -797,7 +797,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
@ApiOperation(value="更新物资采购订单",notes="更新物资采购订单")
|
||||
@ApiOperation(value="更新物料采购订单",notes="更新物料采购订单")
|
||||
public ResponseMessage<?> update(@RequestBody TWzPoHeadPage tWzPoHeadPage) {
|
||||
//调用JSR303 Bean Validator进行校验,如果出错返回含400错误码及json格式的错误信息.
|
||||
Set<ConstraintViolation<TWzPoHeadPage>> failures = validator.validate(tWzPoHeadPage);
|
||||
|
@ -813,7 +813,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
MyBeanUtils.copyBeanNotNull2Bean(tWzPoHeadPage,tWzPoHead);
|
||||
}catch(Exception e){
|
||||
logger.info(e.getMessage());
|
||||
return Result.error("物资采购订单更新失败");
|
||||
return Result.error("物料采购订单更新失败");
|
||||
}
|
||||
tWzPoHeadService.updateMain(tWzPoHead, tWzPoItemList);
|
||||
|
||||
|
@ -823,7 +823,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
|
||||
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
|
||||
@ResponseStatus(HttpStatus.NO_CONTENT)
|
||||
@ApiOperation(value="删除物资采购订单")
|
||||
@ApiOperation(value="删除物料采购订单")
|
||||
public ResponseMessage<?> delete(@ApiParam(name="id",value="ID",required=true)@PathVariable("id") String id) {
|
||||
logger.info("delete[{}]" + id);
|
||||
// 验证
|
||||
|
@ -835,7 +835,7 @@ public class TWzPoHeadController extends BaseController {
|
|||
tWzPoHeadService.delMain(tWzPoHead);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return Result.error("物资采购订单删除失败");
|
||||
return Result.error("物料采购订单删除失败");
|
||||
}
|
||||
|
||||
return Result.success();
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
|||
|
||||
/**
|
||||
* @Title: Entity
|
||||
* @Description: 物资出库
|
||||
* @Description: 物料出库
|
||||
* @author onlineGenerator
|
||||
* @date 2018-05-20 21:43:29
|
||||
* @version V1.0
|
||||
|
|
|
@ -4,10 +4,10 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
|||
|
||||
public class TWzCkItemDto {
|
||||
|
||||
/**物资名称*/
|
||||
/**物料名称*/
|
||||
@Excel(name="商品编号",width=15)
|
||||
private String matCode;
|
||||
/**物资名称*/
|
||||
/**物料名称*/
|
||||
@Excel(name="商品名称",width=15)
|
||||
private String matName;
|
||||
/**仓库*/
|
||||
|
@ -22,7 +22,7 @@ public class TWzCkItemDto {
|
|||
/**单价*/
|
||||
@Excel(name="单价",width=15)
|
||||
private String matPrice;
|
||||
/**物资单位*/
|
||||
/**物料单位*/
|
||||
@Excel(name="单位",width=15)
|
||||
private String matUnit;
|
||||
/**总价*/
|
||||
|
|
|
@ -51,11 +51,11 @@ public class TWzCkItemEntity implements java.io.Serializable {
|
|||
private String bpmStatus;
|
||||
/**外键*/
|
||||
private String wzckHid;
|
||||
/**物资编码*/
|
||||
@Excel(name="物资编码",width=15)
|
||||
/**物料编码*/
|
||||
@Excel(name="物料编码",width=15)
|
||||
private String matCode;
|
||||
/**物资名称*/
|
||||
@Excel(name="物资名称",width=15)
|
||||
/**物料名称*/
|
||||
@Excel(name="物料名称",width=15)
|
||||
private String matName;
|
||||
/**数量*/
|
||||
@Excel(name="数量",width=15)
|
||||
|
@ -291,7 +291,7 @@ public class TWzCkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资编码
|
||||
*@return: java.lang.String 物料编码
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_CODE",nullable=true,length=32)
|
||||
|
@ -301,7 +301,7 @@ public class TWzCkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资编码
|
||||
*@param: java.lang.String 物料编码
|
||||
*/
|
||||
public void setMatCode(String matCode){
|
||||
this.matCode = matCode;
|
||||
|
@ -309,7 +309,7 @@ public class TWzCkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资名称
|
||||
*@return: java.lang.String 物料名称
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_NAME",nullable=true,length=32)
|
||||
|
@ -319,7 +319,7 @@ public class TWzCkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资名称
|
||||
*@param: java.lang.String 物料名称
|
||||
*/
|
||||
public void setMatName(String matName){
|
||||
this.matName = matName;
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
|||
|
||||
/**
|
||||
* @Title: Entity
|
||||
* @Description: 物资采购订单
|
||||
* @Description: 物料采购订单
|
||||
* @author onlineGenerator
|
||||
* @date 2018-05-21 13:23:13
|
||||
* @version V1.0
|
||||
|
|
|
@ -51,11 +51,11 @@ public class TWzPoItemEntity implements java.io.Serializable {
|
|||
private String bpmStatus;
|
||||
/**外键*/
|
||||
private String poId;
|
||||
/**物资编码*/
|
||||
@Excel(name="物资编码",width=15)
|
||||
/**物料编码*/
|
||||
@Excel(name="物料编码",width=15)
|
||||
private String matCode;
|
||||
/**物资名称*/
|
||||
@Excel(name="物资名称",width=15)
|
||||
/**物料名称*/
|
||||
@Excel(name="物料名称",width=15)
|
||||
private String matName;
|
||||
/**数量*/
|
||||
@Excel(name="数量",width=15)
|
||||
|
@ -289,7 +289,7 @@ public class TWzPoItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资编码
|
||||
*@return: java.lang.String 物料编码
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_CODE",nullable=true,length=32)
|
||||
|
@ -299,7 +299,7 @@ public class TWzPoItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资编码
|
||||
*@param: java.lang.String 物料编码
|
||||
*/
|
||||
public void setMatCode(String matCode){
|
||||
this.matCode = matCode;
|
||||
|
@ -307,7 +307,7 @@ public class TWzPoItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资名称
|
||||
*@return: java.lang.String 物料名称
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_NAME",nullable=true,length=32)
|
||||
|
@ -317,7 +317,7 @@ public class TWzPoItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资名称
|
||||
*@param: java.lang.String 物料名称
|
||||
*/
|
||||
public void setMatName(String matName){
|
||||
this.matName = matName;
|
||||
|
|
|
@ -6,13 +6,13 @@ public class TWzRkItemDto {
|
|||
|
||||
/**主键*/
|
||||
private Integer id;
|
||||
/**物资名称*/
|
||||
/**物料名称*/
|
||||
@Excel(name="编码/商品名称",width=15)
|
||||
private String matName;
|
||||
/**物资编码*/
|
||||
/**物料编码*/
|
||||
@Excel(name="规格",width=15)
|
||||
private String spec;
|
||||
/**物资单位*/
|
||||
/**物料单位*/
|
||||
@Excel(name="单位",width=15)
|
||||
private String matUnit;
|
||||
/**仓库*/
|
||||
|
|
|
@ -51,17 +51,17 @@ public class TWzRkItemEntity implements java.io.Serializable {
|
|||
private String bpmStatus;
|
||||
/**外键*/
|
||||
private String wzrkHid;
|
||||
/**物资编码*/
|
||||
@Excel(name="物资编码",width=15)
|
||||
/**物料编码*/
|
||||
@Excel(name="物料编码",width=15)
|
||||
private String matCode;
|
||||
/**物资名称*/
|
||||
@Excel(name="物资名称",width=15)
|
||||
/**物料名称*/
|
||||
@Excel(name="物料名称",width=15)
|
||||
private String matName;
|
||||
/**入库数量*/
|
||||
@Excel(name="入库数量",width=15)
|
||||
private String matQty;
|
||||
/**物资单位*/
|
||||
@Excel(name="物资单位",width=15)
|
||||
/**物料单位*/
|
||||
@Excel(name="物料单位",width=15)
|
||||
private String matUnit;
|
||||
/**仓库*/
|
||||
@Excel(name="仓库",width=15)
|
||||
|
@ -292,7 +292,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资编码
|
||||
*@return: java.lang.String 物料编码
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_CODE",nullable=true,length=32)
|
||||
|
@ -302,7 +302,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资编码
|
||||
*@param: java.lang.String 物料编码
|
||||
*/
|
||||
public void setMatCode(String matCode){
|
||||
this.matCode = matCode;
|
||||
|
@ -310,7 +310,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资名称
|
||||
*@return: java.lang.String 物料名称
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_NAME",nullable=true,length=32)
|
||||
|
@ -320,7 +320,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资名称
|
||||
*@param: java.lang.String 物料名称
|
||||
*/
|
||||
public void setMatName(String matName){
|
||||
this.matName = matName;
|
||||
|
@ -346,7 +346,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 取得java.lang.String
|
||||
*@return: java.lang.String 物资单位
|
||||
*@return: java.lang.String 物料单位
|
||||
*/
|
||||
|
||||
@Column(name ="MAT_UNIT",nullable=true,length=32)
|
||||
|
@ -356,7 +356,7 @@ public class TWzRkItemEntity implements java.io.Serializable {
|
|||
|
||||
/**
|
||||
*方法: 设置java.lang.String
|
||||
*@param: java.lang.String 物资单位
|
||||
*@param: java.lang.String 物料单位
|
||||
*/
|
||||
public void setMatUnit(String matUnit){
|
||||
this.matUnit = matUnit;
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.jeecgframework.poi.excel.annotation.ExcelCollection;
|
|||
|
||||
/**
|
||||
* @Title: Entity
|
||||
* @Description: 物资出库
|
||||
* @Description: 物料出库
|
||||
* @author onlineGenerator
|
||||
* @date 2018-05-20 21:43:29
|
||||
* @version V1.0
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.jeecgframework.poi.excel.annotation.ExcelCollection;
|
|||
|
||||
/**
|
||||
* @Title: Entity
|
||||
* @Description: 物资采购订单
|
||||
* @Description: 物料采购订单
|
||||
* @author onlineGenerator
|
||||
* @date 2018-05-21 13:23:13
|
||||
* @version V1.0
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>物资</title>
|
||||
<title>物料</title>
|
||||
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||
<script type="text/javascript">
|
||||
//编写自定义JS代码
|
||||
|
@ -16,25 +16,25 @@
|
|||
<tr>
|
||||
<td align="right">
|
||||
<label class="Validform_label">
|
||||
物资编码:
|
||||
物料编码:
|
||||
</label>
|
||||
</td>
|
||||
<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" />
|
||||
<span class="Validform_checktip"></span>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<label class="Validform_label">
|
||||
物资名称:
|
||||
物料名称:
|
||||
</label>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" />
|
||||
<span class="Validform_checktip"></span>
|
||||
<label class="Validform_label" style="display: none;">物资名称</label>
|
||||
<label class="Validform_label" style="display: none;">物料名称</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>物资</title>
|
||||
<title>物料</title>
|
||||
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||
<script type="text/javascript">
|
||||
//编写自定义JS代码
|
||||
|
@ -16,25 +16,25 @@
|
|||
<tr>
|
||||
<td align="right">
|
||||
<label class="Validform_label">
|
||||
物资编码:
|
||||
物料编码:
|
||||
</label>
|
||||
</td>
|
||||
<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}'/>
|
||||
<span class="Validform_checktip"></span>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<label class="Validform_label">
|
||||
物资名称:
|
||||
物料名称:
|
||||
</label>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" value='${tWzMaterialPage.matName}'/>
|
||||
<span class="Validform_checktip"></span>
|
||||
<label class="Validform_label" style="display: none;">物资名称</label>
|
||||
<label class="Validform_label" style="display: none;">物料名称</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||
<div class="easyui-layout" fit="true">
|
||||
<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="createName" 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="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="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="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="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="matClass" queryMode="single" width="80"></t:dgCol>
|
||||
|
|
|
@ -16,25 +16,25 @@
|
|||
<tr>
|
||||
<td align="right">
|
||||
<label class="Validform_label">
|
||||
物资编码:
|
||||
物料编码:
|
||||
</label>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" ignore="ignore" />
|
||||
<span class="Validform_checktip"></span>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<label class="Validform_label">
|
||||
物资名称:
|
||||
物料名称:
|
||||
</label>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" ignore="ignore" />
|
||||
<span class="Validform_checktip"></span>
|
||||
<label class="Validform_label" style="display: none;">物资名称</label>
|
||||
<label class="Validform_label" style="display: none;">物料名称</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -16,25 +16,25 @@
|
|||
<tr>
|
||||
<td align="right">
|
||||
<label class="Validform_label">
|
||||
物资编码:
|
||||
物料编码:
|
||||
</label>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input id="matCode" name="matCode" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${vWzPoWqPage.matCode}'/>
|
||||
<span class="Validform_checktip"></span>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<label class="Validform_label">
|
||||
物资名称:
|
||||
物料名称:
|
||||
</label>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input id="matName" name="matName" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${vWzPoWqPage.matName}'/>
|
||||
<span class="Validform_checktip"></span>
|
||||
<label class="Validform_label" style="display: none;">物资名称</label>
|
||||
<label class="Validform_label" style="display: none;">物料名称</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
<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: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="matName" 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="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="matBatch" extendParams="editor:'text'" queryMode="group" width="120"></t:dgCol>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>物资出库</title>
|
||||
<title>物料出库</title>
|
||||
<style>
|
||||
.ui-button {
|
||||
display: inline-block;
|
||||
|
@ -136,11 +136,11 @@
|
|||
<td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
|
||||
<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')"/>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<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" />
|
||||
<label class="Validform_label" style="display: none;">物资名称</label>
|
||||
<label class="Validform_label" style="display: none;">物料名称</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="tWzCkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>物资出库</title>
|
||||
<title>物料出库</title>
|
||||
<style>
|
||||
.ui-button {
|
||||
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 }" />
|
||||
|
||||
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<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 }" />
|
||||
|
||||
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzCkItemList[#index#].matQty" readonly="readonly" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||
<div class="easyui-layout" fit="true">
|
||||
<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="createName" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||
<t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||
<div class="easyui-layout" fit="true">
|
||||
<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="createName" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||
<t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||
|
|
|
@ -34,10 +34,10 @@
|
|||
<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>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
物资名称
|
||||
物料名称
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
数量
|
||||
|
@ -88,11 +88,11 @@
|
|||
<input name="tWzCkItemList[0].by5" type="hidden"/>
|
||||
<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')"/>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<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 }"/>
|
||||
<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 }" />
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzCkItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matQty }"/>
|
||||
|
|
|
@ -34,10 +34,10 @@
|
|||
<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>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
物资名称
|
||||
物料名称
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
数量
|
||||
|
@ -88,11 +88,11 @@
|
|||
<input name="tWzCkItemList[0].by5" type="hidden"/>
|
||||
<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"/>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<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 }"/>
|
||||
<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 }" />
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<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 }"/>
|
||||
<label class="Validform_label" style="display: none;">物资名称</label>
|
||||
<label class="Validform_label" style="display: none;">物料名称</label>
|
||||
</td>
|
||||
<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 }"/>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>物资采购订单</title>
|
||||
<title>物料采购订单</title>
|
||||
<style>
|
||||
.ui-button {
|
||||
display: inline-block;
|
||||
|
@ -97,11 +97,11 @@
|
|||
<td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
|
||||
<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')"/>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzPoItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>物资采购订单</title>
|
||||
<title>物料采购订单</title>
|
||||
<style>
|
||||
.ui-button {
|
||||
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 }" />
|
||||
|
||||
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzPoItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||
<div class="easyui-layout" fit="true">
|
||||
<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="id" queryMode="single" width="120"></t:dgCol>
|
||||
<t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||
<div class="easyui-layout" fit="true">
|
||||
<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="id" queryMode="single" width="120"></t:dgCol>
|
||||
|
|
|
@ -34,10 +34,10 @@
|
|||
<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>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
物资名称
|
||||
物料名称
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
数量
|
||||
|
@ -81,11 +81,11 @@
|
|||
<input name="tWzPoItemList[0].matQtyWq" type="hidden"/>
|
||||
<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')"/>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<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 }"/>
|
||||
<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 }" />
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzPoItemList[${stuts.index }].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" value="${poVal.matQty }"/>
|
||||
|
|
|
@ -107,11 +107,11 @@
|
|||
<td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
|
||||
<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')"/>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzRkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
|
||||
|
@ -119,7 +119,7 @@
|
|||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzRkItemList[#index#].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
|
||||
|
|
|
@ -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 }" />
|
||||
|
||||
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzRkItemList[#index#].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
|
||||
|
@ -127,7 +127,7 @@
|
|||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzRkItemList[#index#].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" />
|
||||
|
@ -222,11 +222,11 @@
|
|||
<td align="left">
|
||||
<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 align="left">
|
||||
<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 align="left">
|
||||
<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 align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzRkItemList[#index#].matLocation" value="${poVal.matLocation}" maxlength="32" type="text" class="inputxt" readonly="readonly" style="width:120px;" datatype="*" ignore="checked" />
|
||||
|
|
|
@ -34,16 +34,16 @@
|
|||
<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>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
物资名称
|
||||
物料名称
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
入库数量
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
物资单位
|
||||
物料单位
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
仓库
|
||||
|
@ -89,11 +89,11 @@
|
|||
<input name="tWzRkItemList[0].by6" type="hidden"/>
|
||||
<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')"/>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzRkItemList[0].matQty" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" >
|
||||
|
@ -101,7 +101,7 @@
|
|||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<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 }"/>
|
||||
<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 }" />
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<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 align="left">
|
||||
<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 align="left">
|
||||
<input name="tWzRkItemList[${stuts.index }].matLocation" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="*" ignore="checked" value="${poVal.matLocation }"/>
|
||||
|
|
|
@ -34,16 +34,16 @@
|
|||
<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>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
物资名称
|
||||
物料名称
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
入库数量
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
物资单位
|
||||
物料单位
|
||||
</td>
|
||||
<td align="left" bgcolor="#EEEEEE" style="width: 126px;">
|
||||
仓库
|
||||
|
@ -89,11 +89,11 @@
|
|||
<input name="tWzRkItemList[0].by6" type="hidden"/>
|
||||
<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"/>
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<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 align="left">
|
||||
<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 align="left">
|
||||
<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 align="left">
|
||||
<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 }"/>
|
||||
<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 }" />
|
||||
<label class="Validform_label" style="display: none;">物资编码</label>
|
||||
<label class="Validform_label" style="display: none;">物料编码</label>
|
||||
</td>
|
||||
<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 }"/>
|
||||
<label class="Validform_label" style="display: none;">物资名称</label>
|
||||
<label class="Validform_label" style="display: none;">物料名称</label>
|
||||
</td>
|
||||
<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 }"/>
|
||||
|
@ -166,7 +166,7 @@
|
|||
</td>
|
||||
<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 }"/>
|
||||
<label class="Validform_label" style="display: none;">物资单位</label>
|
||||
<label class="Validform_label" style="display: none;">物料单位</label>
|
||||
</td>
|
||||
<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 }"/>
|
||||
|
|
Loading…
Reference in New Issue