Преглед на файлове

Merge branch '长阳分支中职' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 长阳分支中职

新疆警官学校中职
dyy преди 2 години
родител
ревизия
2a9c8f329f
променени са 3 файла, в които са добавени 13 реда и са изтрити 2 реда
  1. +6
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookBorrow/Form.js
  2. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookReturn/Form.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js

+ 6
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookBorrow/Form.js Целия файл

@@ -24,7 +24,7 @@ var bootstrap = function ($, learun) {
$.lrSetForm(top.$.rootUrl + '/EducationalAdministration/BookBorrow/GetFormData?keyValue=' + keyValue, function (data) {
for (var id in data) {
if (!!data[id].length && data[id].length > 0) {
$('#' + id ).jfGridSet('refreshdata', data[id]);
$('#' + id).jfGridSet('refreshdata', data[id]);
}
else {
$('[data-table="' + id + '"]').lrSetFormData(data[id]);
@@ -39,6 +39,11 @@ var bootstrap = function ($, learun) {
if (!$('body').lrValidform()) {
return false;
}
var Amount = $('#Amount').val();
if (Amount <= 0 || Math.floor(Amount) !== Amount) {
learun.alert.warning('数量请输入大于0的整数!');
return false;
}
var postData = {
strEntity: JSON.stringify($('body').lrGetFormData())
};


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookReturn/Form.js Целия файл

@@ -39,6 +39,12 @@ var bootstrap = function ($, learun) {
if (!$('body').lrValidform()) {
return false;
}

var Amount = $('#Amount').val();
if (Amount <= 0 || Math.floor(Amount) !== Amount) {
learun.alert.warning('数量请输入大于0的整数!');
return false;
}
var postData = {
strEntity: JSON.stringify($('body').lrGetFormData())
};


+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js Целия файл

@@ -22,7 +22,7 @@ export default {
// ],
"apiHost": [
// "http://cyzjzx.gnway.cc:31218/"//测试地址接口
// "http://api.cyzjzx.com/"//正式地址接口
// "http://219.139.155.38:8687/"//正式地址接口
"http://192.168.10.175:8088/"
],
// "webHost":"http://cyzjzx.gnway.cc:30549/",//测试地址


Зареждане…
Отказ
Запис