Commit b376ee63 authored by liudong1993's avatar liudong1993

1

parent 4616d911
...@@ -120,6 +120,24 @@ ...@@ -120,6 +120,24 @@
<span v-else>{{ scope.row.Wait20Invoice }}</span> <span v-else>{{ scope.row.Wait20Invoice }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="FPMoney" label="分批回款" sortable>
<template slot-scope="scope">
<span v-if="scope.row.Alias=='平台在途总额'" style="color: #00C6FF;">{{ scope.row.FPMoney }}<span v-if="scope.row.FPNoMoney>0">/未回{{scope.row.FPNoMoney}}</span></span>
<span v-else>{{ scope.row.FPMoney }}<span v-if="scope.row.FPNoMoney>0">/未回{{scope.row.FPNoMoney}}</span></span>
</template>
</el-table-column>
<el-table-column prop="OffsetMoney" label="用于抵扣" sortable>
<template slot-scope="scope">
<span v-if="scope.row.Alias=='平台在途总额'" style="color: #00C6FF;">{{ scope.row.OffsetMoney }}</span>
<span v-else>{{ scope.row.OffsetMoney }}</span>
</template>
</el-table-column>
<el-table-column prop="ComplaintMoney" label="投诉超期" sortable>
<template slot-scope="scope">
<span v-if="scope.row.Alias=='平台在途总额'" style="color: #00C6FF;">{{ scope.row.ComplaintMoney }}</span>
<span v-else>{{ scope.row.ComplaintMoney }}</span>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
...@@ -330,7 +348,19 @@ ...@@ -330,7 +348,19 @@
<span slot="reference" class="text_d _font_init" :style="(scope.row.EfficaciousStatus==1?'color:red':'')">{{scope.row.StatusStr}}</span> <span slot="reference" class="text_d _font_init" :style="(scope.row.EfficaciousStatus==1?'color:red':'')">{{scope.row.StatusStr}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column
prop=""
label="特殊标记"
show-overflow-tooltip width="120">
<template slot-scope="scope">
<div>
<i class="edit el-icon-edit" style="cursor: pointer" @click="editMark(scope.row)"></i> &nbsp;&nbsp;&nbsp;
<i v-if="scope.row.MarkType>0" class="el-icon-delete" style="cursor: pointer" @click="delMark(scope.row)"></i>
</div>
<div v-if="scope.row.MarkType>0">{{(scope.row.MarkType==1?'分批回款:':scope.row.MarkType==2?'用于冲抵':'投诉超期')}}<span v-if="scope.row.MarkMoney>0">{{scope.row.MarkMoney}}已回</span></div>
<div>{{scope.row.MarkRemark}}</div>
</template>
</el-table-column>
</el-table> </el-table>
<div style="padding-bottom:15px"> <div style="padding-bottom:15px">
<el-pagination background <el-pagination background
...@@ -347,6 +377,29 @@ ...@@ -347,6 +377,29 @@
</div> </div>
<el-dialog title="在途标记" width="400px" :visible.sync="MarkState" center
:before-close="closeChangeMachie">
<el-form class="cdForm" label-width="90px">
<el-form-item label="标记类型" prop="Type">
<el-select filterable v-model='MarkMsg.Type' placeholder="请选择标记类型" class="w135 _border_b_1">
<el-option label='分批回款' value='1' key='1'></el-option>
<el-option label='用于冲抵' value='2' key='2'></el-option>
<el-option label='投诉超期' value='3' key='3'></el-option>
</el-select>
</el-form-item>
<el-form-item label="备注" prop="Remark">
<el-input v-model="MarkMsg.Remark"></el-input>
</el-form-item>
<el-form-item label="回款金额" prop="Money" v-if="MarkMsg.Type==1">
<el-input v-model="MarkMsg.Money" type="Number"></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="MarkState=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="setMark">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
</div> </div>
</template> </template>
...@@ -452,6 +505,13 @@ export default { ...@@ -452,6 +505,13 @@ export default {
ChineseStr:'', ChineseStr:'',
DepartIDs:'', DepartIDs:'',
heightQueryBox:false, heightQueryBox:false,
MarkState:false,
MarkMsg:{
FrId:0,
Type:'1',
Remark:'',
Money:0
}
} }
}, },
created(){ created(){
...@@ -836,6 +896,48 @@ export default { ...@@ -836,6 +896,48 @@ export default {
this.getPageList(); this.getPageList();
this.getStatisticsList(); this.getStatisticsList();
}, },
editMark(row){
this.MarkMsg.FrId = row.FrID;
this.MarkMsg.Type = row.MarkType.toString();
this.MarkMsg.Remark = row.MarkRemark;
this.MarkMsg.Money = row.MarkMoney;
this.MarkState=true;
},
setMark(){
this.apipost('Financial_post_SetPlatformMark', this.MarkMsg, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.MarkState =false;
this.getPageList();
this.getStatisticsList();
}else{
this.Error(res.data.message);
}
}, null)
},
delMark(row){
this.MarkMsg.FrId = row.FrID;
this.$confirm('确认删除标记?', this.$t("tips.tips"), {
confirmButtonText: this.$t("pub.sureBtn"),
cancelButtonText: this.$t("pub.cancelBtn"),
type: "warning"
})
.then(() => {
this.apipost('Financial_post_DelPlatformMark', this.MarkMsg, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getPageList();
this.getStatisticsList();
}else{
this.Error(res.data.message);
}
}, null)
})
.catch(() => {
});
}
} }
} }
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment