|
@@ -24,14 +24,16 @@
|
24
|
24
|
</el-input>
|
25
|
25
|
</el-form-item>
|
26
|
26
|
<el-form-item label="客户名称" style="margin-left: -35px">
|
27
|
|
- <el-input v-model="query.customerName" size="small" style="width:200px;margin-left: -8px">
|
28
|
|
- <el-button slot="append" icon="el-icon-search" @click="showCustomer"></el-button>
|
29
|
|
- </el-input>
|
|
27
|
+ <el-select v-model="query.customerName" filterable placeholder="请选择上游客户" clearable size="small" style="margin-left: 5px; width: 170px">
|
|
28
|
+ <el-option v-for="item in optionsCust" :key="item.name" :label="item.name" :value="item.name" >
|
|
29
|
+ </el-option>
|
|
30
|
+ </el-select>
|
30
|
31
|
</el-form-item>
|
31
|
32
|
<el-form-item label="付款单位" style="margin-left: -35px">
|
32
|
|
- <el-input v-model="query.fkComponyName" size="small" style="width:200px;margin-left: -8px">
|
33
|
|
- <el-button slot="append" icon="el-icon-search" @click="showFkCompony"></el-button>
|
34
|
|
- </el-input>
|
|
33
|
+ <el-select v-model="query.fkComponyName" filterable placeholder="请选择上游客户" clearable size="small" style="margin-left: 5px; width: 170px">
|
|
34
|
+ <el-option v-for="item in optionsCust" :key="item.name" :label="item.name" :value="item.name" >
|
|
35
|
+ </el-option>
|
|
36
|
+ </el-select>
|
35
|
37
|
</el-form-item>
|
36
|
38
|
<el-form-item label="车号" style="margin-left: -35px">
|
37
|
39
|
<el-input v-model="query.carNo" size="small" style="width:100px;margin-left: -8px"></el-input>
|
|
@@ -45,28 +47,28 @@
|
45
|
47
|
<el-input v-model="query.plateNo" size="small" style="width:120px;margin-left: -8px">
|
46
|
48
|
</el-input>
|
47
|
49
|
</el-form-item>
|
48
|
|
- <el-form-item label="出库时间" style="margin-left: -35px;margin-top: -15px">
|
|
50
|
+ <el-form-item label="出库时间" style="margin-left: -35px">
|
49
|
51
|
<el-date-picker v-model="query.RecordDate" style="width:330px;margin-left: -8px" size="small" type="datetimerange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
|
50
|
52
|
</el-date-picker>
|
51
|
53
|
</el-form-item>
|
52
|
|
- <el-form-item label="理货人员" style="margin-top: -15px">
|
|
54
|
+ <el-form-item label="理货人员" >
|
53
|
55
|
<el-select v-model="query.tallyPeople" size="small" style="margin-left: 10px;margin-top: -15px" clearable placeholder="理货人员">
|
54
|
56
|
<el-option v-for="item in tallyPeopleOption" :key="item.id" :label="item.dicName" :value="item.dicCode">
|
55
|
57
|
</el-option>
|
56
|
58
|
</el-select>
|
57
|
59
|
</el-form-item>
|
58
|
|
- <el-form-item label="订单号" style="margin-left: -25px;margin-top: -15px">
|
|
60
|
+ <el-form-item label="订单号" style="margin-left: -25px">
|
59
|
61
|
<el-input v-model="query.ordNo" size="small" style="width:120px;margin-left: -8px">
|
60
|
62
|
</el-input>
|
61
|
63
|
</el-form-item>
|
62
|
|
- <el-form-item label=" " style="margin-top: -15px;margin-left: -60px">
|
|
64
|
+ <el-form-item label=" " style="margin-left: -60px">
|
63
|
65
|
<el-button @click="handleSearch" type="primary" size="small">查询</el-button>
|
64
|
66
|
<el-button @click="handlePrintOut" type="primary" size="small" style="width:90px;text-align: left">打印出库单</el-button>
|
65
|
67
|
<el-button @click="handleOutBack" type="danger" size="small" style="width:70px">取消出库</el-button>
|
66
|
68
|
<el-button @click="handleVerifyAcc" type="primary" size="small" style="width:70px">对账</el-button>
|
67
|
69
|
<el-button @click="handleModifyPrice" type="primary" size="small" >批量改价</el-button>
|
68
|
70
|
</el-form-item>
|
69
|
|
- <el-form-item label="" style="margin-top: -15px">
|
|
71
|
+ <el-form-item label="" >
|
70
|
72
|
<el-upload class="upload-demo" action=""
|
71
|
73
|
ref="upload" :limit="1" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"
|
72
|
74
|
:auto-upload="false" >
|
|
@@ -74,7 +76,7 @@
|
74
|
76
|
<el-button type="success" @click="handleExport" style="margin-left: 2px" size="small">导出记录</el-button>
|
75
|
77
|
</el-upload>
|
76
|
78
|
</el-form-item>
|
77
|
|
- <el-form-item label="" style="margin-top: -15px">
|
|
79
|
+ <el-form-item label="" >
|
78
|
80
|
<el-button type="primary" size="small" @click="resetButton" :disabled="backAble">重置</el-button>
|
79
|
81
|
</el-form-item>
|
80
|
82
|
</el-row>
|
|
@@ -301,7 +303,8 @@
|
301
|
303
|
popupVerifyAcc:false,
|
302
|
304
|
popupModPrice:false,
|
303
|
305
|
modifyWgt:0,
|
304
|
|
- modifyPrice:0
|
|
306
|
+ modifyPrice:0,
|
|
307
|
+ optionsCust:[],
|
305
|
308
|
};
|
306
|
309
|
},
|
307
|
310
|
//页面加载完成渲染
|
|
@@ -310,6 +313,7 @@
|
310
|
313
|
// this.getTableData()
|
311
|
314
|
this.getSearchItem();
|
312
|
315
|
this.setSearchTime();
|
|
316
|
+ this.getAllCustomer();
|
313
|
317
|
},
|
314
|
318
|
methods: {
|
315
|
319
|
setSearchTime(){
|
|
@@ -326,6 +330,13 @@
|
326
|
330
|
break;
|
327
|
331
|
}
|
328
|
332
|
},
|
|
333
|
+ getAllCustomer() {
|
|
334
|
+ var url = 'MaintCustomer/queryByUserId.do'
|
|
335
|
+ var param = {}
|
|
336
|
+ axios.get(url, param).then(response => {
|
|
337
|
+ this.optionsCust = response.data.data
|
|
338
|
+ });
|
|
339
|
+ },
|
329
|
340
|
handleSavePriceMod(){
|
330
|
341
|
var url = 'WareOutRecord/savePriceMod.do'
|
331
|
342
|
var param = {
|