From 444214bed0430e7048f4770f3c3e919d437628d9 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Wed, 6 Mar 2024 17:37:30 +0800 Subject: [PATCH] =?UTF-8?q?wms=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/outorder/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/wms/outorder/index.vue b/src/views/wms/outorder/index.vue index 6da8610..68eff00 100644 --- a/src/views/wms/outorder/index.vue +++ b/src/views/wms/outorder/index.vue @@ -586,12 +586,19 @@ export default { } var bull = _this.selectedRows.some((item) => { // console.log(item.stationNo == undefined || item.stationNo == '',item.stationNo) - return item.stationNo == undefined || item.stationNo == '' + return item.productionLineCode == undefined || item.productionLineCode == '' }) + if (bull) { _this.$modal.msgError("请选择包装线"); return } + + _this.selectedRows.forEach(function(row) { + // 在这里处理每个元素 + row.stationNo = row.productionLineCode; + console.log(row); + }); if (this.form.ID != null) { // updateOutorder(this.form).then(response => { // this.$modal.msgSuccess("修改成功");