Commit e4c8aa03 authored by 季圣华's avatar 季圣华
Browse files

更新单据的编号的构造方式

parent 435a6f90
......@@ -582,7 +582,7 @@
}
},
{ title: organNameTitle, field: 'organName',width:120, hidden:isShowOrganNameColumn},
{ title: '单据编号',field: 'number',width:145},
{ title: '单据编号',field: 'number',width:125},
{ title: '商品信息',field: 'materialsList',width:180,formatter:function(value){
if(value) {
return value.replace(",",",");
......@@ -1544,8 +1544,7 @@
if(res && res.code === 200){
var obj = res.data;
var defaultNumber = obj.DefaultNumber;
var thisDateTwo = getNowFormatDateTwo(); //当前日期
var newNumber = amountNum + thisDateTwo + defaultNumber
var newNumber = amountNum + defaultNumber
$("#Number").val(newNumber).attr("data-defaultNumber",newNumber);
}
},
......
......@@ -65,7 +65,7 @@ public class BusinessConstants {
* sequence名称
* */
//sequence返回字符串的最小长度
public static final Long SEQ_TO_STRING_MIN_LENGTH = 1000000L;
public static final Long SEQ_TO_STRING_MIN_LENGTH = 100000000L;
//sequence长度小于基准长度时前追加基础值
public static final String SEQ_TO_STRING_LESS_INSERT = "0";
//单据编号
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment