|
@@ -56,8 +56,7 @@
|
|
|
<span>应收费用</span>
|
|
<span>应收费用</span>
|
|
|
</div>
|
|
</div>
|
|
|
<el-button v-if="isFeeEditD" type="danger" plain size="small"
|
|
<el-button v-if="isFeeEditD" type="danger" plain size="small"
|
|
|
- :disabled="!selectionDList.length || disabled"
|
|
|
|
|
- @click="batchDelete('D')">一键删除
|
|
|
|
|
|
|
+ :disabled="!selectionDList.length || disabled" @click="batchDelete('D')">一键删除
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<!-- <el-button v-if="isFeeEditD" type="success" plain size="small"
|
|
<!-- <el-button v-if="isFeeEditD" type="success" plain size="small"
|
|
|
:disabled="!selectionDList.length || disabled || pleasereviewType"
|
|
:disabled="!selectionDList.length || disabled || pleasereviewType"
|
|
@@ -79,16 +78,16 @@
|
|
|
<el-button v-if="isFeeEditC" type="primary" plain size="small"
|
|
<el-button v-if="isFeeEditC" type="primary" plain size="small"
|
|
|
:disabled="disabled || pleasereviewType" @click="copyfun('D')">生成应付</el-button>
|
|
:disabled="disabled || pleasereviewType" @click="copyfun('D')">生成应付</el-button>
|
|
|
<el-button v-if="isFeeEditD" type="primary" plain size="small"
|
|
<el-button v-if="isFeeEditD" type="primary" plain size="small"
|
|
|
- :disabled="disabled || pleasereviewType" @click="allClick('发票申请', 'D')">发票申请</el-button>
|
|
|
|
|
|
|
+ @click="allClick('发票申请', 'D')">发票申请</el-button>
|
|
|
<el-button type="primary" plain size="small" :disabled="disabled || selectionDList.length == 0"
|
|
<el-button type="primary" plain size="small" :disabled="disabled || selectionDList.length == 0"
|
|
|
@click="allClick('D费用申请')">请核费用</el-button>
|
|
@click="allClick('D费用申请')">请核费用</el-button>
|
|
|
<el-button type="danger" plain size="small" :disabled="disabled || selectionDList.length == 0"
|
|
<el-button type="danger" plain size="small" :disabled="disabled || selectionDList.length == 0"
|
|
|
@click="allClick('D撤销请核')">撤销请核</el-button>
|
|
@click="allClick('D撤销请核')">撤销请核</el-button>
|
|
|
- <el-button type="primary" plain size="small" :disabled="selectionDList.length != 1||showLock"
|
|
|
|
|
|
|
+ <el-button type="primary" plain size="small" :disabled="selectionDList.length != 1 || showLock"
|
|
|
@click="allClick('D申请修改')">申请修改</el-button>
|
|
@click="allClick('D申请修改')">申请修改</el-button>
|
|
|
- <el-button type="success" plain size="small" :disabled="selectionDList.length != 1||showLock"
|
|
|
|
|
|
|
+ <el-button type="success" plain size="small" :disabled="selectionDList.length != 1 || showLock"
|
|
|
@click="allClick('D申请删除')">申请删除</el-button>
|
|
@click="allClick('D申请删除')">申请删除</el-button>
|
|
|
- <el-button type="danger" plain size="small" :disabled="selectionDList.length != 1||showLock"
|
|
|
|
|
|
|
+ <el-button type="danger" plain size="small" :disabled="selectionDList.length != 1 || showLock"
|
|
|
@click="allClick('D取消申请')">取消申请</el-button>
|
|
@click="allClick('D取消申请')">取消申请</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="indexHeader" slot-scope="scope">
|
|
<template slot="indexHeader" slot-scope="scope">
|
|
@@ -116,6 +115,14 @@
|
|
|
@selectChange="rowDicChange('shortName', $event, row)"></dic-select>
|
|
@selectChange="rowDicChange('shortName', $event, row)"></dic-select>
|
|
|
<span v-else>{{ row.shortName }}</span>
|
|
<span v-else>{{ row.shortName }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template slot="generationCorpCnName" slot-scope="{ row,index }">
|
|
|
|
|
+ <dic-select v-if="row.edit" v-model="row.generationCorpCnName" placeholder="代收客户" label="cnName"
|
|
|
|
|
+ res="records" :slotRight="true" rightLabel="code"
|
|
|
|
|
+ url="/blade-los/bcorps/listByType?status=0¤t=1&size=5&corpTypeName=国内直接客户,国内同行及代理,国外直接客户,国外同行及代理"
|
|
|
|
|
+ :filterable="true" :remote="true" dataName="cnName"
|
|
|
|
|
+ @selectChange="rowDicChange('generationCorpCnName', $event, row)"></dic-select>
|
|
|
|
|
+ <span v-else>{{ row.generationCorpCnName }}</span>
|
|
|
|
|
+ </template>
|
|
|
<!-- <template slot="corpCnName" slot-scope="{ row }">
|
|
<!-- <template slot="corpCnName" slot-scope="{ row }">
|
|
|
<search-query v-if="row.edit" :datalist="corpCnNameData" :selectValue="row.shortName"
|
|
<search-query v-if="row.edit" :datalist="corpCnNameData" :selectValue="row.shortName"
|
|
|
:filterable="true" :clearable="true" :remote="true" :buttonIf="false"
|
|
:filterable="true" :clearable="true" :remote="true" :buttonIf="false"
|
|
@@ -210,8 +217,7 @@
|
|
|
<span>应付费用</span>
|
|
<span>应付费用</span>
|
|
|
</div>
|
|
</div>
|
|
|
<el-button v-if="isFeeEditC" type="danger" plain size="small"
|
|
<el-button v-if="isFeeEditC" type="danger" plain size="small"
|
|
|
- :disabled="!selectionCList.length || disabled"
|
|
|
|
|
- @click="batchDelete('C')">一键删除
|
|
|
|
|
|
|
+ :disabled="!selectionCList.length || disabled" @click="batchDelete('C')">一键删除
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<!-- <el-button v-if="isFeeEditC" type="primary" plain size="small"
|
|
<!-- <el-button v-if="isFeeEditC" type="primary" plain size="small"
|
|
|
:disabled="!selectionCList.length || disabled || pleasereviewType"
|
|
:disabled="!selectionCList.length || disabled || pleasereviewType"
|
|
@@ -235,19 +241,18 @@
|
|
|
<el-button v-if="isFeeEditC" type="primary" plain size="small"
|
|
<el-button v-if="isFeeEditC" type="primary" plain size="small"
|
|
|
:disabled="disabled || pleasereviewType" @click="copyfun('C')">生成应收
|
|
:disabled="disabled || pleasereviewType" @click="copyfun('C')">生成应收
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button type="info" plain size="small" :disabled="disabled"
|
|
|
|
|
- @click="allClick('付费申请', 'C')">付费申请</el-button>
|
|
|
|
|
|
|
+ <el-button type="info" plain size="small" @click="allClick('付费申请', 'C')">付费申请</el-button>
|
|
|
<el-button type="primary" plain size="small" :disabled="disabled || selectionCList.length == 0"
|
|
<el-button type="primary" plain size="small" :disabled="disabled || selectionCList.length == 0"
|
|
|
@click="allClick('C费用申请')">请核费用</el-button>
|
|
@click="allClick('C费用申请')">请核费用</el-button>
|
|
|
<el-button type="danger" plain size="small" :disabled="disabled || selectionCList.length == 0"
|
|
<el-button type="danger" plain size="small" :disabled="disabled || selectionCList.length == 0"
|
|
|
@click="allClick('C撤销请核')">撤销请核</el-button>
|
|
@click="allClick('C撤销请核')">撤销请核</el-button>
|
|
|
<!-- <el-button type="success" plain size="small" :disabled="disabled"
|
|
<!-- <el-button type="success" plain size="small" :disabled="disabled"
|
|
|
@click="allClick('提取成本')">提取成本</el-button> -->
|
|
@click="allClick('提取成本')">提取成本</el-button> -->
|
|
|
- <el-button type="primary" plain size="small" :disabled="selectionCList.length != 1||showLock"
|
|
|
|
|
|
|
+ <el-button type="primary" plain size="small" :disabled="selectionCList.length != 1 || showLock"
|
|
|
@click="allClick('C申请修改')">申请修改</el-button>
|
|
@click="allClick('C申请修改')">申请修改</el-button>
|
|
|
- <el-button type="success" plain size="small" :disabled="selectionCList.length != 1||showLock"
|
|
|
|
|
|
|
+ <el-button type="success" plain size="small" :disabled="selectionCList.length != 1 || showLock"
|
|
|
@click="allClick('C申请删除')">申请删除</el-button>
|
|
@click="allClick('C申请删除')">申请删除</el-button>
|
|
|
- <el-button type="danger" plain size="small" :disabled="selectionCList.length != 1||showLock"
|
|
|
|
|
|
|
+ <el-button type="danger" plain size="small" :disabled="selectionCList.length != 1 || showLock"
|
|
|
@click="allClick('C取消申请')">取消申请</el-button>
|
|
@click="allClick('C取消申请')">取消申请</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="indexHeader" slot-scope="scope">
|
|
<template slot="indexHeader" slot-scope="scope">
|
|
@@ -283,7 +288,7 @@
|
|
|
label="shortName" res="records" :slotRight="true" rightLabel="code"
|
|
label="shortName" res="records" :slotRight="true" rightLabel="code"
|
|
|
:url="'/blade-los/bcorps/selectList?status=0¤t=1&size=5&corpTypeName=' + row.corpType"
|
|
:url="'/blade-los/bcorps/selectList?status=0¤t=1&size=5&corpTypeName=' + row.corpType"
|
|
|
:filterable="true" :remote="true" dataName="shortName"
|
|
:filterable="true" :remote="true" dataName="shortName"
|
|
|
- @selectChange="rowDicChange('shortName', $event, row)"></dic-select>
|
|
|
|
|
|
|
+ @selectChange="rowDicChange('shortNameC', $event, row)"></dic-select>
|
|
|
<span v-else>{{ row.shortName }}</span>
|
|
<span v-else>{{ row.shortName }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="feeCnName" slot-scope="{ row }">
|
|
<template slot="feeCnName" slot-scope="{ row }">
|
|
@@ -630,7 +635,10 @@
|
|
|
<reportContainer ref="reportContainer"></reportContainer>
|
|
<reportContainer ref="reportContainer"></reportContainer>
|
|
|
<mail-component ref="mailComponentRef" />
|
|
<mail-component ref="mailComponentRef" />
|
|
|
<extraction-cost ref="extractionCost" @getData="getData" />
|
|
<extraction-cost ref="extractionCost" @getData="getData" />
|
|
|
- <fee-modify ref="feeModify" :form="assemblyForm" @updateDetail="updateDetail" :curCodeDate="assemblyForm.etd?assemblyForm.etd+' 00:00:00':null" url="/iosBasicData/SeafreightExportF/bills/index" pageStatus="this.$store.getters.approvalDetails" pageLabel="海运出口(F)"></fee-modify>
|
|
|
|
|
|
|
+ <fee-modify ref="feeModify" :form="assemblyForm" @updateDetail="updateDetail"
|
|
|
|
|
+ :curCodeDate="assemblyForm.etd ? assemblyForm.etd + ' 00:00:00' : null"
|
|
|
|
|
+ url="/iosBasicData/SeafreightExportF/bills/index" pageStatus="this.$store.getters.approvalDetails"
|
|
|
|
|
+ pageLabel="海运出口(F)"></fee-modify>
|
|
|
<fee-modify-view ref="feeModifyView" :form="assemblyForm"></fee-modify-view>
|
|
<fee-modify-view ref="feeModifyView" :form="assemblyForm"></fee-modify-view>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -1067,6 +1075,12 @@ export default {
|
|
|
overHidden: true,
|
|
overHidden: true,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
|
|
+ label: "代收客户",
|
|
|
|
|
+ prop: "generationCorpCnName",
|
|
|
|
|
+ width: "120",
|
|
|
|
|
+ overHidden: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
label: "费用简称",
|
|
label: "费用简称",
|
|
|
prop: "feeCnName",
|
|
prop: "feeCnName",
|
|
|
width: "100",
|
|
width: "100",
|
|
@@ -1614,6 +1628,25 @@ export default {
|
|
|
el.shortName = row.shortName
|
|
el.shortName = row.shortName
|
|
|
el.corpEnName = row.enName
|
|
el.corpEnName = row.enName
|
|
|
el.corpCnName = row.cnName
|
|
el.corpCnName = row.cnName
|
|
|
|
|
+ el.generationCorpId = row.bookingAgentId
|
|
|
|
|
+ el.generationCorpEnName = row.bookingAgentEnName
|
|
|
|
|
+ el.generationCorpCnName = row.bookingAgentCnName
|
|
|
|
|
+ } else {
|
|
|
|
|
+ el.corpId = null
|
|
|
|
|
+ el.shortName = null
|
|
|
|
|
+ el.corpCnName = null
|
|
|
|
|
+ el.corpEnName = null
|
|
|
|
|
+ el.generationCorpId = null
|
|
|
|
|
+ el.generationCorpEnName = null
|
|
|
|
|
+ el.generationCorpCnName = null
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ if (name == 'shortNameC') {
|
|
|
|
|
+ if (row) {
|
|
|
|
|
+ el.corpId = row.id
|
|
|
|
|
+ el.shortName = row.shortName
|
|
|
|
|
+ el.corpEnName = row.enName
|
|
|
|
|
+ el.corpCnName = row.cnName
|
|
|
} else {
|
|
} else {
|
|
|
el.corpId = null
|
|
el.corpId = null
|
|
|
el.shortName = null
|
|
el.shortName = null
|
|
@@ -1621,6 +1654,17 @@ export default {
|
|
|
el.corpEnName = null
|
|
el.corpEnName = null
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ if (name == 'generationCorpCnName') {
|
|
|
|
|
+ if (row) {
|
|
|
|
|
+ el.generationCorpId = row.id
|
|
|
|
|
+ el.generationCorpEnName = row.enName
|
|
|
|
|
+ el.generationCorpCnName = row.cnName
|
|
|
|
|
+ } else {
|
|
|
|
|
+ el.generationCorpId = null
|
|
|
|
|
+ el.generationCorpEnName = null
|
|
|
|
|
+ el.generationCorpCnName = null
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
if (name == 'corpType') {
|
|
if (name == 'corpType') {
|
|
|
if (row.cnName == '国内直接客户' || row.cnName == '国内同行及代理' || row.cnName == '国外直接客户') {
|
|
if (row.cnName == '国内直接客户' || row.cnName == '国内同行及代理' || row.cnName == '国外直接客户') {
|
|
|
el.corpId = this.assemblyForm.corpId
|
|
el.corpId = this.assemblyForm.corpId
|
|
@@ -3076,10 +3120,11 @@ export default {
|
|
|
});
|
|
});
|
|
|
} else {
|
|
} else {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
- path: `/iosBasicData/PaymentApplication/index`,
|
|
|
|
|
|
|
+ path: `/iosBasicData/financialManagement/PaymentApplication/index`,
|
|
|
query: {
|
|
query: {
|
|
|
mblno: this.assemblyForm.mblno,
|
|
mblno: this.assemblyForm.mblno,
|
|
|
corpCnName: this.selectionCList[0].corpCnName,
|
|
corpCnName: this.selectionCList[0].corpCnName,
|
|
|
|
|
+ corpEnName: this.selectionCList[0].corpEnName,
|
|
|
corpId: this.selectionCList[0].corpId
|
|
corpId: this.selectionCList[0].corpId
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -3090,7 +3135,7 @@ export default {
|
|
|
if (this.selectionDList.length != this.selectionDList.filter(e => e.corpCnName == this.selectionDList[0].corpCnName).length) return this.$message.error("请选择相同的结算单位");
|
|
if (this.selectionDList.length != this.selectionDList.filter(e => e.corpCnName == this.selectionDList[0].corpCnName).length) return this.$message.error("请选择相同的结算单位");
|
|
|
if (this.selectionDList.filter(e => e.auditStatus != 4).length) return this.$message.error("请选择审核通过的费用");
|
|
if (this.selectionDList.filter(e => e.auditStatus != 4).length) return this.$message.error("请选择审核通过的费用");
|
|
|
if (this.$store.getters.finappStatus) {
|
|
if (this.$store.getters.finappStatus) {
|
|
|
- this.$alert("发票申请(F)页面已存在,请关闭发票申请(F)再进行操作", "温馨提示", {
|
|
|
|
|
|
|
+ this.$alert("发票申请页面已存在,请关闭发票申请再进行操作", "温馨提示", {
|
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
|
type: 'warning',
|
|
type: 'warning',
|
|
|
callback: action => {
|
|
callback: action => {
|
|
@@ -3098,10 +3143,11 @@ export default {
|
|
|
});
|
|
});
|
|
|
} else {
|
|
} else {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
- path: `/iosBasicData/fininvoicesApplyfor/index`,
|
|
|
|
|
|
|
+ path: `/iosBasicData/financialManagement/fininvoicesApplyfor/index`,
|
|
|
query: {
|
|
query: {
|
|
|
mblno: this.assemblyForm.mblno,
|
|
mblno: this.assemblyForm.mblno,
|
|
|
corpCnName: this.selectionDList[0].corpCnName,
|
|
corpCnName: this.selectionDList[0].corpCnName,
|
|
|
|
|
+ corpEnName: this.selectionDList[0].corpEnName,
|
|
|
corpId: this.selectionDList[0].corpId
|
|
corpId: this.selectionDList[0].corpId
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|