|
@@ -301,6 +301,7 @@
|
|
|
<a-select-option
|
|
|
v-for="(item,index) in FreightOption"
|
|
|
:key="index"
|
|
|
+ @click="freightForwarderClick(item,record)"
|
|
|
:value="item.cvencode">
|
|
|
{{item.cvenname}}
|
|
|
</a-select-option>
|
|
@@ -313,6 +314,7 @@
|
|
|
<a-input placeholder="请输入金额" v-model="record.amount" />
|
|
|
</a-form-model-item>
|
|
|
</template>
|
|
|
+
|
|
|
<template slot="option" slot-scope="text, record, index">
|
|
|
<a-button type="primary" @click="adsCNY">增行</a-button>
|
|
|
<a-divider type="vertical" />
|
|
@@ -327,6 +329,7 @@
|
|
|
<a-select-option
|
|
|
v-for="(item,index) in itemArrOption"
|
|
|
:key="index"
|
|
|
+ @click="itemColumnClick(item,record)"
|
|
|
:value="item.value">
|
|
|
{{item.label}}
|
|
|
</a-select-option>
|
|
@@ -353,6 +356,7 @@
|
|
|
<a-select-option
|
|
|
v-for="(item,index) in FreightOption"
|
|
|
:key="index"
|
|
|
+ @click="freightForwarderClick(item,record)"
|
|
|
:value="item.cvencode">
|
|
|
{{item.cvenname}}
|
|
|
</a-select-option>
|
|
@@ -379,6 +383,7 @@
|
|
|
<a-select-option
|
|
|
v-for="(item,index) in itemArrOption"
|
|
|
:key="index"
|
|
|
+ @click="itemColumnClick(item,record)"
|
|
|
:value="item.value">
|
|
|
{{item.label}}
|
|
|
</a-select-option>
|
|
@@ -592,6 +597,12 @@ export default {
|
|
|
width: 60,
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '货代名称',
|
|
|
+ // dataIndex: 'freightForwarderName',
|
|
|
+ // width: 60,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '金额',
|
|
|
dataIndex: 'amount',
|
|
@@ -606,6 +617,12 @@ export default {
|
|
|
scopedSlots: { customRender: 'CNYProjectList' },
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '项目名称',
|
|
|
+ // dataIndex: 'itemColumnName',
|
|
|
+ // width: 60,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '操作',
|
|
|
dataIndex: 'option',
|
|
@@ -623,6 +640,12 @@ export default {
|
|
|
width: 60,
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '货代名称',
|
|
|
+ // dataIndex: 'freightForwarderName',
|
|
|
+ // width: 60,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '金额',
|
|
|
dataIndex: 'amount',
|
|
@@ -637,6 +660,12 @@ export default {
|
|
|
scopedSlots: { customRender: 'USDProjectList' },
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '项目名称',
|
|
|
+ // dataIndex: 'itemColumnName',
|
|
|
+ // width: 60,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '操作',
|
|
|
dataIndex: 'option',
|
|
@@ -1020,6 +1049,15 @@ export default {
|
|
|
this.defaultMethod = 'add'
|
|
|
this.$refs.form.resetFields()
|
|
|
},
|
|
|
+ freightForwarderClick(val,record){
|
|
|
+ record.freightForwarderName = val.cvenname;
|
|
|
+ this.$forceUpdate();
|
|
|
+
|
|
|
+ },
|
|
|
+ itemColumnClick(val,record){
|
|
|
+ record.itemColumnName = val.text;
|
|
|
+ this.$forceUpdate();
|
|
|
+ },
|
|
|
|
|
|
// ------------------------------------------
|
|
|
modalFormOk() {},
|