浏览代码

组件修改

lichao 3 年之前
父节点
当前提交
e51c8bdf6b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/components/finance/applyPayment.vue

+ 2 - 1
src/components/finance/applyPayment.vue

@@ -8,7 +8,7 @@
       <basic-container>
         <avue-form class="trading-form" :option="option" ref="form" v-model="item.form">
           <template slot-scope="scope" slot="corpId">
-            <selectComponent v-model="item.form.corpId" :configuration="configuration"/>
+            <selectComponent v-model="corpId" :configuration="configuration"/>
           </template>
           <template slot-scope="scope" slot="billNo">
             <el-select placeholder="请选择" v-model="item.form.billNo" clearable>
@@ -301,6 +301,7 @@ export default {
     }
     if (this.arrList.length > 0) {
       this.list = this.arrList
+      this.corpId = this.list[0].form.corpId
       let arr = []
       this.list.forEach(item => {
         let a = {