YL2767 2週間前
コミット
abde038de4
4個のファイルの変更898行の追加274行の削除
  1. 3
    3
      src/components/PopupDistribution.vue
  2. 2
    2
      src/components/PopupOut.vue
  3. 877
    267
      src/view/customer/storequery.vue
  4. 16
    2
      src/view/ware/storechange.vue

+ 3
- 3
src/components/PopupDistribution.vue ファイルの表示

@@ -121,7 +121,7 @@
121 121
 					driverPhone: '',
122 122
 					sumWeight: '',
123 123
 					sumCount: '',
124
-					suttle: '',
124
+					suttle: 0,
125 125
 					deliveryCompany:'',
126 126
 					listDetail: []
127 127
 				},
@@ -209,7 +209,7 @@
209 209
 					driverPhone: '',
210 210
 					sumWeight: this.sumWeight,
211 211
 					sumCount: this.sumCount,
212
-					suttle: '',
212
+					suttle: 0,
213 213
 					listDetail: []
214 214
 				}
215 215
 				this.tableData = []
@@ -287,7 +287,7 @@
287 287
 					driverPhone: '',
288 288
 					sumWeight: 0,
289 289
 					sumCount: 0,
290
-					suttle: '',
290
+					suttle: 0,
291 291
 					listDetail: []
292 292
 				}
293 293
 				this.tableData = []

+ 2
- 2
src/components/PopupOut.vue ファイルの表示

@@ -212,7 +212,7 @@
212 212
 					driverPhone: '',
213 213
 					sumWeight: this.sumWeight,
214 214
 					sumCount: this.sumCount,
215
-					suttle: '',
215
+					suttle: 0,
216 216
 					listDetail: []
217 217
 				}
218 218
 				this.tableData = []
@@ -261,7 +261,7 @@
261 261
 					driverPhone: '',
262 262
 					sumWeight: 0,
263 263
 					sumCount: 0,
264
-					suttle: '',
264
+					suttle: 0,
265 265
 					listDetail: []
266 266
 				}
267 267
 				this.tableData = []

+ 877
- 267
src/view/customer/storequery.vue
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 16
- 2
src/view/ware/storechange.vue ファイルの表示

@@ -148,12 +148,18 @@
148 148
 		<popup-in ref="PopupIn" @receviceFromChild="receviceFromIn" :wares="options" :wareId="query.wareId" :stack="moveFromStack"></popup-in>
149 149
 		<el-dialog title="货权转移" :visible.sync="customerDialogVisible" width="500px">
150 150
 			<el-form>
151
-				<el-form-item label="旧货主">
151
+				<!-- <el-form-item label="旧货主">
152 152
 					<el-input v-model="oldCustomer">
153 153
 					</el-input>
154
+				</el-form-item> -->
155
+				<el-form-item label="新客户">
156
+					<el-select v-model="newCustomer.name" filterable placeholder="请选择客户名称" clearable>
157
+						<el-option v-for="item in optionsCust" :key="item.id" :label="item.name" :value="item.id" >
158
+						</el-option>
159
+					</el-select>
154 160
 				</el-form-item>
155 161
 				<el-form-item label="新货主">
156
-					<el-select v-model="newCustomer.name" filterable placeholder="请选择订单客户" clearable>
162
+					<el-select v-model="newfkCustomer.name" filterable placeholder="请选择货权单位" clearable>
157 163
 						<el-option v-for="item in optionsCust" :key="item.id" :label="item.name" :value="item.id" >
158 164
 						</el-option>
159 165
 					</el-select>
@@ -338,6 +344,10 @@
338 344
 					id: '',
339 345
 					name: ''
340 346
 				},
347
+				newfkCustomer: {
348
+					id: '',
349
+					name: ''
350
+				},
341 351
 				newAddress: '',
342 352
 
343 353
 				currentPage: 1,
@@ -640,6 +650,8 @@
640 650
 					//this.newAddress = this.multipleSelection[0].receiveAddress
641 651
 					this.newCustomer.name = "",
642 652
 					this.newCustomer.id = "",
653
+					this.newfkCustomer.name="",
654
+					this.newfkCustomer.id = "",
643 655
 					this.customerDialogVisible = true
644 656
 					
645 657
 				} else {
@@ -652,11 +664,13 @@
652 664
 
653 665
 			handleCustomerSave() {
654 666
 				this.newCustomer.id = this.newCustomer.name;
667
+				this.newfkCustomer.id = this.newfkCustomer.name;
655 668
 				var url = 'WareChange/changeCustomer.do'
656 669
 				var param = {
657 670
 
658 671
 					json: JSON.stringify(this.multipleSelection),
659 672
 					customer: JSON.stringify(this.newCustomer),
673
+					fkcustomer: JSON.stringify(this.newfkCustomer),
660 674
 					address: this.newAddress
661 675
 				}
662 676
 				axios.post(url, param).then(response => {

読み込み中…
キャンセル
保存