|
|
@@ -25,7 +25,7 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="6" style="margin-top:5px;">
|
|
|
- <a-button @click="handleGoods" type="primary" icon="plus">批量添加</a-button>
|
|
|
+ <a-button :disabled="!model.supplierId" @click="handleGoods" type="primary" icon="plus">批量添加</a-button>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form-model>
|
|
|
@@ -250,7 +250,8 @@ export default {
|
|
|
},
|
|
|
selectOk(e) {
|
|
|
console.log(e);
|
|
|
- this.dataSource = e
|
|
|
+ this.dataSource = JSON.parse(JSON.stringify(e))
|
|
|
+ console.log(this.dataSource);
|
|
|
},
|
|
|
add() {
|
|
|
this.edit(this.modelDefault,1);
|