Browse Source

发运明细-报关要素

jbb 2 years ago
parent
commit
66304e40d9
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/views/shipment-details/declareElementsModal.vue

+ 9 - 1
src/views/shipment-details/declareElementsModal.vue

@@ -232,7 +232,8 @@ export default {
       declareElementsData: [], // 子表信息
       confirmLoading: false,
       declareElementsModVis: false,
-      arrOption:[]
+      arrOption:[],
+      productNameOption:[]
     }
   },
   // 接收父组件 方法
@@ -242,11 +243,18 @@ export default {
     this.getOption()
   },
   methods: {
+    //品名下拉框数据
     //获取类别数据字典
     getOption(){
+      debugger
       Dictionaries({code:'customs_declaration_elements'}).then(res => {
          this.arrOption = res
       })
+      debugger
+      Dictionaries({code:'declarationName'}).then(res=>{
+         this.productNameOption = res
+         debugger
+      })
     },
     //英文品名转化大写
     convertUppercase(val){