|
|
@@ -207,7 +207,7 @@ export default { |
|
|
|
this.factoryList = res.data |
|
|
|
/** set default */ |
|
|
|
if (this.factoryList.length) { |
|
|
|
this.dataForm.ftId = this.factoryList[0].id |
|
|
|
// this.dataForm.ftId = this.factoryList[0].id |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.factoryList = [] |
|
|
@@ -236,7 +236,7 @@ export default { |
|
|
|
if (res && res.code === 0 && res.data.length) { |
|
|
|
this.productLineList = res.data |
|
|
|
/** set default */ |
|
|
|
this.dataForm.productlines = [this.productLineList[0].id] |
|
|
|
// this.dataForm.productlines = [this.productLineList[0].id] |
|
|
|
} else { |
|
|
|
this.productLineList = [] |
|
|
|
this.dataForm.productlines = [] |
|
|
|