|
@@ -251,7 +251,6 @@ export default {
|
|
let row
|
|
let row
|
|
getStockDetailStock({ id }).then(res => {
|
|
getStockDetailStock({ id }).then(res => {
|
|
row = res.data
|
|
row = res.data
|
|
- this.type = 2
|
|
|
|
const arr = []
|
|
const arr = []
|
|
if (row.kingDeeStocks && row.kingDeeStocks.length > 0) {
|
|
if (row.kingDeeStocks && row.kingDeeStocks.length > 0) {
|
|
row.kingDeeStocks.forEach(el => {
|
|
row.kingDeeStocks.forEach(el => {
|
|
@@ -268,6 +267,7 @@ export default {
|
|
type: row.type + '',
|
|
type: row.type + '',
|
|
stockIds: row.stockIds === undefined ? arr : row.stockIds
|
|
stockIds: row.stockIds === undefined ? arr : row.stockIds
|
|
}
|
|
}
|
|
|
|
+ this.type = 2
|
|
this.showDialogForm = true
|
|
this.showDialogForm = true
|
|
})
|
|
})
|
|
},
|
|
},
|