|
@@ -212,7 +212,11 @@
|
|
</a-card>
|
|
</a-card>
|
|
|
|
|
|
<!-- 导入明细 -->
|
|
<!-- 导入明细 -->
|
|
- <importGuideModal :openModal="openGuideModal" :params="{purchaseReturnApplySn: $route.params.sn, purchaseReturnApplyNo:detailData?detailData.purchaseReturnApplyNo:''}" @close="openGuideModal=false" @ok="hanldeImprotOk" />
|
|
|
|
|
|
+ <importGuideModal
|
|
|
|
+ :openModal="openGuideModal"
|
|
|
|
+ :params="{purchaseReturnApplySn: $route.params.sn, purchaseReturnApplyNo:detailData?detailData.purchaseReturnApplyNo:''}"
|
|
|
|
+ @close="openGuideModal=false"
|
|
|
|
+ @ok="hanldeImprotOk" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -234,7 +238,8 @@ import {
|
|
modifyReturnReason,
|
|
modifyReturnReason,
|
|
purchaseReturnSubmit,
|
|
purchaseReturnSubmit,
|
|
purchaseReturnApplyPrint,
|
|
purchaseReturnApplyPrint,
|
|
- purchaseReturnApplyExport } from '@/api/purchaseReturnApply'
|
|
|
|
|
|
+ purchaseReturnApplyExport,
|
|
|
|
+ purchaseReturnApplyCreateList } from '@/api/purchaseReturnApply'
|
|
export default {
|
|
export default {
|
|
name: 'PurchaseReturnEdit',
|
|
name: 'PurchaseReturnEdit',
|
|
components: { STable, VSelect, Print, ProductType, importGuideModal },
|
|
components: { STable, VSelect, Print, ProductType, importGuideModal },
|
|
@@ -341,10 +346,11 @@ export default {
|
|
// 确认导入明细
|
|
// 确认导入明细
|
|
hanldeImprotOk (obj) {
|
|
hanldeImprotOk (obj) {
|
|
this.spinning = true
|
|
this.spinning = true
|
|
- salesDetailInsertImport(obj).then(res => {
|
|
|
|
|
|
+ purchaseReturnApplyCreateList(obj).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
- this.$refs.table.refresh(true)
|
|
|
|
- this.getOrderDetail(false)
|
|
|
|
|
|
+ this.$refs.chooseTable.refresh(true)
|
|
|
|
+ this.getDetail()
|
|
|
|
+ this.openGuideModal = false
|
|
}
|
|
}
|
|
this.spinning = false
|
|
this.spinning = false
|
|
})
|
|
})
|