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