hebinlong 4 anni fa
parent
commit
2c224a7a86
2 ha cambiato i file con 12 aggiunte e 2 eliminazioni
  1. 8 2
      src/api/channel.js
  2. 4 0
      src/views/channel/index.vue

+ 8 - 2
src/api/channel.js

@@ -33,8 +33,14 @@ export default {
       method: 'put',
       data: data
     })
-  }
+  },
 
-  
+  price(operator){
+    request({
+        url:"/bankcard/list",
+        method:"POST",
+        data:operator
+    })
+}
 
 }

+ 4 - 0
src/views/channel/index.vue

@@ -688,6 +688,7 @@ export default {
     handleEdit: function(row) {
       this.dialogFormVisible = true
       this.operation = false
+      
       this.dataForm={
       supplierName:"",           //供应商名称
         mobile:"",                 //供应商电话
@@ -719,6 +720,9 @@ export default {
      
       // this.dataForm = Object.assign({}, row)
       // this.dataForm.jobId = row.jobId
+      api.price(row).then((resp)=>{
+        this.dataForm.priceData = resp.data.data.records
+      })
     },
     //查看详情
     handleLook(row){