添加缓冲

This commit is contained in:
gongxh
2021-05-31 09:46:22 +08:00
parent aeab40cb22
commit 8d76e37b42
4 changed files with 1284 additions and 921 deletions

View File

@@ -37,7 +37,6 @@ namespace NX.ERP.U8.Store
var bodyXml = domBody.createElement("z:row"); var bodyXml = domBody.createElement("z:row");
bodyXml.setAttribute("cinvcode", item.InvCode); bodyXml.setAttribute("cinvcode", item.InvCode);
bodyXml.setAttribute("cbposcode", item.SoucePositon); bodyXml.setAttribute("cbposcode", item.SoucePositon);
bodyXml.setAttribute("caposcode", item.DestPostion); bodyXml.setAttribute("caposcode", item.DestPostion);
bodyXml.setAttribute("iquantity", item.Qty); bodyXml.setAttribute("iquantity", item.Qty);
domBody.selectSingleNode("//rs:data").appendChild(bodyXml); domBody.selectSingleNode("//rs:data").appendChild(bodyXml);

View File

@@ -132,7 +132,7 @@ namespace NX.ERP.U8.Store
if (string.IsNullOrEmpty(strTemlateHead)) if (string.IsNullOrEmpty(strTemlateHead))
{ {
this.LoadTemplate(); this.LoadTemplate();
strTemlateHead = GetHeadTemplate(); strTemlateHead = FileHelp.ReadFile(HeadFile);
} }
} }
@@ -164,7 +164,7 @@ namespace NX.ERP.U8.Store
if (string.IsNullOrEmpty(strTemlateBody)) if (string.IsNullOrEmpty(strTemlateBody))
{ {
this.LoadTemplate(); this.LoadTemplate();
strTemlateBody = GetHeadTemplate(); strTemlateBody = FileHelp.ReadFile(BodyFile);
} }
} }
} }
@@ -446,11 +446,10 @@ namespace NX.ERP.U8.Store
private void LoadTemplate() private void LoadTemplate()
{ {
STVoucherParameter rdVoucherParameter = null;
try try
{ {
rdVoucherParameter = new STVoucherParameter STVoucherParameter rdVoucherParameter = new STVoucherParameter
{ {
VoucherType = this.VoucherID, VoucherType = this.VoucherID,
IsGetBlank = true IsGetBlank = true

File diff suppressed because it is too large Load Diff

View File

@@ -9,28 +9,28 @@
}, },
"dependencies": { "dependencies": {
"axios": "^0.21.1", "axios": "^0.21.1",
"core-js": "^3.6.5", "core-js": "^3.13.0",
"dateformat": "^4.5.1", "dateformat": "^4.5.1",
"echarts": "^5.0.2", "echarts": "^5.1.1",
"element-resize-detector": "^1.2.2", "element-resize-detector": "^1.2.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"resize-detector": "^0.3.0", "resize-detector": "^0.3.0",
"view-design": "^4.5.0", "view-design": "^4.5.0",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-clipboard2": "^0.3.1", "vue-clipboard2": "^0.3.1",
"vue-echarts": "^6.0.0-rc.3", "vue-echarts": "^6.0.0-rc.5",
"vue-router": "^3.5.1", "vue-router": "^3.5.1",
"xlsx": "^0.16.9" "xlsx": "^0.16.9"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-babel": "^4.5.13",
"@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-eslint": "^4.5.13",
"@vue/cli-service": "~4.5.0", "@vue/cli-service": "^4.5.13",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"eslint": "^6.7.2", "eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2", "eslint-plugin-vue": "^6.2.2",
"less": "^4.1.1", "less": "^4.1.1",
"less-loader": "^8.0.0", "less-loader": "^8.1.1",
"vue-template-compiler": "^2.6.11" "vue-template-compiler": "^2.6.11"
}, },
"eslintConfig": { "eslintConfig": {