Browse Source

card样式及 ICBC接口

yuedefeng 6 years ago
parent
commit
a12fcf49a6

+ 5 - 0
src/dashoo.cn/backend/api/business/bankapi/icbc.go

@@ -19,3 +19,8 @@ type ICBCBillVM struct {
 type ICBCBillQueryParam struct {
 	CommercialNo string `json:"commercialNo"`
 }
+
+type ICBCBillBank struct {
+	CommercialNo string 		`json:"commercialNo"`
+	ICBCBills	 []ICBCBillVM	`json:"icbcBills"`
+}

+ 16 - 0
src/dashoo.cn/backend/api/controllers/bankapi/icbc.go

@@ -29,3 +29,19 @@ func (this *ICBCController) GetBillList() {
 	this.Data["json"] = &datainfo
 	this.ServeJSON()
 }
+
+// @Title 获取银行支付所需账单信息
+// @Description post bills by token
+// @Success 200 {object} BILLs
+// @router /update-bill-list [post]
+func (this *ICBCController) UpdateBillList() {
+
+	var icbcBillQueryParam bankapi.ICBCBillQueryParam
+	json.Unmarshal(this.Ctx.Input.RequestBody, &icbcBillQueryParam)
+	svc := bankapi.GetICBCService(utils.DBE)
+	var datainfo DataInfo
+	ret := svc.GetBillList(icbcBillQueryParam.CommercialNo)
+	json.Unmarshal(ret, &datainfo)
+	this.Data["json"] = &datainfo
+	this.ServeJSON()
+}

+ 7 - 8
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -75,7 +75,7 @@
         </el-tab-pane>
 
         <el-tab-pane label="企业情况" :disabled="!certId">
-          <el-card class="box-card">
+          <el-card class="box-card mycard">
             <div slot="header" class="clearfix">
               <span>企业人员结构情况</span>
               <span style="float: right;">
@@ -159,7 +159,7 @@
             </el-form>
           </el-card>
 
-          <el-card class="box-card" style="margin-top: 10px;">
+          <el-card class="box-card mycard" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>企业主要设备</span>
               <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog"
@@ -169,7 +169,7 @@
               :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></equipment-list>
           </el-card>
 
-          <el-card class="box-card" style="margin-top: 10px;">
+          <el-card class="box-card mycard" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>近三年主要业绩</span>
               <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog"
@@ -179,7 +179,7 @@
               :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></performance-list>
           </el-card>
 
-          <el-card class="box-card" style="margin-top: 10px;">
+          <el-card class="box-card mycard" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>专利及专有技术</span>
               <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog">添加</el-button>
@@ -189,7 +189,7 @@
             </patent-list>
           </el-card>
 
-          <el-card class="box-card" style="margin-top: 10px;">
+          <el-card class="box-card mycard" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span>近三年省部级及以上获奖项目</span>
               <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog"
@@ -1354,9 +1354,8 @@
 
 </script>
 
-<style >
-  .el-card__header {
+<style>
+  .mycard .el-card__header {
     padding : 8px;
   }
-
 </style>

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -1474,8 +1474,8 @@
 
 </script>
 
-<style >
-  .el-card__header {
+<style>
+  .mycard .el-card__header {
     padding : 8px;
   }
 </style>

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/techedit.vue

@@ -1352,8 +1352,8 @@
 
 </script>
 
-<style >
-  .el-card__header {
+<style>
+  .mycard .el-card__header {
     padding : 8px;
   }
 </style>