Detp.vue
3.9 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
<template>
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item :label="(model.dedgrp.rec.mytype=='H')?'分批装运货物': (model.dedgrp.rec.mytype=='F'?'分次提供服务':'分批装运货物/分次提供服务标识')" prop="dedgrp.rec.shppar">
<c-select @change="OnShppar" v-model="model.dedgrp.rec.shppar" dbCode="ELC011" style="width:100%" placeholder="请输入">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select @change="OnFqzytgfw" :disabled="model.dedgrp.rec.shppar!='ALWD'" v-model="model.dedgrp.rec.fqzytgfw" dbCode="ELC011" style="width:100%" placeholder="请输入">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="分期装运/提供服务约定" prop="dedgrp.rec.fqtime">
<c-input type="textarea" :disabled="model.dedgrp.rec.fqzytgfw!='ALWD'" v-model="model.dedgrp.rec.fqtime" maxlength="210" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物运输或交货方式/服务方式" prop="dedgrp.rec.tratyp">
<c-select @change="OnTratyp" :disabled="model.dedgrp.rec.mytype=='F'" v-model="model.dedgrp.rec.tratyp" dbCode="TRATYP" style="width:100%" placeholder="请输入">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="(model.dedgrp.rec.mytype=='H')?'手输运输方式': (model.dedgrp.rec.mytype=='F'?'服务提供方式':'手输运输方式/服务提供方式')" prop="dedgrp.rec.sdsrfs">
<c-input :disabled="!(this.model.dedgrp.rec.tratyp=='08' || this.model.dedgrp.rec.mytype=='F')" type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="175" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="(model.dedgrp.rec.mytype=='H')?'货物类型': (model.dedgrp.rec.mytype=='F'?'服务类型':'货物/服务类型')" prop="dedgrp.rec.stagod">
<c-select v-model="model.dedgrp.rec.stagod" dbCode="GODCOD" style="width:100%" placeholder="请输入">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="转运" prop="dedgrp.rec.shptrs">
<c-select :disabled="model.dedgrp.rec.mytype=='F'" v-model="model.dedgrp.rec.shptrs" dbCode="ELC011" style="width:100%" placeholder="请输入">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物装运地(港)" prop="dedgrp.rec.shpfro">
<c-input :disabled="model.dedgrp.rec.mytype=='F'" type="textarea" v-model="model.dedgrp.rec.shpfro" maxlength="210" :rows="3" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto">
<c-input :disabled="model.dedgrp.rec.mytype=='F'" type="textarea" v-model="model.dedgrp.rec.shpto" maxlength="210" :rows="3" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input :disabled="model.dedgrp.rec.mytype=='H'" type="textarea" v-model="model.dedgrp.rec.shppro" maxlength="210" :rows="3" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
created() {}
};
</script>
<style>
</style>