From fee38f39e36bcda9924f5b26dca609dda6b331e0 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期日, 22 六月 2025 16:53:27 +0800 Subject: [PATCH] no message --- construction-data/src/components/datav/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/construction-data/src/components/datav/index.vue b/construction-data/src/components/datav/index.vue index d3f5433..c0ab932 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> @@ -241,9 +241,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 +252,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) -- Gitblit v1.9.1