소스 검색

账单详情页新增字段

ljh 2 년 전
부모
커밋
09b8cbfde0
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      src/pages/DetailPage/BookDetail.vue

+ 16 - 0
src/pages/DetailPage/BookDetail.vue

@@ -5,6 +5,9 @@
         <el-form-item label="序号" prop="id">
           <span>{{resource.id}}</span>
         </el-form-item>
+        <el-form-item label="人员" prop="uname" v-if="resource.uname">
+          <span>{{resource.uname}}</span>
+        </el-form-item>
         <el-form-item label="项目编号" prop="cptcode" v-if="resource.cptcode">
           <span>{{resource.cptcode}}</span>
         </el-form-item>
@@ -23,6 +26,15 @@
         <el-form-item label="提交时间" prop="submitTime" v-if="resource.submitTime">
           <span>{{resource.submitTime}}</span>
         </el-form-item>
+        <el-form-item label="银行编码" prop="code" v-if="resource.code">
+          <span>{{resource.code}}</span>
+        </el-form-item>
+        <el-form-item label="开户行" prop="subname" v-if="resource.subname">
+          <span>{{resource.subname}}</span>
+        </el-form-item>
+        <el-form-item label="银行卡号" prop="number" v-if="resource.number">
+          <span>{{resource.number}}</span>
+        </el-form-item>
         <el-form-item label="有效工作量金额" prop="effectiveWorkloadAmount" v-if="typeof effectiveWorkloadAmount ==='undefined'">
           <span>{{resource.effectiveWorkloadAmount}}</span>
         </el-form-item>
@@ -102,6 +114,10 @@ export default {
       //相当于http://localhost:5757/api/common/index/resource/POWERAGREEMENT
       Http.get(Apis.BOOKLIST.GET_DETAIL.replace('{id}', this.id)).then((res) => {
         this.resource.id = res.data.id
+        this.resource.uname = res.data.uname
+        this.resource.subname = res.data.subname
+        this.resource.number = res.data.number
+        this.resource.code = res.data.code
         this.resource.cptcode = res.data.cptcode
         this.resource.cptname = res.data.cptname
         this.resource.cttcode = res.data.cttcode