From 310068196ebd5b29a053ffd07843df261a3f9975 Mon Sep 17 00:00:00 2001
From: liuxiaoxu <1793812695@qq.com>
Date: Fri, 31 May 2024 10:31:31 +0800
Subject: [PATCH] =?UTF-8?q?[fix]=E4=BB=93=E5=BA=93=E7=AE=A1=E7=90=86:=20?=
=?UTF-8?q?=E4=BB=93=E5=BA=93=E5=85=A5=E5=BA=93=E5=8D=95=20=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=E5=A4=9A=E4=B8=AA=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E7=9A=84=20=E4=BB=93=E5=BA=93=E4=B8=8B=E6=8B=89=E6=A1=86?=
=?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=80=89=E9=A1=B9=EF=BC=8C=E5=8E=BB=E6=8E=89?=
=?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E6=89=80=E6=9C=89=20=E5=8E=BB?=
=?UTF-8?q?=E6=8E=89=E4=BF=A1=E6=81=AF=E4=BF=A1=E6=81=AF=E7=9A=84=E5=8F=AF?=
=?UTF-8?q?=E7=BC=96=E8=BE=91=E6=A8=A1=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../warehouse/storageOrder/storageMakeInDetail.html | 2 +-
.../storageOrder/storageOutOrderDetail.html | 13 +------------
.../storageOrder/storagePurchaseDetail.html | 13 +------------
.../storagePurchaseWarehouseDetail.html | 2 +-
.../storageOrder/storageRefundsExchangesDetail.html | 2 +-
5 files changed, 5 insertions(+), 27 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageMakeInDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageMakeInDetail.html
index a95ac1a8..134dd054 100644
--- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageMakeInDetail.html
+++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageMakeInDetail.html
@@ -312,7 +312,7 @@
selectElement.empty();
// 添加默认选项(如果需要)编辑时不需要添加默认选项
- selectElement.append('');
+ // selectElement.append('');
// 遍历返回的数据,添加为下拉框的选项
$.each(data, function(index, item) {
diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOutOrderDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOutOrderDetail.html
index fc6bb348..78dd2745 100644
--- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOutOrderDetail.html
+++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOutOrderDetail.html
@@ -284,21 +284,10 @@
{
title: '入库数',
field: 'storageNum',
- editable:{
- type: 'text',
- mode:'inline',
- validate: function (v) {
- if (!v) return '数量不能为空';
- if (isNaN(v)) return '数量必须是数字';
- var processBadNum = parseInt(v);
- if (processBadNum <= 0) return '数量必须是正整数';
- }
- }
},
{
title: '存放位置',
field: 'storageLocation',
- editable: true
}]
});
@@ -358,7 +347,7 @@
selectElement.empty();
// 添加默认选项(如果需要)编辑时不需要添加默认选项
- selectElement.append('');
+ // selectElement.append('');
// 遍历返回的数据,添加为下拉框的选项
$.each(data, function(index, item) {
diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseDetail.html
index 4d2e3080..87953281 100644
--- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseDetail.html
+++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseDetail.html
@@ -279,21 +279,10 @@
{
title: '入库数',
field: 'storageNum',
- editable:{
- type: 'text',
- mode:'inline',
- validate: function (v) {
- if (!v) return '数量不能为空';
- if (isNaN(v)) return '数量必须是数字';
- var processBadNum = parseInt(v);
- if (processBadNum <= 0) return '数量必须是正整数';
- }
- }
},
{
title: '存放位置',
field: 'storageLocation',
- editable: true
},
]
@@ -355,7 +344,7 @@
selectElement.empty();
// 添加默认选项(如果需要)编辑时不需要添加默认选项
- selectElement.append('');
+ // selectElement.append('');
// 遍历返回的数据,添加为下拉框的选项
$.each(data, function(index, item) {
diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseWarehouseDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseWarehouseDetail.html
index a04d814e..1e7ba046 100644
--- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseWarehouseDetail.html
+++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseWarehouseDetail.html
@@ -347,7 +347,7 @@
selectElement.empty();
// 添加默认选项(如果需要)编辑时不需要添加默认选项
- selectElement.append('');
+ // selectElement.append('');
// 遍历返回的数据,添加为下拉框的选项
$.each(data, function(index, item) {
diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageRefundsExchangesDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageRefundsExchangesDetail.html
index 2c6020d5..65433f44 100644
--- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageRefundsExchangesDetail.html
+++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageRefundsExchangesDetail.html
@@ -301,7 +301,7 @@
selectElement.empty();
// 添加默认选项(如果需要)编辑时不需要添加默认选项
- selectElement.append('');
+ // selectElement.append('');
// 遍历返回的数据,添加为下拉框的选项
$.each(data, function(index, item) {