From 4cb4e41df7c2cc7954e09ef3751ecb24de7c06d2 Mon Sep 17 00:00:00 2001 From: hdy <1105738590@qq.com> Date: 星期五, 14 三月 2025 13:28:25 +0800 Subject: [PATCH] 修改 --- billion-ui/src/views/main/om/info/index.vue | 33 ++++++++++++++++++++++++--------- 1 files changed, 24 insertions(+), 9 deletions(-) diff --git a/billion-ui/src/views/main/om/info/index.vue b/billion-ui/src/views/main/om/info/index.vue index d4b3e36..ff5ab08 100644 --- a/billion-ui/src/views/main/om/info/index.vue +++ b/billion-ui/src/views/main/om/info/index.vue @@ -125,17 +125,17 @@ <el-table-column label="棰勮涓婄嚎鏁伴噺" align="center" prop="preQty" /> <el-table-column label="缂镐綋宸ュ崟鐘舵��" align="center" prop="bodyStatus" > <template slot-scope="scope"> - <dict-tag :options="dict.type.status" :value="scope.row.bodyStatus"/> + <dict-tag :options="dict.type.order_status" :value="scope.row.bodyStatus"/> </template> </el-table-column> <el-table-column label="缂哥洊宸ュ崟鐘舵��" align="center" prop="headStatus" > <template slot-scope="scope"> - <dict-tag :options="dict.type.status" :value="scope.row.headStatus"/> + <dict-tag :options="dict.type.order_status" :value="scope.row.headStatus"/> </template> </el-table-column> <el-table-column label="棰勮宸ュ崟鐘舵��" align="center" prop="preStatus" > <template slot-scope="scope"> - <dict-tag :options="dict.type.status" :value="scope.row.preStatus"/> + <dict-tag :options="dict.type.order_status" :value="scope.row.preStatus"/> </template> </el-table-column> <el-table-column label="澶囨敞" width="180px" show-overflow-tooltip align="center" prop="remarks" /> @@ -456,13 +456,18 @@ getInfo(id).then(response => { this.form = response.data; if(this.form.bodyStatus === "1"){ - this.form.bodyStatus = "3"; + this.form.bodyStatus = "5"; updateInfo(this.form).then(response => { this.$modal.msgSuccess("鏆傚仠鎴愬姛"); this.getList();}); }else if(this.form.bodyStatus === "2"){ this.$message('璁㈠崟宸插畬鎴愮姝慨鏀�'); - }else if(this.form.bodyStatus === "3"){ + }else if(this.form.bodyStatus === "3") { + this.$message('璁㈠崟鍏抽棴绂佹淇敼'); + }else if(this.form.bodyStatus === "4") { + this.$message('璁㈠崟宸插叏閮ㄤ笂绾垮畬鎴愮姝慨鏀�'); + } + else if(this.form.bodyStatus === "5") { this.form.bodyStatus = "1"; updateInfo(this.form).then(response => { this.$modal.msgSuccess("閲嶅惎鎴愬姛"); @@ -479,13 +484,18 @@ getInfo(id).then(response => { this.form = response.data; if(this.form.headStatus === "1"){ - this.form.headStatus = "3"; + this.form.headStatus = "5"; updateInfo(this.form).then(response => { this.$modal.msgSuccess("鏆傚仠鎴愬姛"); this.getList();}); }else if(this.form.headStatus === "2"){ this.$message('璁㈠崟宸插畬鎴愮姝慨鏀�'); - }else if(this.form.headStatus === "3"){ + }else if(this.form.headStatus === "3") { + this.$message('璁㈠崟鍏抽棴绂佹淇敼'); + }else if(this.form.headStatus === "4") { + this.$message('璁㈠崟宸插叏閮ㄤ笂绾垮畬鎴愮姝慨鏀�'); + } + else if(this.form.headStatus === "5") { this.form.headStatus = "1"; updateInfo(this.form).then(response => { this.$modal.msgSuccess("閲嶅惎鎴愬姛"); @@ -502,13 +512,18 @@ getInfo(id).then(response => { this.form = response.data; if(this.form.preStatus === "1"){ - this.form.preStatus = "3"; + this.form.preStatus = "5"; updateInfo(this.form).then(response => { this.$modal.msgSuccess("鏆傚仠鎴愬姛"); this.getList();}); }else if(this.form.preStatus === "2"){ this.$message('璁㈠崟宸插畬鎴愮姝慨鏀�'); - }else if(this.form.preStatus === "3"){ + }else if(this.form.preStatus === "3") { + this.$message('璁㈠崟鍏抽棴绂佹淇敼'); + }else if(this.form.preStatus === "4") { + this.$message('璁㈠崟宸插叏閮ㄤ笂绾垮畬鎴愮姝慨鏀�'); + } + else if(this.form.preStatus === "5") { this.form.preStatus = "1"; updateInfo(this.form).then(response => { this.$modal.msgSuccess("閲嶅惎鎴愬姛"); -- Gitblit v1.9.3