Selaa lähdekoodia

库存界面批量修改

wangchenchen 1 kuukausi sitten
vanhempi
commit
8909c21394
1 muutettua tiedostoa jossa 43 lisäystä ja 7 poistoa
  1. 43
    7
      src/view/ware/storechange.vue

+ 43
- 7
src/view/ware/storechange.vue Näytä tiedosto

@@ -67,7 +67,7 @@
67 67
 							<el-button type="danger" size="small"> 其他操作<i class="el-icon-arrow-down el-icon--right"></i></el-button>
68 68
 							<el-dropdown-menu slot="dropdown">
69 69
 								<el-dropdown-item command="handleInBack" style="background-color: #f5f5f5;">取消入库</el-dropdown-item>
70
-								<el-dropdown-item command="handleChangeCustomer" style="background-color: #f5f5f5;">修改客户</el-dropdown-item>
70
+								<el-dropdown-item command="handleChangeCustomer" style="background-color: #f5f5f5;">批量修改</el-dropdown-item>
71 71
 							</el-dropdown-menu>
72 72
 						</el-dropdown>
73 73
 						
@@ -194,7 +194,7 @@
194 194
 			</el-form>
195 195
 		</el-dialog>
196 196
 
197
-		<el-dialog title="修改客户信息" :visible.sync="changeCUSTDialogVisible" width="500px">
197
+		<el-dialog title="批量修改信息明细" :visible.sync="changeCUSTDialogVisible" width="500px">
198 198
 			<el-form>
199 199
 				<el-form-item label="新客户名称" >
200 200
 					<el-select v-model="newCustomername" filterable placeholder="请选择客户名称" clearable size="small" >
@@ -203,14 +203,34 @@
203 203
 					</el-select>
204 204
 				</el-form-item>
205 205
 				<el-form-item label="新货权单位" >
206
-					<el-select v-model="newFKCustomername" filterable placeholder="请选择客户名称" clearable size="small" >
206
+					<el-select v-model="newFKCustomername" filterable placeholder="请选择货权单位" clearable size="small" >
207 207
 						<el-option v-for="item in optionsCust" :key="item.name" :label="item.name" :value="item.name" >
208 208
 						</el-option>
209 209
 					</el-select>
210 210
 				</el-form-item>
211
-				
211
+				<el-form-item label="新订单号">
212
+					<el-input v-model="newOrdno" style="width:200px;margin-left: 0px">
213
+					</el-input>
214
+				</el-form-item>
215
+				<el-form-item label="新合约号">
216
+					<el-input v-model="newContractno" style="width:200px;margin-left: 0px">
217
+					</el-input>
218
+				</el-form-item>
219
+				<el-form-item label="新收货地址">
220
+					<el-input v-model="newReceiveaddress" style="width:260px;margin-left: 0px">
221
+					</el-input>
222
+				</el-form-item>
223
+				<el-form-item label="新产地">
224
+					<el-input v-model="newProductionplace" style="width:260px;margin-left: 0px">
225
+					</el-input>
226
+				</el-form-item>
227
+				<el-form-item label="新捆包号">
228
+					<el-input v-model="newPackno" style="width:200px;margin-left: 0px">
229
+					</el-input>
230
+				</el-form-item>
231
+
212 232
 				<el-form-item label=" ">
213
-					<el-button type="success" @click="handleChangeCUSTSave">保存</el-button>
233
+					<el-button type="success" @click="handleChangeCUSTSave">确定</el-button>
214 234
 					<el-button type="danger" @click="handleChangeCUSTCancelSave">取消</el-button>
215 235
 				</el-form-item>
216 236
 			</el-form>
@@ -350,7 +370,12 @@
350 370
 				newRemark:'',
351 371
 				changeCUSTDialogVisible: false,
352 372
 				newCustomername:'',
353
-				newFKCustomername:''
373
+				newFKCustomername:'',
374
+				newContractno:'',
375
+				newOrdno:'',
376
+				newReceiveaddress:'',
377
+				newProductionplace:'',
378
+				newPackno:''
354 379
 			};
355 380
 		},
356 381
 		mounted() {
@@ -502,6 +527,11 @@
502 527
 			handleChangeCustomer(){
503 528
 				this.newCustomername = '',
504 529
 				this.newFKCustomername='',
530
+				this.newContractno='',
531
+				this.newOrdno='',
532
+				this.newReceiveaddress='',
533
+				this.newProductionplace='',
534
+				this.newPackno='',
505 535
 				this.changeCUSTDialogVisible= true
506 536
 			},
507 537
 			showOut() {
@@ -647,11 +677,17 @@
647 677
 				this.newRemark = '';
648 678
 			},
649 679
 			handleChangeCUSTSave(){
650
-				var url = 'WareStore/changeCustName.do'
680
+				var url = 'WareStore/changeAll.do'
651 681
 				var param = {
652 682
 					json: JSON.stringify(this.multipleSelection),
653 683
 					newCustomername: this.newCustomername,
654 684
 					newFKCustomername: this.newFKCustomername,
685
+					newContractno: this.newContractno,
686
+					newOrdno: this.newOrdno,
687
+					newReceiveaddress: this.newReceiveaddress,
688
+					newProductionplace: this.newProductionplace,
689
+					newPackno: this.newPackno,
690
+					
655 691
 				}
656 692
 				axios.post(url, param).then(response => {
657 693
 					if (response.data.code == 0) {

Loading…
Peruuta
Tallenna