1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<template>
<div>
<c-col :span="24">
<c-col :span="6" class="suffix-title">
币种
</c-col>
<c-col :span="18">
<c-select v-model="model.cur" style="width:100%" placeholder="请选择">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</c-col>
</c-col>
<c-col :span="6" class="suffix-title">
原始金额
</c-col>
<c-col :span="18">
<c-input v-model="model.oldamt" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
变动金额
</c-col>
<c-col :span="18">
<c-input v-model="model.chgamt" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
金额
</c-col>
<c-col :span="18">
<c-input v-model="model.amt" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
结算账号
</c-col>
<c-col :span="18">
<c-input v-model="model.cusact" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
保证金账号
</c-col>
<c-col :span="18">
<c-input v-model="model.ccvact" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
记账
</c-col>
<c-col :span="18">
<c-select v-model="model.gleflg" style="width:100%" placeholder="请选择">
<el-option
v-for="item in codes.onsel"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</c-col>
</div>
</template>
<script>
export default {
inject: ['root'],
props: ['model', 'codes']
}
</script>
<style scoped>
.suffix-title {
line-height: 40px;
}
[class*=c-col-] {
height: 50px;
}
</style>