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