|
@@ -73,7 +73,7 @@
|
|
style="padding: 0 60px;">保存并返回</a-button>
|
|
style="padding: 0 60px;">保存并返回</a-button>
|
|
</div>
|
|
</div>
|
|
</a-affix>
|
|
</a-affix>
|
|
- <spare-parts-product-modal :openModal="openModal" :itemSn="itemSn" :nowData="productTotal" @ok="$refs.table.refresh(true)" @close="openModal=false" />
|
|
|
|
|
|
+ <spare-parts-product-modal :openModal="openModal" :itemSn="itemSn" :nowData="productTotal" @ok="$refs.table.refresh(true)" @close="closeModal" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -123,6 +123,11 @@ export default {
|
|
this.itemSn = (row && row.sparePartsDetailSn) ? row.sparePartsDetailSn : null
|
|
this.itemSn = (row && row.sparePartsDetailSn) ? row.sparePartsDetailSn : null
|
|
this.openModal = true
|
|
this.openModal = true
|
|
},
|
|
},
|
|
|
|
+ // 关闭
|
|
|
|
+ closeModal () {
|
|
|
|
+ this.itemSn = ''
|
|
|
|
+ this.openModal = false
|
|
|
|
+ },
|
|
// 删除
|
|
// 删除
|
|
handleDel (row) {
|
|
handleDel (row) {
|
|
const _this = this
|
|
const _this = this
|