|
|
@@ -7,6 +7,18 @@
|
|
|
<yearMonthYay ref="yearMonthYay" @getYearData="getYearData" @getMonthData="getMonthData" @getDayData="getDayData"></yearMonthYay>
|
|
|
</template>
|
|
|
</templateTable>
|
|
|
+ <el-dialog
|
|
|
+ title="详情"
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
+ width="80%"
|
|
|
+ :before-close="handleClose">
|
|
|
+ <templateTable ref="templateTable" :formList="formList1" @handleSearchList="handleSearchList1" :tableConfig="tableConfigDetail" :data="formTableData"
|
|
|
+ @findPage="findPageDetail" >
|
|
|
+ </templateTable>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button size="small" @click="dialogVisible = false">取消</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -91,7 +103,8 @@ export default {
|
|
|
loading: true,
|
|
|
isPaginationShow: true,
|
|
|
showSummary:true,
|
|
|
- tableHeight:'none'
|
|
|
+ isShowIndex: true,
|
|
|
+ tableHeight:'none',
|
|
|
// optBtns: [
|
|
|
// {
|
|
|
// type: 'primary',
|
|
|
@@ -99,18 +112,44 @@ export default {
|
|
|
// click: (row, index) => { return this.balanceFun(row) },
|
|
|
// }
|
|
|
// ]
|
|
|
+ optBtns: [
|
|
|
+ {
|
|
|
+ type: 'primary',
|
|
|
+ label: '详情',
|
|
|
+ click: (row, index) => { return this.haldDetail(row) },
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
tableData: [],
|
|
|
+ formList1: [
|
|
|
+ {
|
|
|
+ label: "结算状态",
|
|
|
+ prop: "handlingFeesStatus",
|
|
|
+ type: "select",
|
|
|
+ options:[
|
|
|
+ {
|
|
|
+ label:'开票已结算',
|
|
|
+ value:'1'
|
|
|
+ }, {
|
|
|
+ label:'开票未结算',
|
|
|
+ value:'2'
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+
|
|
|
+ ],
|
|
|
+ dialogVisible:false,
|
|
|
pageData: {
|
|
|
pageNum: 1,
|
|
|
pageSize: 20,
|
|
|
agreementType: '2',
|
|
|
- isNotCar: '1',
|
|
|
+ isNotCar: '0',
|
|
|
isNotDocumentary : '0',
|
|
|
handlingFeesStatus:'0'
|
|
|
},
|
|
|
formData: {},
|
|
|
-
|
|
|
+ formDetail:{},
|
|
|
+ formTableData:[]
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -156,7 +195,35 @@ export default {
|
|
|
getList(data) {
|
|
|
this.findPage(data)
|
|
|
},
|
|
|
-
|
|
|
+ handleSearchList1(data){
|
|
|
+ this.findPageDetail({...this.formDetail,...data})
|
|
|
+ },
|
|
|
+ haldDetail(row){
|
|
|
+ this.dialogVisible=true
|
|
|
+ this.formDetail=row
|
|
|
+ this.findPageDetail(row)
|
|
|
+ },
|
|
|
+ findPageDetail(data) {
|
|
|
+ this.tableConfigDetail.loading=true
|
|
|
+ this.$api.task
|
|
|
+ .invicdetai({
|
|
|
+ partnerCompaniesId:data.partnerCompaniesId,
|
|
|
+ agreementType: '2',
|
|
|
+ isNotCar: '0',
|
|
|
+ isNotDocumentary : '0',
|
|
|
+ handlingFeesStatus:data.handlingFeesStatus
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ if (res.code==200) {
|
|
|
+ this.formTableData = res.data;
|
|
|
+ this.tableConfigDetail.loading = false;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.tableConfigDetail.loading = false;
|
|
|
+ this.$message.error(res.msg)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
// 结算
|
|
|
balanceFun(row) {
|
|
|
this.$api.task
|