fix:需求单首字母大写
This commit is contained in:
@@ -34,50 +34,48 @@ public class PmDemandParam {
|
|||||||
@JsonProperty(value = "Priority")
|
@JsonProperty(value = "Priority")
|
||||||
private Integer priority;
|
private Integer priority;
|
||||||
|
|
||||||
@JsonProperty(value = "status")
|
@JsonProperty(value = "Status")
|
||||||
private String status;
|
private String status;
|
||||||
|
|
||||||
@NotBlank(message = "工单编号不能为空")
|
@NotBlank(message = "工单编号不能为空")
|
||||||
@JsonProperty(value = "workOrder")
|
@JsonProperty(value = "WorkOrder")
|
||||||
private String workOrder;
|
private String workOrder;
|
||||||
|
|
||||||
@NotBlank(message = "物料编码不能为空")
|
@NotBlank(message = "物料编码不能为空")
|
||||||
@JsonProperty(value = "skuCode")
|
@JsonProperty(value = "SkuCode")
|
||||||
private String skuCode;
|
private String skuCode;
|
||||||
|
|
||||||
@NotBlank(message = "物料名称不能为空")
|
@NotBlank(message = "物料名称不能为空")
|
||||||
@JsonProperty(value = "skuName")
|
@JsonProperty(value = "SkuName")
|
||||||
private String skuName;
|
private String skuName;
|
||||||
|
|
||||||
@NotNull(message = "数量不能为空")
|
@NotNull(message = "数量不能为空")
|
||||||
@DecimalMin(value = "0", inclusive = false, message = "数量必须大于0")
|
@DecimalMin(value = "0", inclusive = false, message = "数量必须大于0")
|
||||||
@JsonProperty(value = "qty")
|
@JsonProperty(value = "Qty")
|
||||||
private BigDecimal qty;
|
private BigDecimal qty;
|
||||||
|
|
||||||
@DecimalMin(value = "0", inclusive = false, message = "数量必须大于0")
|
private BigDecimal ssignQty;
|
||||||
@JsonProperty(value = "qssignQty")
|
|
||||||
private BigDecimal qssignQty;
|
|
||||||
|
|
||||||
@NotBlank(message = "单位不能为空")
|
@NotBlank(message = "单位不能为空")
|
||||||
@JsonProperty(value = "unit")
|
@JsonProperty(value = "Unit")
|
||||||
private String unit;
|
private String unit;
|
||||||
|
|
||||||
@NotBlank(message = "目标库存地点不能为空")
|
@NotBlank(message = "目标库存地点不能为空")
|
||||||
@JsonProperty(value = "targetArea")
|
@JsonProperty(value = "TargetArea")
|
||||||
private String targetArea;
|
private String targetArea;
|
||||||
|
|
||||||
@NotBlank(message = "产线不能为空")
|
@NotBlank(message = "产线不能为空")
|
||||||
@JsonProperty(value = "productionLine")
|
@JsonProperty(value = "ProductionLine")
|
||||||
private String productionLine;
|
private String productionLine;
|
||||||
@NotBlank(message = "目标库存地点不能为空")
|
@NotBlank(message = "目标库存地点不能为空")
|
||||||
@JsonProperty(value = "targetHouseCode")
|
@JsonProperty(value = "TargetHouseCode")
|
||||||
private String targetHouseCode;
|
private String targetHouseCode;
|
||||||
|
|
||||||
@NotBlank(message = "产线不能为空")
|
@NotBlank(message = "产线不能为空")
|
||||||
@JsonProperty(value = "carrierType")
|
@JsonProperty(value = "CarrierType")
|
||||||
private String carrierType;
|
private String carrierType;
|
||||||
|
|
||||||
@JsonProperty(value = "sn")
|
@JsonProperty(value = "Sn")
|
||||||
private String sn;
|
private String sn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -125,8 +125,8 @@ export default {
|
|||||||
},
|
},
|
||||||
getCode() {
|
getCode() {
|
||||||
getCodeImg().then(res => {
|
getCodeImg().then(res => {
|
||||||
this.codeUrl = res.img
|
this.codeUrl = res.data.img
|
||||||
this.loginForm.uuid = res.uuid
|
this.loginForm.uuid = res.data.uuid
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getCookie() {
|
getCookie() {
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export default {
|
|||||||
receivedCount() {
|
receivedCount() {
|
||||||
// 查询当前用户的未读消息数量
|
// 查询当前用户的未读消息数量
|
||||||
crudNotice.countByReceiveNotRead().then(res => {
|
crudNotice.countByReceiveNotRead().then(res => {
|
||||||
this.notReadMsgCount = res
|
this.notReadMsgCount = res.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getClassNames() {
|
getClassNames() {
|
||||||
crudClassstandard.getClassName().then((res) => { // 获取分类名称,查询根据分类编码查找对应分支树
|
crudClassstandard.getClassName().then((res) => { // 获取分类名称,查询根据分类编码查找对应分支树
|
||||||
this.classNames = res
|
this.classNames = res.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getClassDatas(tree, treeNode, resolve) {
|
getClassDatas(tree, treeNode, resolve) {
|
||||||
@@ -273,14 +273,14 @@ export default {
|
|||||||
},
|
},
|
||||||
getSubTypes(id) {
|
getSubTypes(id) {
|
||||||
crudClassstandard.getClassSuperior(id).then(res => {
|
crudClassstandard.getClassSuperior(id).then(res => {
|
||||||
const date = res.content
|
const date = res.data
|
||||||
this.buildClass(date)
|
this.buildClass(date)
|
||||||
this.classes = date
|
this.classes = date
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getClass() {
|
getClass() {
|
||||||
crudClassstandard.getClass({ enabled: true }).then(res => {
|
crudClassstandard.getClass({ enabled: true }).then(res => {
|
||||||
this.classes = res.content.map(function(obj) {
|
this.classes = res.data.map(function(obj) {
|
||||||
if (obj.hasChildren) {
|
if (obj.hasChildren) {
|
||||||
obj.children = null
|
obj.children = null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
open() {
|
open() {
|
||||||
crudBsrealstorattr.getStor().then(res => {
|
crudBsrealstorattr.getStor().then(res => {
|
||||||
this.storlist = res
|
this.storlist = res.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
|||||||
Reference in New Issue
Block a user