diff --git a/docs/数据库更新记录-方便升级.txt b/docs/数据库更新记录-方便升级.txt
index d18e4922..98243975 100644
--- a/docs/数据库更新记录-方便升级.txt
+++ b/docs/数据库更新记录-方便升级.txt
@@ -956,7 +956,7 @@ alter table jsh_material change OtherField3 other_field3 varchar(50) DEFAULT NUL
alter table jsh_material change enableSerialNumber enable_serial_number varchar(1) DEFAULT '0' COMMENT '是否开启序列号,0否,1是';
alter table jsh_material change delete_Flag delete_flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
-alter table jsh_depot_head rename to jsh_depot_head;
+alter table jsh_depothead rename to jsh_depot_head;
alter table jsh_depot_head change Id id bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键';
alter table jsh_depot_head change Type type varchar(50) DEFAULT NULL COMMENT '类型(出库/入库)';
alter table jsh_depot_head change SubType sub_type varchar(50) DEFAULT NULL COMMENT '出入库分类';
@@ -986,7 +986,7 @@ alter table jsh_depot_head change Status status varchar(1) DEFAULT NULL COMMENT
alter table jsh_depot_head change LinkNumber link_number varchar(50) DEFAULT NULL COMMENT '关联订单号';
alter table jsh_depot_head change delete_Flag delete_flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
-alter table jsh_depot_item rename to jsh_depot_item;
+alter table jsh_depotitem rename to jsh_depot_item;
alter table jsh_depot_item change Id id bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键';
alter table jsh_depot_item change HeaderId header_id bigint(20) NOT NULL COMMENT '表头Id';
alter table jsh_depot_item change MaterialId material_id bigint(20) NOT NULL COMMENT '商品Id';
diff --git a/erp_web/js/pages/materials/in_out.js b/erp_web/js/pages/materials/in_out.js
index 92a61ff1..f29d1871 100644
--- a/erp_web/js/pages/materials/in_out.js
+++ b/erp_web/js/pages/materials/in_out.js
@@ -434,10 +434,10 @@
{ title: '操作',field: 'op',align:"center",width:opWidth,
formatter:function(value,rec,index) {
var str = '';
- var orgId = rec.organid? rec.organid:0;
+ var orgId = rec.organId? rec.organId:0;
str += '
';
str += '
';
- str += '
';
+ str += '
';
if(isShowSkip) {
str += '
';
}
@@ -1116,8 +1116,8 @@
url: "/supplier/updateAdvanceIn",
dataType: "json",
data: {
- supplierId: row[i].organid, //会员id
- advanceIn: row[i].totalprice //删除时同时返还用户的预付款
+ supplierId: row[i].organId, //会员id
+ advanceIn: row[i].totalPrice //删除时同时返还用户的预付款
},
success: function (res) {
if (res && res.code === 200) {
@@ -1253,12 +1253,12 @@
var res = sessionStorage.getItem("rowInfo");
if(pageType == "skip" && res) { //从订单跳转过来
res = JSON.parse(res);
- $('#OrganId').combobox('setValue', res.organid);
+ $('#OrganId').combobox('setValue', res.organId);
$("#LinkNumber").val(res.number); //关联订单号
- $("#DiscountLastMoney").val(res.totalprice); //优惠后金额
- $("#ChangeAmount").val(res.totalprice).attr("data-changeamount", res.totalprice);
+ $("#DiscountLastMoney").val(res.totalPrice); //优惠后金额
+ $("#ChangeAmount").val(res.totalPrice).attr("data-changeamount", res.totalPrice);
depotHeadID = res.id;
- initTableData_material("edit",res.totalprice); //商品列表
+ initTableData_material("edit",res.totalPrice); //商品列表
} else {
initTableData_material("add"); //商品列表
}