From 75e19f1d649e971e3422d3a3171592be4bfbe14e Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期四, 15 八月 2024 16:21:33 +0800
Subject: [PATCH] ·
---
HTML/views/BaseSetting/MaterialsForm.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/HTML/views/BaseSetting/MaterialsForm.html b/HTML/views/BaseSetting/MaterialsForm.html
index e73933f..a2ee30a 100644
--- a/HTML/views/BaseSetting/MaterialsForm.html
+++ b/HTML/views/BaseSetting/MaterialsForm.html
@@ -279,7 +279,7 @@
var sel1 = false;
//鑾峰彇鍗曚綅涓嬫媺鑿滃崟 UnitNo
synData(IP + "/Basis/GetUnitList", {}, 'get', function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
for (var i = 0; i < res.data.length; i++) {
$("#UnitNo").append('<option value =' + res.data[i].UnitNo + '>' + res.data[i].UnitName + '</option>');
@@ -299,7 +299,7 @@
var sel2 = false;
//鑾峰彇鍖呰涓嬫媺鑿滃崟 PackagNo
synData(IP + "/Basis/GetPackagList", {}, 'get', function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
for (var i = 0; i < res.data.length; i++) {
$("#PackagNo").append('<option value =' + res.data[i].PackagNo + '>' + res.data[i].PackagName + '</option>');
@@ -328,7 +328,7 @@
UserId: id,
};
synData(IP + "/Basis/GetMateById?Id= " + getQueryString('id') + "", {}, 'get', function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
// console.log(res.data.CategoryNo)
//瀹℃壒鐘舵�佺紪杈戞樉绀�
--
Gitblit v1.8.0