Procházet zdrojové kódy

入库出库合约号数量统计

LiuCheng před 2 měsíci
rodič
revize
244a7b64a8

+ 1
- 1
config/dev.env.js Zobrazit soubor

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

+ 1
- 1
src/components/PopupDistribution.vue Zobrazit soubor

@@ -270,7 +270,7 @@
270 270
 				axios.post(url, param).then(response => {
271 271
 					if (response.data.code == 0) {
272 272
 
273
-						this.dialogVisible = false
273
+					//	this.dialogVisible = false   //modify by liuc 2025/04/16  10:14
274 274
 						this.selectRows    = []
275 275
 					} else {
276 276
 						this.$message({

+ 2
- 0
src/view/record/inrecord.vue Zobrazit soubor

@@ -90,6 +90,8 @@
90 90
 				</el-table-column>
91 91
 				<el-table-column prop="ordNo" label="订单号" width="180px" show-overflow-tooltip align="left">
92 92
 				</el-table-column>
93
+				<el-table-column prop="contractNo" label="合约号" width="180px" show-overflow-tooltip align="left">
94
+				</el-table-column>
93 95
 				<el-table-column prop="model" label="规格" show-overflow-tooltip width="180px" align="center">
94 96
 				</el-table-column>
95 97
 				<el-table-column prop="standard" label="材质" show-overflow-tooltip width="80px" align="center">

+ 2
- 0
src/view/record/outrecord.vue Zobrazit soubor

@@ -96,6 +96,8 @@
96 96
 				</el-table-column>
97 97
 				<el-table-column prop="ordNo" label="订单号" width="180px" show-overflow-tooltip align="left">
98 98
 				</el-table-column>
99
+				<el-table-column prop="contractNo" label="合约号" width="180px" show-overflow-tooltip align="left">
100
+				</el-table-column>
99 101
 				<el-table-column prop="inUser" label="入库人" width="100px" show-overflow-tooltip align="left">
100 102
 				</el-table-column>
101 103
 				<el-table-column prop="inCarNo" label="入库车号" width="120px" show-overflow-tooltip align="left">

+ 1
- 1
src/view/ware/store.vue Zobrazit soubor

@@ -32,7 +32,7 @@
32 32
 			<el-col :span="showStoreLayerSpanA">
33 33
 				<div id="wareLayout" style=" margin:10px;width:700px; height: 550px;background-color: #DCDCDC;  float:left;"></div>
34 34
 				<el-table :data="tableData" v-loading="tableDataLoading" border ref="multipleTable" @select="handleTableSelect"
35
-				 :row-class-name="tableRowClassName" @select-all = "selectAll">
35
+				 :row-class-name="tableRowClassName" @select-all = "selectAll" height="400px">
36 36
 					<!-- //@selection-change="handleTableSelectionChange" -->
37 37
 					<el-table-column type="selection" width="40" header-align="center" align="center"></el-table-column>
38 38
 					<el-table-column prop="layer" label="层数" width="60" show-overflow-tooltip header-align="center" align="center">

+ 21
- 3
src/view/ware/storechange.vue Zobrazit soubor

@@ -32,15 +32,15 @@
32 32
 							<el-button slot="append" icon="el-icon-search" @click="showCustomer"></el-button>
33 33
 						</el-input>
34 34
 					</el-form-item>
35
-					<el-form-item label="规格型号" style="margin-left: -15px">
35
+					<el-form-item label="规格型号" style="margin-left: -35px">
36 36
 						<el-input v-model="query.model" size="small" style="width:120px;margin-left: -8px">
37 37
 						</el-input>
38 38
 					</el-form-item>
39
-					<el-form-item label="钢板号" style="margin-left: -15px">
39
+					<el-form-item label="钢板号" style="margin-left: -35px">
40 40
 						<el-input v-model="query.plateNo" size="small" style="width:120px;margin-left: -8px">
41 41
 						</el-input>
42 42
 					</el-form-item>
43
-					<el-form-item label="订单号" style="margin-left: -15px">
43
+					<el-form-item label="订单号" style="margin-left: -35px">
44 44
 						<el-input v-model="query.ordNo" size="small" style="width:120px;margin-left: -8px">
45 45
 						</el-input>
46 46
 					</el-form-item>
@@ -59,6 +59,14 @@
59 59
             			<el-button type="success" size="small"  @click="handleExport" >导出记录</el-button>
60 60
             			<el-button type="primary" size="small"  @click="showOut">出库</el-button>
61 61
             			<el-button type="danger"  size="small"  @click="handleInBack" :disabled="backAble">取消入库</el-button>
62
+						<el-form-item label="数量" style="margin-left: -15px">
63
+						    <el-input v-model="sumCount" size="small" style="width:120px;margin-left: -8px">
64
+						    </el-input>
65
+					    </el-form-item>
66
+					    <el-form-item label="重量" style="margin-left: -15px">
67
+						    <el-input v-model="sumWeight" size="small" style="width:120px;margin-left: -8px">
68
+						    </el-input>
69
+					    </el-form-item>
62 70
 					</el-form-item>
63 71
 						<!-- <el-button type="primary" @click="showOut">出库</el-button> -->
64 72
 					<!-- 	<el-form-item label=" ">
@@ -257,6 +265,8 @@
257 265
 				fileTemp: [],
258 266
 				imTableData: [],
259 267
 				moveStore: {},
268
+				sumCount:'',
269
+				sumWeight:'',
260 270
 			};
261 271
 		},
262 272
 		mounted() {
@@ -317,6 +327,7 @@
317 327
 				window.open(this.serverName.substr(0, this.serverName.lastIndexOf('/', this.serverName.lastIndexOf('/') - 1)) +
318 328
 					'/import.xls')
319 329
 			},
330
+			
320 331
 			showIn() {
321 332
 				// if (this.query.wareId == '') {
322 333
 				// 	this.$message({
@@ -432,6 +443,13 @@
432 443
 			},
433 444
 			handleSelectionChange(val) {
434 445
 				this.multipleSelection = val;
446
+				this.sumCount =0;
447
+				this.sumWeight=0;
448
+				for (var i = 0; i < this.multipleSelection.length; i++){
449
+					this.sumCount = parseInt(this.multipleSelection[i].count)+parseInt(this.sumCount);
450
+					this.sumWeight = parseFloat(this.multipleSelection[i].weight)+parseFloat(this.sumWeight);
451
+				}
452
+				this.sumWeight = this.sumWeight.toFixed(3);
435 453
 			},
436 454
 			showChangeCustomer() {
437 455
 				if (this.multipleSelection.length < 1) {

Loading…
Zrušit
Uložit