|
@@ -185,9 +185,7 @@ export default {
|
|
|
mounted() {
|
|
|
this.getDetail()
|
|
|
this.getVenderList()
|
|
|
- if (this.inputParam.openType === 'add') {
|
|
|
- this.getMaterialList()
|
|
|
- }
|
|
|
+ this.getMaterialList()
|
|
|
},
|
|
|
methods: {
|
|
|
getDetail(id) {
|
|
@@ -222,7 +220,6 @@ export default {
|
|
|
params: [{ param: 'a.status', compare: '=', value: 'ON' }]
|
|
|
}).then(res => {
|
|
|
this.goodsList = res.data.records
|
|
|
- console.log(res.data.records)
|
|
|
})
|
|
|
},
|
|
|
// 获取供应商列表
|