|
@@ -315,7 +315,7 @@ export default {
|
|
|
baseInfoForm: {
|
|
|
warehouseId: '',
|
|
|
warehouseName: '',
|
|
|
- compId: '',
|
|
|
+ compId: this.$route.query.compId,
|
|
|
goodsNameKey: '',
|
|
|
goodsName: '',
|
|
|
waterBase: '',
|
|
@@ -345,7 +345,6 @@ export default {
|
|
|
},
|
|
|
|
|
|
activated() {
|
|
|
- debugger
|
|
|
|
|
|
console.log(this.$route.query.type)
|
|
|
// 货名
|
|
@@ -427,7 +426,7 @@ export default {
|
|
|
this.baseInfoForm = {
|
|
|
warehouseId: '',
|
|
|
warehouseName: '',
|
|
|
- compId: '',
|
|
|
+ compId: this.$route.query.compId,
|
|
|
goodsNameKey: '',
|
|
|
goodsName: '',
|
|
|
waterBase: '',
|
|
@@ -522,7 +521,7 @@ export default {
|
|
|
this.baseInfoForm.bulkDensityStandard = 1
|
|
|
}else{
|
|
|
this.isSolidFood = false
|
|
|
- this.baseInfoForm.bulkDensityStandard = ""
|
|
|
+ this.baseInfoForm.bulkDensityStandard = ''
|
|
|
}
|
|
|
},
|
|
|
onCloseGoodSelect() {
|
|
@@ -550,7 +549,7 @@ export default {
|
|
|
this.baseInfoForm.bulkDensityStandard = 1
|
|
|
}else{
|
|
|
this.isSolidFood = false
|
|
|
- this.baseInfoForm.bulkDensityStandard = ""
|
|
|
+ this.baseInfoForm.bulkDensityStandard = ''
|
|
|
}
|
|
|
// if (this.selectVal == '玉米淀粉' ||
|
|
|
// this.selectVal == '玉米(机收)' ||
|
|
@@ -596,7 +595,7 @@ export default {
|
|
|
//防止填完数据 后切换货名不清空多余数据
|
|
|
warehouseId: '',
|
|
|
warehouseName: '',
|
|
|
- compId: '',
|
|
|
+ compId: this.$route.query.compId,
|
|
|
goodsNameKey: '',
|
|
|
goodsName: '',
|
|
|
waterBase: '',
|
|
@@ -627,7 +626,7 @@ export default {
|
|
|
this.baseInfoForm.compId = this.$route.query.compId
|
|
|
this.baseInfoForm.bulkDensityStandard = 1
|
|
|
}else{
|
|
|
- this.baseInfoForm.bulkDensityStandard = ""
|
|
|
+ this.baseInfoForm.bulkDensityStandard = ''
|
|
|
}
|
|
|
for (let num = 0; num < this.goodnameList.length; num++) {
|
|
|
if (e == this.goodnameList[num].constValue) {
|