浏览代码

前端sdy

zhongtianhaoyuan 3 年之前
父节点
当前提交
5191794a32

+ 8 - 1
src/views/tradeServicesManagement/repayment.vue

@@ -6,6 +6,9 @@
 				<h2 class="bg-left title">还款记录</h2>
 			</el-col>
 			<el-col :span="12" class="bg-right">
+           <el-button class="bg-bottom" type="primary" size="small" @click="cancel"><img width="6" height="10"
+            style="vertical-align: bottom; margin-right: 3px" src="../../../public/img/lujing.png" alt="" />返回
+        </el-button>
 			</el-col>
 		</el-row>
 		<div class="span_css">
@@ -153,7 +156,11 @@
       handleClose(){
        this.accessoryTFs = false
       },
-      
+      cancel() {
+        this.$router.push({
+          path: 'warehouseReceiptRegulation'
+        })
+      },
       getList(){
         getWarehouseReceiptLook({id:this.id})
         .toPromise()

+ 1 - 1
src/views/tradeServicesManagement/warehouseReceiptRegulation.vue

@@ -167,7 +167,7 @@
         })
       },
       repaymentBtnClick(row, val2) {
-        let repayment = JSON.stringify(row)
+        // let repayment = JSON.stringify(row)
         this.$router.push({
           name: 'repayment',
           query:{id:row.id,contractNo:row.contractNo}