md
This commit is contained in:
parent
13cde325a1
commit
477f077935
@ -248,7 +248,7 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
@click="handleMergeBill"
|
@click="handleMergeBill"
|
||||||
v-hasPermi="['emis:emisSettleSubBill:mergeBillByCenter']"
|
v-hasPermi="['emis:emisSettleBill:add']"
|
||||||
>合账</el-button>
|
>合账</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
@ -405,7 +405,7 @@
|
|||||||
</XdTable>
|
</XdTable>
|
||||||
|
|
||||||
<el-dialog :title="titleMergeForm" :visible.sync="openMergeForm" width="80%" :destroy-on-close="true" v-dialogDrag append-to-body>
|
<el-dialog :title="titleMergeForm" :visible.sync="openMergeForm" width="80%" :destroy-on-close="true" v-dialogDrag append-to-body>
|
||||||
<MergeBillForm :selectBillList="selectBillList" @on-changed="handleFormChanged" @on-cancel="cancelForm"></MergeBillForm>
|
<MergeBillForm :settleBillNo="currentSettleBillNo" @on-changed="handleFormChanged" @on-cancel="cancelForm"></MergeBillForm>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog :title="openTraceInfoTitle" :visible.sync="openTraceInfo" width="80%" :close-on-click-modal="false" v-dialogDrag append-to-body>
|
<el-dialog :title="openTraceInfoTitle" :visible.sync="openTraceInfo" width="80%" :close-on-click-modal="false" v-dialogDrag append-to-body>
|
||||||
@ -525,8 +525,11 @@ export default {
|
|||||||
billMonth:null,
|
billMonth:null,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
titleMergeForm:null,
|
titleMergeForm:null,
|
||||||
openMergeForm:false,
|
openMergeForm:false,
|
||||||
|
|
||||||
|
currentSettleBillNo:null,
|
||||||
selectBillList:[],
|
selectBillList:[],
|
||||||
|
|
||||||
|
|
||||||
@ -969,18 +972,20 @@ export default {
|
|||||||
closeOnClickModal: false
|
closeOnClickModal: false
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|
||||||
this.form.tplCode=genJsSeqNo();
|
this.currentSettleBillNo="B"+genJsSeqNo();
|
||||||
|
|
||||||
let settleBillForm={
|
let settleBillForm={
|
||||||
settleBillNo: null,
|
settleBillNo: this.currentSettleBillNo,
|
||||||
settleBillName: null,
|
settleBillName: this.billName,
|
||||||
billMonth: null,
|
billMonth: this.billMonth,
|
||||||
|
subBillList:this.selectBillList,
|
||||||
}
|
}
|
||||||
|
|
||||||
// 生成合账单号
|
// 生成合账单号
|
||||||
addEmisSettleBill(this.form).then(response => {
|
addEmisSettleBill(settleBillForm).then(response => {
|
||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("合并成功");
|
||||||
this.$emit("on-changed");
|
this.$emit("on-changed");
|
||||||
|
this.titleMergeForm="合并账单";
|
||||||
|
this.openMergeForm=true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -404,7 +404,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="24" v-if="applyType&&(applyTypeArr.includes('2')||applyTypeArr.includes('38'))" >
|
<el-col :span="24" v-if="applyType&&(applyTypeArr.includes('2'))" >
|
||||||
<el-row :gutter="0" class="md-row">
|
<el-row :gutter="0" class="md-row">
|
||||||
<el-col :span="3" class="md-title">
|
<el-col :span="3" class="md-title">
|
||||||
<span>件数调整</span>
|
<span>件数调整</span>
|
||||||
@ -420,7 +420,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="24" v-if="applyType&&(applyTypeArr.includes('3')||applyTypeArr.includes('38'))" >
|
<el-col :span="24" v-if="applyType&&(applyTypeArr.includes('3'))" >
|
||||||
<el-row :gutter="0" class="md-row">
|
<el-row :gutter="0" class="md-row">
|
||||||
<el-col :span="3" class="md-title">
|
<el-col :span="3" class="md-title">
|
||||||
<span>体积调整</span>
|
<span>体积调整</span>
|
||||||
@ -539,7 +539,7 @@
|
|||||||
<el-table-column prop="cargoQty" :label="$t('件数')" align="center" width="60">
|
<el-table-column prop="cargoQty" :label="$t('件数')" align="center" width="60">
|
||||||
<!-- @keyup.enter.native="(val)=>handleCargoQtyChange(scope.row)" -->
|
<!-- @keyup.enter.native="(val)=>handleCargoQtyChange(scope.row)" -->
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input v-model="scope.row.cargoQty" @input="(val)=>handleCargoQtyChangeDebounce(scope.row)" size="mini" placeholder=""></el-input>
|
<el-input v-model="scope.row.cargoQty" @input="(val)=>handleCargoQtyChangeDebounce(scope.row)" size="mini" placeholder="" disabled></el-input>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="volume" :label="$t('体积(m³)')" align="center" width="80">
|
<el-table-column prop="volume" :label="$t('体积(m³)')" align="center" width="80">
|
||||||
@ -549,7 +549,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|
||||||
<el-table-column :label="$t('操作')" align="left" min-width="50">
|
<!-- <el-table-column :label="$t('操作')" align="left" min-width="50">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span class="icon iconfont"
|
<span class="icon iconfont"
|
||||||
style="cursor: pointer;font-size: 21px;color: #6e6e6e;"
|
style="cursor: pointer;font-size: 21px;color: #6e6e6e;"
|
||||||
@ -558,7 +558,7 @@
|
|||||||
style="cursor: pointer;font-size: 21px;color: #6e6e6e;"
|
style="cursor: pointer;font-size: 21px;color: #6e6e6e;"
|
||||||
@click="()=>copyGoodsItem(scope.row,scope.$index)"></span>
|
@click="()=>copyGoodsItem(scope.row,scope.$index)"></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
|
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user