YL2767 3 viikkoa sitten
vanhempi
commit
d4ca875885

+ 2
- 1
config/dev.env.js Näytä tiedosto

4
 
4
 
5
 module.exports = merge(prodEnv, {
5
 module.exports = merge(prodEnv, {
6
   NODE_ENV: '"development"',
6
   NODE_ENV: '"development"',
7
-	BASE_API: '"http://localhost:8080/thware/"'
7
+	 BASE_API: '"http://localhost:8080/thware/"'
8
 	// BASE_API: '"http://47.104.245.159:8081/thware/"'
8
 	// BASE_API: '"http://47.104.245.159:8081/thware/"'
9
+	// BASE_API: '"http://120.224.213.150/thware_zg/"'
9
 })
10
 })

+ 21
- 1
src/components/PopupOut.vue Näytä tiedosto

33
 				<el-form-item label="">
33
 				<el-form-item label="">
34
 					<el-button style="margin-left: 25px" size="medium" type="success" @click="handleOut">出库</el-button>
34
 					<el-button style="margin-left: 25px" size="medium" type="success" @click="handleOut">出库</el-button>
35
 				</el-form-item>
35
 				</el-form-item>
36
+				<el-form-item label="是否打印地址">
37
+					<el-switch v-model="addressYN" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
38
+				</el-form-item>
39
+				<el-form-item label="是否打印备注">
40
+					<el-switch v-model="teleYN" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
41
+				</el-form-item>
36
 			</el-form>
42
 			</el-form>
37
 			<el-table :data="customerTableData" border style="width: 99%;" v-if="customerTableVisible">
43
 			<el-table :data="customerTableData" border style="width: 99%;" v-if="customerTableVisible">
38
 				<el-table-column prop="customerName" label="客户" show-overflow-tooltip header-align="center">
44
 				<el-table-column prop="customerName" label="客户" show-overflow-tooltip header-align="center">
136
 					tallyPeople:'',
142
 					tallyPeople:'',
137
 					listDetail: []
143
 					listDetail: []
138
 				},
144
 				},
145
+				addressYN: true,
146
+				teleYN:true,
139
 				time: '',
147
 				time: '',
140
 				tallyPeopleOption:[]
148
 				tallyPeopleOption:[]
141
 			};
149
 			};
285
 					return
293
 					return
286
 				}
294
 				}
287
 				this.getTime()
295
 				this.getTime()
296
+				var addressYN1 = 'N';
297
+				var teleYN1 = 'N';
298
+				if(this.addressYN == true){
299
+					addressYN1 = 'Y' 
300
+				}else{
301
+					addressYN1 = 'N'
302
+				}
303
+				if(this.teleYN == true){
304
+					teleYN1 = 'Y'
305
+				}else{
306
+					teleYN1 = 'N'
307
+				}
288
 				window.open(this.serverName + 'ureport/preview?_u=file:out.ureport.xml&id=' + this.distribution.id +
308
 				window.open(this.serverName + 'ureport/preview?_u=file:out.ureport.xml&id=' + this.distribution.id +
289
-					'&customerName=' + row.customerName + '&time=' + this.time)
309
+					'&customerName=' + row.customerName + '&time=' + this.time+ '&addressYN=' + addressYN1 + '&teleYN=' + teleYN1)
290
 			},
310
 			},
291
 			getTime() {
311
 			getTime() {
292
 				var date = new Date();
312
 				var date = new Date();

+ 0
- 37
src/view/customer/storequery.vue Näytä tiedosto

1
 <template>
1
 <template>
2
 	<div style="height:100%;">
2
 	<div style="height:100%;">
3
-		<!-- <el-form :model="query" label-width="60px" inline="">
4
-			<el-row >
5
-				<el-form-item label="仓库" style="margin-left: -1px"> 
6
-					<el-select v-model="query.wareName" size="small" style="width:120px;margin-left: -8px">
7
-						<el-option v-for="item in options" :key="item.id" :label="item.name" :value="item.id"></el-option>
8
-					</el-select>
9
-				</el-form-item>
10
-				<el-form-item label="垛位" style="margin-left: -25px">
11
-					<el-input v-model="query.stackName" size="small" style="width:120px;margin-left: -8px"></el-input>
12
-				</el-form-item>
13
-				<el-form-item label="物料" style="margin-left: -25px">
14
-					<el-input v-model="query.materialName" size="small" style="width:120px;margin-left: -8px">
15
-						<el-button slot="append" icon="el-icon-search" @click="showMaterial"></el-button>
16
-					</el-input>
17
-				</el-form-item>
18
-				<el-form-item label="钢种" style="margin-left: -25px">
19
-					<el-input v-model="query.standard" size="small" style="width:120px;margin-left: -8px">
20
-						<el-button slot="append" icon="el-icon-search" @click="showMaterial"></el-button>
21
-					</el-input>
22
-				</el-form-item>
23
-				<el-form-item label="规格" style="margin-left: -15px;">
24
-					<el-input v-model="query.model" size="small" style="width:150px;margin-left: -8px"></el-input>
25
-				</el-form-item>
26
-				<el-form-item label="钢板号" style="margin-left: -15px;">
27
-					<el-input v-model="query.plateNo" size="small" style="width:150px;margin-left: -8px"></el-input>
28
-				</el-form-item>
29
-				<el-form-item label="客户" style="margin-left: -15px;margin-top: 4px;">
30
-					<el-input  v-model="query.customerName" clearable size = "small" :readonly="true"><el-button @click="clearCustomer" slot="append" icon="el-icon-delete"></el-button><el-button  size="small" @click="popCust" slot="append" icon="el-icon-search"></el-button></el-input>
31
-				</el-form-item>
32
-				<el-form-item label="订单号" style="margin-left:13px;margin-top: -18px">
33
-					<el-input v-model="query.ordNo" size="small" style="width:150px;margin-left: -8px"></el-input>
34
-				</el-form-item>
35
-				<el-form-item label="" style="margin-top: -20px">
36
-					<el-button @click="handleSearch" size="small" type="primary">查询</el-button>
37
-				</el-form-item>
38
-			</el-row>
39
-		</el-form> -->
40
 		<div class="searchForm-header">	
3
 		<div class="searchForm-header">	
41
 			<el-form  :model="query" label-width="60px" inline="">
4
 			<el-form  :model="query" label-width="60px" inline="">
42
 				<el-row >
5
 				<el-row >

+ 23
- 3
src/view/record/outrecord.vue Näytä tiedosto

93
 							</el-dropdown-menu>
93
 							</el-dropdown-menu>
94
 						</el-dropdown>
94
 						</el-dropdown>
95
 						
95
 						
96
-					</el-form-item>						
96
+					</el-form-item>
97
+					<el-form-item label="是否打印地址">
98
+						<el-switch v-model="addressYN" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
99
+					</el-form-item>
100
+					<el-form-item label="是否打印备注">
101
+						<el-switch v-model="teleYN" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
102
+					</el-form-item>
97
 					</el-row>
103
 					</el-row>
98
 				</el-form>
104
 				</el-form>
99
 			</el-row>
105
 			</el-row>
345
 				truckNo:"",
351
 				truckNo:"",
346
 				driverName:"",
352
 				driverName:"",
347
 				driverPhone:"",
353
 				driverPhone:"",
348
-				optionsCust:[]
354
+				optionsCust:[],
355
+				addressYN: true,
356
+				teleYN:true,
349
 			};
357
 			};
350
 		},
358
 		},
351
 		//页面加载完成渲染
359
 		//页面加载完成渲染
681
 					});
689
 					});
682
 					return;
690
 					return;
683
 				}
691
 				}
692
+				var addressYN1 = 'N';
693
+				var teleYN1 = 'N';
694
+				if(this.addressYN == true){
695
+					addressYN1 = 'Y' 
696
+				}else{
697
+					addressYN1 = 'N'
698
+				}
699
+				if(this.teleYN == true){
700
+					teleYN1 = 'Y'
701
+				}else{
702
+					teleYN1 = 'N'
703
+				}
684
 				window.open(this.serverName + 'ureport/preview?_u=file:out.ureport.xml&id=' + distId +
704
 				window.open(this.serverName + 'ureport/preview?_u=file:out.ureport.xml&id=' + distId +
685
-					'&time=' + this.time)
705
+					'&time=' + this.time + '&addressYN=' + addressYN1 + '&teleYN=' + teleYN1)
686
 
706
 
687
 			},
707
 			},
688
 			getTime() {
708
 			getTime() {

Loading…
Peruuta
Tallenna