Commit 715404bc by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 7c603b2e cea5d51c
...@@ -4995,10 +4995,6 @@ const CodeTable = { ...@@ -4995,10 +4995,6 @@ const CodeTable = {
{ label: "Reverse Booking (Document Set)", value: "N" }, { label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" }, { label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
], ],
rebkpflg1: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
refper: [ refper: [
{ label: "Same Week", value: "W=" }, { label: "Same Week", value: "W=" },
{ label: "Same Half-Year", value: "H=" }, { label: "Same Half-Year", value: "H=" },
......
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
"ledgrp.cbs.opn1.amt": [ "ledgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"betp.recget.sdamod.dadsnd": [ "betp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
"dedgrp.cbs.opn1.amt": [ "dedgrp.cbs.opn1.amt": [
{ required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"bftp0.recget.sdamod.dadsnd": [ "bftp0.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
...@@ -713,17 +713,17 @@ export default { ...@@ -713,17 +713,17 @@ export default {
type: "error", type: "error",
}); });
} else { } else {
let selIds; let chkIds;
if (selection.length === 0) { if (selection.length === 0) {
selIds = [] chkIds = []
this.model.liaall.tensetstm.rows = [] // this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = [] // this.model.liaall.tenstm.rows = []
} else { } else {
selIds = [selection[0] + 1] chkIds = [selection[0] + 1]
} }
// //
console.log(this.model.liaall.tensetstm); console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds }; let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params); const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
......
...@@ -761,17 +761,17 @@ export default { ...@@ -761,17 +761,17 @@ export default {
type: "error", type: "error",
}); });
} else { } else {
let selIds; let chkIds;
if (selection.length === 0) { if (selection.length === 0) {
selIds = [] chkIds = []
this.model.liaall.tensetstm.rows = [] // this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = [] // this.model.liaall.tenstm.rows = []
} else { } else {
selIds = [selection[0] + 1] chkIds = [selection[0] + 1]
} }
// //
console.log(this.model.liaall.tensetstm); console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds }; let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params); const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
......
...@@ -361,9 +361,10 @@ ...@@ -361,9 +361,10 @@
v-model="model.rebkpflg" v-model="model.rebkpflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Booking Procedure" placeholder="请选择Booking Procedure"
@change="executeDefault('rebkpflg')"
> >
<el-option <el-option
v-for="item in codes.rebkpflg1" v-for="item in codes.rebkpflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
......
...@@ -332,6 +332,9 @@ ...@@ -332,6 +332,9 @@
<c-input <c-input
v-model="model.setmod.docamt" v-model="model.setmod.docamt"
placeholder="请输入付款金额" placeholder="请输入付款金额"
@change="eventFunction(
'setmod.docamt'
)"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -354,6 +357,9 @@ ...@@ -354,6 +357,9 @@
v-model="model.setmod.setamt" v-model="model.setmod.setamt"
placeholder="请输入扣费后付款金额" placeholder="请输入扣费后付款金额"
disabled disabled
@change="eventFunction(
'setmod.setamt'
)"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -376,6 +382,9 @@ ...@@ -376,6 +382,9 @@
v-model="model.aamset.utlamt" v-model="model.aamset.utlamt"
placeholder="请输入单据金额" placeholder="请输入单据金额"
disabled disabled
@change="eventFunction(
'aamset.utlamt'
)"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -908,17 +917,17 @@ export default { ...@@ -908,17 +917,17 @@ export default {
type: "error", type: "error",
}); });
} else { } else {
let selIds; let chkIds;
if (selection.length === 0) { if (selection.length === 0) {
selIds = [] chkIds = []
this.model.liaall.tensetstm.rows = [] // this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = [] // this.model.liaall.tenstm.rows = []
} else { } else {
selIds = [selection[0] + 1] chkIds = [selection[0] + 1]
} }
// //
console.log(this.model.liaall.tensetstm); console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds }; let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params); const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
......
Markdown is supported
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