Browse Source

修改批次的赋值

hella_online_20240829
niexiting 4 months ago
parent
commit
9aa14a8bee
  1. 11
      src/pages/fg/coms/comNoReceiptPopup.vue

11
src/pages/fg/coms/comNoReceiptPopup.vue

@ -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);
@ -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
// //

Loading…
Cancel
Save