linwenxin 4 månader sedan
förälder
incheckning
4454013470
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      src/views/salesPurchasing/merchandisePurchaseReturn/index.vue

+ 4 - 0
src/views/salesPurchasing/merchandisePurchaseReturn/index.vue

@@ -89,6 +89,7 @@ import out_storage_codes from '../mixins/out_storage_codes'
 import common from '../mixins/common_code'
 import jihuamingxith from '../mixins/jihuamingxith'
 import { delayPerform, firstPerform, intervalPerform, passivePerform, queuePerform } from 'js-perform-lock'
+import { goodsPurchaseDetail } from '@/api/goodsPurchasedStored.js'
 export default {
   components: { TemplatePage },
   mixins: [
@@ -331,6 +332,9 @@ export default {
           items: res.data.items.map(item => ({ ...item, details: {} }))
         })
         this.formDialogType = type
+        goodsPurchaseDetail({ id: this.formData.goodsPurchaseId, isQuery: true }).then(res2 => {
+          this.formData.isPlan = res2.data.isPlan
+        })
         this.openForm()
         this.formDialog = true
       })