From ccfbcdf2a2ee13a7575bb7bbd0cbf5311df2827b Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 09 九月 2025 19:00:22 +0800
Subject: [PATCH] no message
---
construction-data/src/components/datav/index.vue | 33 ++++++++++++++++++++-------------
1 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/construction-data/src/components/datav/index.vue b/construction-data/src/components/datav/index.vue
index d3f5433..e617d85 100644
--- a/construction-data/src/components/datav/index.vue
+++ b/construction-data/src/components/datav/index.vue
@@ -63,7 +63,7 @@
<span>閫夋嫨鐩爣鍙戣揣鍖�</span>
<el-divider/>
<el-row :gutter="15">
- <el-col v-for="(palt, index) in platforms" :key="index" :span="7" @click.native="bindShipping(palt, scope)">
+ <el-col v-for="(palt, index) in platforms" :key="index" :span="7" @click.native="bindShipping(palt)">
<div class="platform" >{{palt.platformNo}}</div>
</el-col>
</el-row>
@@ -83,7 +83,7 @@
<!-- </el-col>-->
<!-- </el-row>-->
<div class="pick-wall-box">
- <el-col :span="6" v-for="(item, index) in seedBracket" :key="index" @click.native="lightClick(item)">
+ <el-col :span="6" v-for="(item, index) in seedBracket" :key="index" >
<div class="seed-bracket" :style="getLightStatus(item)" />
</el-col>
</div>
@@ -103,7 +103,7 @@
<el-row>
<el-col class="header-title">澶嶆牳褰撳墠浣滀笟涓暟閲�</el-col>
<el-col style="text-align: center">
- <el-col :span="10" class="content">鎬婚渶姹傛暟閲忥細</el-col>
+ <el-col :span="10" class="content">闇�姹傛暟閲忥細</el-col>
<el-col :span="8" class="content-value">{{ selected.anfme }}</el-col>
</el-col>
<el-col>
@@ -117,7 +117,7 @@
<el-col>
<div class="header-title">鎷h揣鏁伴噺锛�</div>
<dv-border-box-10 class="box">
- <el-input type="text" v-model="workQty"></el-input>
+ <el-input type="text" v-model="selected.revQty" disabled></el-input>
</dv-border-box-10>
</el-col>
</el-row>
@@ -203,6 +203,9 @@
return 'background: gainsboro;'
}
}
+ },
+ getWorkQty() {
+ return this.selected.anfme - this.selected.workQty
}
},
methods: {
@@ -241,9 +244,9 @@
this.slapLight(item)
},
//璁㈠崟鍏ュ簱闆嗚揣鍖�,骞舵墦鍗板崟鎹�
- bindShipping(plat, item) {
+ bindShipping(plat) {
this.visible = false
- let order = item.row
+ let order = this.selectOrder
if (order == null) {
this.$message.error("褰撳墠璁㈠崟淇℃伅涓嶅瓨鍦紝璇疯仈绯荤鐞嗗憳锛侊紒")
return
@@ -252,7 +255,7 @@
// eslint-disable-next-line no-undef
$ajax.post('/api/bind/shipping/platform', {orderId: order.id, waveId: order.waveId, platformId: plat.id}).then(response => {
if (response.code === 200) {
- that.fetch()
+ that.refreshData()
//闅愯棌鍙戣揣鍖�,鎵ц鎵撳嵃
} else {
this.$message.error(response.msg)
@@ -329,7 +332,7 @@
for (let i = 0; i < this.mergeTaskDetl.length; i++) {
if (this.mergeTaskDetl[i].matnr === this.selected.matnr && this.workQty > this.mergeTaskDetl[i].anfme) {
this.$message({
- message: '鎷h揣鏁伴噺涓嶈兘澶т簬浠诲姟鏁伴噺锛侊紒',
+ message: '鎷h揣鏁伴噺搴旂瓑浜庝换鍔℃暟閲忥紒锛�',
type: 'error'
})
return
@@ -338,7 +341,7 @@
//闅愯棌寮规
this.show = false
// eslint-disable-next-line no-undef
- $ajax.post('wave/sow/review', { waveSeedId: this.selected.id, reviewNum: this.workQty }).then(response => {
+ $ajax.post('wave/sow/review', { waveSeedId: this.selected.id, reviewNum: this.selected.revQty }).then(response => {
if (response.code === 200) {
this.getWaves()
} else {
@@ -406,7 +409,7 @@
getTaskDetl (data) {
let that = this
// eslint-disable-next-line no-undef
- $ajax.post('wave/task/detl/qutify/', { taskNo: data.taskNo, matnr: data.matnr }).then(response => {
+ $ajax.post('wave/task/detl/qutify/', { taskNo: data.taskNo, matnr: data.matnr, waveNo: data.waveNo }).then(response => {
if (response.code === 200) {
that.taskDetls = []
// this.show = false
@@ -441,7 +444,7 @@
.pick-order-detl {
padding: 0 15px;
.detl-box-border {
- height: 55vh;
+ height: 45vh;
.detl-box-padding {
height: 65px
}
@@ -559,6 +562,8 @@
width: 74vh;
padding-top: 65px;
height: 275px;
+ overflow: hidden;
+ overflow-y: auto;
.popover-order {
width: 300px;
@@ -589,7 +594,7 @@
.order-detl-list {
overflow: hidden;
overflow-y: scroll;
- height: 43vh;
+ height: 38vh;
padding: 0 15px;
}
@@ -644,7 +649,7 @@
}
.table-matnr {
- height: 26vh;
+ height: 16vh;
}
.el-table {
@@ -751,6 +756,8 @@
width: 74vh;
padding-top: 65px;
height: 275px;
+ overflow: hidden;
+ overflow-y: auto;
.btnPrint {
font-size: 9px;
--
Gitblit v1.9.1