Browse Source

修改内贸问题

lichao 3 years ago
parent
commit
16c5348dec

+ 10 - 1
src/api/basicData/configuration.js

@@ -141,4 +141,13 @@ export function saveSell(data) {
     }
   })
 }
-
+// 查询客户银行list
+export const getlistBankBy = (corpsId) => {
+  return request({
+    url: '/api/blade-client/client/listBankByCorpId',
+    method: 'get',
+    params: {
+      corpsId:corpsId
+    }
+  })
+}

+ 33 - 2
src/views/basicData/customerInformation/detailsPageEdit.vue

@@ -124,6 +124,21 @@
                   inactive-text="关闭"
                 >
                 </el-switch>
+                <el-select
+                  v-else-if="item.prop === 'paymentType'"
+                  v-model="form[item.prop]"
+                  clearable
+                  filterable
+                  size="small"
+                  style="width: 100%;"
+                >
+                  <el-option
+                    v-for="(item,index) in paymentOption"
+                    :key="index"
+                    :label="item.dictValue"
+                    :value="item.dictValue"
+                  ></el-option>
+                </el-select>
                 <el-input
                   v-else
                   type="age"
@@ -407,6 +422,10 @@ export default {
           {
             label: "FOB系数",
             prop: "coefficient"
+          },
+          {
+            label: '付款方式',
+            prop: 'paymentType'
           }
         ]
       },
@@ -485,9 +504,18 @@ export default {
             mock: {
               type: "county"
             }
-          }
+          },
+          {
+            label: "备注",
+            prop: "remarks",
+            span: 24,
+            mock: {
+              type: "county"
+            }
+          },
         ]
-      }
+      },
+      paymentOption: [],
     };
   },
   components: {
@@ -500,6 +528,9 @@ export default {
     areaTypeTree().then(res => {
       this.dicArea = res.data.data;
     });
+    this.getWorkDicts("payment_term").then(res => {
+      this.paymentOption = res.data.data
+    })
     if (this.$route.query.id) {
       let id = this.$route.query.id.replace(/\"/g, "");
       // let id = parseInt(this.$route.query.id)

+ 2 - 1
src/views/basicData/customerInformation/index.vue

@@ -151,7 +151,8 @@ export default {
       page: {
         pageSize: 10,
         pagerCount: 5,
-        total: 0
+        total: 0,
+        pageSizes: [10,50,100,200,300]
       },
       excelBox: false,
       excelLoading:false,