|
@@ -26,7 +26,13 @@
|
26
|
26
|
</el-form-item>
|
27
|
27
|
<el-form-item label="理货人员">
|
28
|
28
|
<el-select v-model="distribution.tallyPeople" size="small" style="margin-left: 10px" clearable placeholder="理货人员">
|
29
|
|
- <el-option v-for="item in tallyPeopleOption" :key="item.id" :label="item.dicName" :value="item.dicCode">
|
|
29
|
+ <el-option v-for="item in tallyPeopleOption" :key="item.dicName" :label="item.dicName" :value="item.dicName">
|
|
30
|
+ </el-option>
|
|
31
|
+ </el-select>
|
|
32
|
+ </el-form-item>
|
|
33
|
+ <el-form-item label="承运单位">
|
|
34
|
+ <el-select v-model="distribution.transportName" size="small" style="margin-left: 10px" clearable placeholder="承运单位">
|
|
35
|
+ <el-option v-for="item in transports" :key="item.name" :label="item.name" :value="item.name">
|
30
|
36
|
</el-option>
|
31
|
37
|
</el-select>
|
32
|
38
|
</el-form-item>
|
|
@@ -111,6 +117,7 @@
|
111
|
117
|
},
|
112
|
118
|
mounted() {
|
113
|
119
|
this.getSearchItem();
|
|
120
|
+ this.gettransportItem();
|
114
|
121
|
},
|
115
|
122
|
data() {
|
116
|
123
|
return {
|
|
@@ -134,13 +141,25 @@
|
134
|
141
|
sumCount: '',
|
135
|
142
|
suttle: 0,
|
136
|
143
|
tallyPeople:'',
|
137
|
|
- listDetail: []
|
|
144
|
+ listDetail: [],
|
|
145
|
+ transportName:''
|
138
|
146
|
},
|
139
|
147
|
time: '',
|
140
|
|
- tallyPeopleOption:[]
|
|
148
|
+ tallyPeopleOption:[],
|
|
149
|
+ transports: []
|
141
|
150
|
};
|
142
|
151
|
},
|
143
|
152
|
methods: {
|
|
153
|
+ gettransportItem(){
|
|
154
|
+ var url = 'MaintTransport/query.do'
|
|
155
|
+ var param = {page: -1,
|
|
156
|
+ rows: -1,
|
|
157
|
+ query: ''}
|
|
158
|
+ axios.get(url, param).then(response => {
|
|
159
|
+ this.transports = response.data.data
|
|
160
|
+ });
|
|
161
|
+ },
|
|
162
|
+
|
144
|
163
|
getTrucks() {
|
145
|
164
|
var url = 'WareDistribution/queryWaitTrucks.do'
|
146
|
165
|
var param = {}
|
|
@@ -165,7 +184,9 @@
|
165
|
184
|
var param = {
|
166
|
185
|
type: 'TALLY_PEOPLE',
|
167
|
186
|
}
|
|
187
|
+
|
168
|
188
|
axios.get(url, param).then(response => {
|
|
189
|
+ console.log(response);
|
169
|
190
|
// alert(JSON.stringify(response))
|
170
|
191
|
this.tallyPeopleOption = response.data.data;
|
171
|
192
|
});
|