|
@@ -124,6 +124,21 @@
|
|
|
inactive-text="关闭"
|
|
|
>
|
|
|
</el-switch>
|
|
|
+ <el-select
|
|
|
+ v-else-if="item.prop === 'paymentType'"
|
|
|
+ v-model="form[item.prop]"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ size="small"
|
|
|
+ style="width: 100%;"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item,index) in paymentOption"
|
|
|
+ :key="index"
|
|
|
+ :label="item.dictValue"
|
|
|
+ :value="item.dictValue"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
<el-input
|
|
|
v-else
|
|
|
type="age"
|
|
@@ -407,6 +422,10 @@ export default {
|
|
|
{
|
|
|
label: "FOB系数",
|
|
|
prop: "coefficient"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '付款方式',
|
|
|
+ prop: 'paymentType'
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -485,9 +504,18 @@ export default {
|
|
|
mock: {
|
|
|
type: "county"
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "备注",
|
|
|
+ prop: "remarks",
|
|
|
+ span: 24,
|
|
|
+ mock: {
|
|
|
+ type: "county"
|
|
|
+ }
|
|
|
+ },
|
|
|
]
|
|
|
- }
|
|
|
+ },
|
|
|
+ paymentOption: [],
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -500,6 +528,9 @@ export default {
|
|
|
areaTypeTree().then(res => {
|
|
|
this.dicArea = res.data.data;
|
|
|
});
|
|
|
+ this.getWorkDicts("payment_term").then(res => {
|
|
|
+ this.paymentOption = res.data.data
|
|
|
+ })
|
|
|
if (this.$route.query.id) {
|
|
|
let id = this.$route.query.id.replace(/\"/g, "");
|
|
|
// let id = parseInt(this.$route.query.id)
|