|
@@ -233,13 +233,13 @@
|
|
|
</el-form>
|
|
|
<div style="width: 100%;">
|
|
|
<el-button type="warning" size="small" @click="charGe">收费</el-button>
|
|
|
- <el-button type="primary" size="small">确认收费</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="confirmCharge">确认收费</el-button>
|
|
|
<el-button type="success" size="small">导出</el-button>
|
|
|
<el-button type="info" size="small">打印</el-button>
|
|
|
<el-button type="danger" size="small">删除</el-button>
|
|
|
</div>
|
|
|
<el-table v-loading="loading" :data="increase_s" @selection-change="handleSelectionChange_s">
|
|
|
- <el-table-column type="selection" width="55" align="center"/>
|
|
|
+ <!-- <el-table-column type="selection" width="55" align="center"/> -->
|
|
|
<el-table-column label="序号" type="index" width="55" align="center"/>
|
|
|
<el-table-column label="提单号" align="center" prop="fMblno"/>
|
|
|
<el-table-column label="存货单号" align="center" prop="fBscorpno"/>
|
|
@@ -429,6 +429,7 @@
|
|
|
|
|
|
<script>
|
|
|
import {
|
|
|
+ collectFee,
|
|
|
listCharge,
|
|
|
getCharge,
|
|
|
delCharge,
|
|
@@ -567,6 +568,19 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 确认收费
|
|
|
+ confirmCharge() {
|
|
|
+ this.queryParams.fBillstatus = '4'
|
|
|
+ let formDate = new window.FormData()
|
|
|
+ formDate.append('tFee',JSON.stringify(this.queryParams))
|
|
|
+ formDate.append("tFeeDo", JSON.stringify(this.increase_s))
|
|
|
+
|
|
|
+ collectFee(formDate).then(response=>{
|
|
|
+ console.log(response)
|
|
|
+ this.msgSuccess("操作成功")
|
|
|
+ })
|
|
|
+ this.open = false
|
|
|
+ },
|
|
|
charGe(){
|
|
|
this.queryParameter.fToCorpid = this.queryParams.fCorpid
|
|
|
this.innerVisible = true
|
|
@@ -639,6 +653,7 @@ export default {
|
|
|
this.increase_s = this.selection
|
|
|
this.queryParams.tMblno = this.pass.fMblno //提单号
|
|
|
this.queryParams.fCtrlcorpid = this.pass.fName
|
|
|
+ this.queryParams.fCorpid = this.queryParameter.fToCorpid
|
|
|
this.queryParams.fAmtcr = this.pass.fAmtcr
|
|
|
this.queryParams.fAmtdr = this.pass.fAmtdr
|
|
|
console.log(this.queryParams)
|