|
|
@ -176,7 +176,7 @@ |
|
|
|
rawLocationCode: "", |
|
|
|
workshop: "", |
|
|
|
bomVersion: "", |
|
|
|
uom:"" |
|
|
|
uom: "" |
|
|
|
} |
|
|
|
}, |
|
|
|
props: { |
|
|
@ -194,7 +194,7 @@ |
|
|
|
openRequestPopup() { |
|
|
|
this.initData(); |
|
|
|
this.planDate = getCurrDate() |
|
|
|
this.batch =this.planDate.replace('-','') |
|
|
|
this.batch = this.planDate.replace('-', '') |
|
|
|
this.$refs.popup.open('bottom') |
|
|
|
}, |
|
|
|
initData() { |
|
|
@ -223,7 +223,7 @@ |
|
|
|
this.planDateList = [] |
|
|
|
this.fgLocationCode = "" |
|
|
|
this.rawLocationCode = "" |
|
|
|
this.workshop="" |
|
|
|
this.workshop = "" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
@ -286,7 +286,7 @@ |
|
|
|
workStationCode: this.workStationCode, |
|
|
|
fgLocationCode: this.fgLocationCode, |
|
|
|
rawLocationCode: this.rawLocationCode, |
|
|
|
workshop:this.workshop |
|
|
|
workshop: this.workshop |
|
|
|
}; |
|
|
|
this.closeRequestPopup(); |
|
|
|
this.$emit("confirm", item); |
|
|
@ -309,7 +309,7 @@ |
|
|
|
var fgLocation = parent[0].children.filter(children => children.value == this.workStationCode) |
|
|
|
this.fgLocationCode = fgLocation[0].fgLocationCode; |
|
|
|
this.workshop = parent[0].workshop; |
|
|
|
|
|
|
|
|
|
|
|
this.clearItemCode() |
|
|
|
this.clearPackUnit() |
|
|
|
|
|
|
@ -325,6 +325,7 @@ |
|
|
|
|
|
|
|
confirmSelectDate(data) { |
|
|
|
this.planDate = data[0].label |
|
|
|
this.batch = this.planDate.replace('-', ''); |
|
|
|
}, |
|
|
|
|
|
|
|
showSelectDate() { |
|
|
@ -389,7 +390,7 @@ |
|
|
|
confirmSelectItem(data) { |
|
|
|
this.itemCode = data[0].label; |
|
|
|
this.bomVersion = data[1].value; |
|
|
|
this.uom=data[0].uom; |
|
|
|
this.uom = data[0].uom; |
|
|
|
// this.uom = itemInfo.uom |
|
|
|
|
|
|
|
//清除其他数据 |
|
|
|