Commit 47672587 by liuxin

账务拆账相关调整

parent 9c9804d9
......@@ -6579,6 +6579,21 @@ const CodeTable = {
{ label: "SCC 贷记其他保证金账", value: "SCC" },
{ label: "BF 国结系统融资过渡账", value: "BF" }
],
setgll_dsp: [
{ label: "LOD 借记客户往来账", value: "LOD" },
{ label: "TPD 借记国际结算临时账", value: "TPD" },
{ label: "SPD 借记国结专户", value: "SPD" },
{ label: "ARD 借记暂收款项账", value: "ARD" },
],
setgll_modflg: [
{ label: "autom.", value: "-" },
{ label: "original set", value: "a" },
{ label: "paid set", value: "b" },
],
setgll_debcdtflg: [
{ label: "Debit", value: "D" },
{ label: "Credit", value: "C" },
],
setfelRol: [
{ label: "OWN Ourselves", value: "OWN" },
{ label: "ISS issuing Bank", value: "ISS" },
......
......@@ -291,7 +291,7 @@
<el-table-column label="处理方式" width="100px">
<template #default="scope">
<c-select v-model="scope.row.dsp">
<el-option v-for="item in codes.setglldsp" :key="item.value" :label="item.value"
<el-option v-for="item in codes.setgll_dsp" :key="item.value" :label="item.value"
:value="item.value">
<span style="float: left">{{ item.value }}</span>
<span style="float: left;margin-left:20px">{{ item.label }}</span>
......@@ -375,14 +375,22 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="ROLLAB">
<c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="dialog3.amt > 0">
<el-form-item label="Payer">
<c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-else>
<el-form-item label="Payee">
<c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="dialog3.act3flg">第三方还款</c-checkbox>
</c-col>
......@@ -453,7 +461,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="科目代码">
<c-select v-model="dialog3.cur" style="width:100%" placeholder="请选择科目代码">
<c-select v-model="dialog3.acttrmtyp" style="width:100%" placeholder="请选择原始金额">
</c-select>
</el-form-item>
</c-col>
......@@ -476,7 +484,7 @@
<c-col :span="24">
<el-form-item label="原始金额">
<c-col :span="8">
<c-select v-model="dialog3.acttrmtyp" style="width:100%" placeholder="请选择原始金额">
<c-select v-model="dialog3.cur" style="width:100%" placeholder="请选择科目代码">
</c-select>
</c-col>
<c-col :span="8">
......@@ -486,7 +494,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-select v-model="dialog3.modflg" style="width:100%" placeholder="请选择Modified">
<c-select v-model="dialog3.modflg" style="width:100%" placeholder="请选择Modified" :code="codes.setgll_modflg">
</c-select>
</el-form-item>
</c-col>
......@@ -509,8 +517,8 @@
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="5%">
<c-input v-model="dialog3.debcdtflg" maxlength="1"
placeholder="请输入Debit/Credit"></c-input>
<c-select v-model="dialog3.debcdtflg" style="width:100%" placeholder="请选择Debit/Credit" :code="codes.setgll_debcdtflg">
</c-select>
</el-form-item>
</c-col>
</el-form-item>
......@@ -799,10 +807,17 @@
<c-col :span="12">
<c-col :span="24">
<el-form-item label="TXT" prop="setgll.txt">
<c-input type="textarea" v-model="dialog3.txt" maxlength="100" show-word-limit
placeholder="请输入TXT"></c-input>
</el-form-item>
<c-col :span="12">
<el-form-item label="传票摘要" prop="setgll.modifyflg">
<c-checkbox v-model="modifyflg"/>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="setgll.txt">
<c-input type="textarea" v-model="dialog3.txt" maxlength="100" show-word-limit
placeholder="请输入TXT" :disabled="!modifyflg"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="TXT1" prop="setgll.txt1">
......@@ -1115,6 +1130,16 @@ export default {
},
created: function () { },
computed: {
modifyflg: {
get() {
return this.dialog3.modifyflg === "X";
},
set(val) {
this.dialog3.modifyflg = val ? "X" : "";
},
},
},
};
</script>
<style scoped>
......
......@@ -108,10 +108,15 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="优惠百分比">
<c-input v-model="formData.dctrat" @keyup.enter.native="eventFunction('setmod.setfeg.setfel('+ (idx+1) +').dctrat')">
<template #suffix>%</template>
</c-input>
<el-form-item label="付款方">
<c-select v-model="formData.rol" style="width:100%">
<el-option
v-for="item in codes.setfelRol"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -123,15 +128,10 @@
<c-col :span="24">
<c-col :span="12">
<c-col :span="12">
<el-form-item label="付款方">
<c-select v-model="formData.rol">
<el-option
v-for="item in codes.setfelRol"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<el-form-item label="优惠百分比">
<c-input v-model="formData.dctrat" @keyup.enter.native="eventFunction('setmod.setfeg.setfel('+ (idx+1) +').dctrat')">
<template #suffix>%</template>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -273,7 +273,7 @@
</el-form-item>
<br />
<el-form-item label="计费周期">
<c-select v-model="formData.wrkfec.pertyp">
<c-select v-model="formData.wrkfec.pertyp" @change="defaultFunction()">
<el-option
v-for="item in codes.pertyp"
:label="item.label"
......
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