| | |
| | | </el-dialog> |
| | | |
| | | <!-- 添加或修改体检记录对话框 --> |
| | | <el-dialog :title="title" :visible.sync="open" width="950px" append-to-body> |
| | | <el-dialog :title="title" :visible.sync="open" width="950px" append-to-body > |
| | | <el-tabs v-model="activeName1" type="card"> |
| | | <!-- <el-tab-pane label="订单流水" name="first"> |
| | | <el-table :data="numberList" style="width: 100%"> |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> --> |
| | | <el-tab-pane label="项目汇总" name="second"> |
| | | <el-table :data="huizongList" style="width: 100%" max-height="280"> |
| | | <el-tab-pane label="项目汇总" name="second" style="height: 400px;"> |
| | | <el-table :data="huizongList" style="width: 100%" max-height="200"> |
| | | <el-table-column |
| | | align="center" |
| | | prop="newID" |
| | |
| | | <el-table-column align="center" prop="price" label="费用合计"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <h3>付款详情</h3> |
| | | <el-table :data="bill" style="width: 100%; margin-top: 10px"> |
| | | <el-table-column align="center" prop="copeWith" label="应付"> |
| | | </el-table-column> |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="明细项目" name="third"> |
| | | <el-tab-pane label="明细项目" name="third" style="height: 350px;"> |
| | | <el-table |
| | | :data="infoList" |
| | | style="width: 100%" |
| | | max-height="300" |
| | | max-height="330" |
| | | :span-method="objectSpanMethod1" |
| | | > |
| | | <el-table-column |
| | |
| | | <el-table :data="DataLists" border style="width: 100%" height="400" @selection-change="handleProjectssChange" > |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <el-table-column |
| | | prop="id" |
| | | type="index" |
| | | label="序号" |
| | | align="center" |
| | | width="49px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="blje" |
| | | label="补录金额" |
| | | align="center" |
| | | width="74px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | width="96px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="blje" |
| | | label="补录金额" |
| | | align="center" |
| | | width="74px" |
| | | > |
| | | </el-table-column> |
| | | |
| | | </el-table> |
| | | </div> |
| | | </el-col> |
| | |
| | | src: "", |
| | | url: "", |
| | | flag: true, |
| | | bill: null, |
| | | bill: [], |
| | | Treedata: [], |
| | | DataListss:[], |
| | | checkedkey: [], |
| | |
| | | getNumber(tjNumber).then((response) => { |
| | | // this.form = response.data; |
| | | this.numberList = response.data.charging; |
| | | this.bill = response.data.water; |
| | | this.bill =[] |
| | | var copeWith = 0; |
| | | var paidIn = 0; |
| | | var discount = "" |
| | | response.data.water.forEach(item => { |
| | | copeWith += item.copeWith; |
| | | paidIn+= item.copeWith; |
| | | discount= item.discount |
| | | }) |
| | | this.bill.push({copeWith:copeWith,paidIn:paidIn,discount:discount}); |
| | | |
| | | this.title = "订单流水"; |
| | | }); |
| | | getTransitionInfo(tjNumber).then((res) => { |
| | |
| | | getNumber(tjNumber).then((response) => { |
| | | // this.form = response.data; |
| | | this.numberList = response.data.charging; |
| | | this.bill = response.data.water; |
| | | this.bill =[] |
| | | var copeWith = 0; |
| | | var paidIn = 0; |
| | | var discount = "" |
| | | response.data.water.forEach(item => { |
| | | copeWith += item.copeWith; |
| | | paidIn+= item.copeWith; |
| | | discount= item.discount |
| | | }) |
| | | this.bill.push({copeWith:copeWith,paidIn:paidIn,discount:discount}); |
| | | |
| | | console.log(this.bill) |
| | | this.title = "订单流水"; |
| | | }); |
| | | getTransitionInfo(tjNumber).then((res) => { |