Commit 6cad3bd1 by huxi

litame 调整格式

parent 05fc6846
......@@ -73,11 +73,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {};
......
......@@ -150,165 +150,165 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {};
},
watch: {
"model.litamep.adlcndamep.modflg": {
'model.litamep.adlcndamep.modflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == ""
this.model.litamep.adlcndamep.modflg == 'X' &&
this.model.litamep.adlcndamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
this.model.litamep.adlcndamep.usrblk = '';
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
this.model.litamep.adlcndamep.modflg == 'X' &&
this.model.litamep.adlcndamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == ""
this.model.litamep.adlcndamep.modflg == '' &&
this.model.litamep.adlcndamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == "X"
this.model.litamep.adlcndamep.modflg == '' &&
this.model.litamep.adlcndamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
this.model.litamep.adlcndamep.usrblk = '';
}
},
},
"model.litamep.adlcndamep.modmanflg": {
'model.litamep.adlcndamep.modmanflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == ""
this.model.litamep.adlcndamep.modflg == 'X' &&
this.model.litamep.adlcndamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
this.model.litamep.adlcndamep.usrblk = '';
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
this.model.litamep.adlcndamep.modflg == 'X' &&
this.model.litamep.adlcndamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == ""
this.model.litamep.adlcndamep.modflg == '' &&
this.model.litamep.adlcndamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == "X"
this.model.litamep.adlcndamep.modflg == '' &&
this.model.litamep.adlcndamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
this.model.litamep.adlcndamep.usrblk = '';
}
},
},
},
methods: {
open(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
if (val === '' && !(this.model.lidgrp.blk.adlcnd == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd = "";
this.model.lidgrp.blk.adlcnd = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modflg = "X";
this.model.litamep.adlcndamep.modflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (val == "X" && this.model.litamep.adlcndamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
} else if (val == 'X' && this.model.litamep.adlcndamep.modmanflg == 'X') {
this.$confirm('请先重置内部修改', '提示', {
confirmButtonText: '确定',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modflg = "";
this.model.litamep.adlcndamep.modflg = '';
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
if (val === '' && !(this.model.lidgrp.blk.adlcnd == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd = "";
this.model.lidgrp.blk.adlcnd = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modmanflg = "X";
this.model.litamep.adlcndamep.modmanflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
this.model.litamep.adlcndamep.modflg == 'X' &&
this.model.litamep.adlcndamep.modmanflg == 'X'
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
this.$confirm('请先重置修改以替换', '提示', {
confirmButtonText: '确定',
cancelButtonText: '',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modmanflg = "";
this.model.litamep.adlcndamep.modmanflg = '';
this.flag1 = true;
this.flag2 = false;
});
......
......@@ -87,15 +87,15 @@
</div>
</template>
<script>
import event from "../event";
import Coninfp from "~/components/business/coninfp/views";
import event from '../event';
import Coninfp from '~/components/business/coninfp/views';
export default {
components: {
"m-coninfp": Coninfp,
'm-coninfp': Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......
......@@ -426,11 +426,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {};
......
......@@ -325,11 +325,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -354,31 +354,31 @@ export default {
},
created: function () {},
watch: {
"model.lidgrp.rec.avbwth": {
'model.lidgrp.rec.avbwth': {
immediate: true,
handler(val, oldVal) {
//Any Bank
if (val == "O") {
if (val == 'O') {
this.flag4 = false;
this.changeFormItemRequired("lidgrp.avb.pts.adrblk", false);
this.changeFormItemRequired('lidgrp.avb.pts.adrblk', false);
this.flag6 = false;
} //Advising Bank
else if (val == "A") {
else if (val == 'A') {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
} //Issuing Bank
else if (val == "I") {
else if (val == 'I') {
this.flag4 = true;
this.flag5 = false;
this.flag6 = true;
} //Confirming Bank
else if (val == "C") {
else if (val == 'C') {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
} //Specified Bank
else if (val == "S") {
else if (val == 'S') {
this.flag4 = true;
this.flag5 = false;
this.flag6 = false;
......@@ -386,30 +386,30 @@ export default {
},
},
"model.lidgrp.rec.avbby": {
'model.lidgrp.rec.avbby': {
immediate: true,
handler(val, oldVal) {
if (val == "D") {
if (val == 'D') {
this.flag1 = false;
this.flag2 = true;
this.flag3 = true;
}
if (val == "N") {
if (val == 'N') {
this.flag1 = false;
this.flag2 = false;
this.flag3 = true;
}
if (val == "P") {
if (val == 'P') {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
}
if (val == "M") {
if (val == 'M') {
this.flag1 = true;
this.flag2 = true;
this.flag3 = false;
}
if (val == "A") {
if (val == 'A') {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
......
......@@ -160,11 +160,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -173,155 +173,155 @@ export default {
};
},
watch: {
"model.litamep.lcrgodamep.modflg": {
'model.litamep.lcrgodamep.modflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == ""
this.model.litamep.lcrgodamep.modflg == 'X' &&
this.model.litamep.lcrgodamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
this.model.litamep.lcrgodamep.usrblk = '';
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
this.model.litamep.lcrgodamep.modflg == 'X' &&
this.model.litamep.lcrgodamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == ""
this.model.litamep.lcrgodamep.modflg == '' &&
this.model.litamep.lcrgodamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
this.model.litamep.lcrgodamep.modflg == '' &&
this.model.litamep.lcrgodamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
this.model.litamep.lcrgodamep.usrblk = '';
}
},
},
"model.litamep.lcrgodamep.modmanflg": {
'model.litamep.lcrgodamep.modmanflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == ""
this.model.litamep.lcrgodamep.modflg == 'X' &&
this.model.litamep.lcrgodamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
this.model.litamep.lcrgodamep.usrblk = '';
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
this.model.litamep.lcrgodamep.modflg == 'X' &&
this.model.litamep.lcrgodamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == ""
this.model.litamep.lcrgodamep.modflg == '' &&
this.model.litamep.lcrgodamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
this.model.litamep.lcrgodamep.modflg == '' &&
this.model.litamep.lcrgodamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
this.model.litamep.lcrgodamep.usrblk = '';
}
},
},
},
methods: {
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
if (val === '' && !(this.model.lidgrp.blk.lcrgod == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod = "";
this.model.lidgrp.blk.lcrgod = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modflg = "X";
this.model.litamep.lcrgodamep.modflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (val == "X" && this.model.litamep.lcrgodamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
} else if (val == 'X' && this.model.litamep.lcrgodamep.modmanflg == 'X') {
this.$confirm('请先重置内部修改', '提示', {
confirmButtonText: '确定',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modflg = "";
this.model.litamep.lcrgodamep.modflg = '';
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
if (val === '' && !(this.model.lidgrp.blk.lcrgod == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod = "";
this.model.lidgrp.blk.lcrgod = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modmanflg = "X";
this.model.litamep.lcrgodamep.modmanflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
this.model.litamep.lcrgodamep.modflg == 'X' &&
this.model.litamep.lcrgodamep.modmanflg == 'X'
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
this.$confirm('请先重置修改以替换', '提示', {
confirmButtonText: '确定',
cancelButtonText: '',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modmanflg = "";
this.model.litamep.lcrgodamep.modmanflg = '';
this.flag1 = true;
this.flag2 = false;
});
......
......@@ -125,11 +125,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -138,67 +138,67 @@ export default {
};
},
watch: {
"model.litamep.lcrdocamep.modflg": {
'model.litamep.lcrdocamep.modflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == ""
this.model.litamep.lcrdocamep.modflg == 'X' &&
this.model.litamep.lcrdocamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
this.model.litamep.lcrdocamep.usrblk = '';
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
this.model.litamep.lcrdocamep.modflg == 'X' &&
this.model.litamep.lcrdocamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == ""
this.model.litamep.lcrdocamep.modflg == '' &&
this.model.litamep.lcrdocamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
this.model.litamep.lcrdocamep.modflg == '' &&
this.model.litamep.lcrdocamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
this.model.litamep.lcrdocamep.usrblk = '';
}
},
},
"model.litamep.lcrdocamep.modmanflg": {
'model.litamep.lcrdocamep.modmanflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == ""
this.model.litamep.lcrdocamep.modflg == 'X' &&
this.model.litamep.lcrdocamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
this.model.litamep.lcrdocamep.usrblk = '';
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
this.model.litamep.lcrdocamep.modflg == 'X' &&
this.model.litamep.lcrdocamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == ""
this.model.litamep.lcrdocamep.modflg == '' &&
this.model.litamep.lcrdocamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
this.model.litamep.lcrdocamep.modflg == '' &&
this.model.litamep.lcrdocamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
this.model.litamep.lcrdocamep.usrblk = '';
}
},
},
......@@ -206,88 +206,88 @@ export default {
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
if (val === '' && !(this.model.lidgrp.blk.lcrdoc == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc = "";
this.model.lidgrp.blk.lcrdoc = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modflg = "X";
this.model.litamep.lcrdocamep.modflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (val == "X" && this.model.litamep.lcrdocamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
} else if (val == 'X' && this.model.litamep.lcrdocamep.modmanflg == 'X') {
this.$confirm('请先重置内部修改', '提示', {
confirmButtonText: '确定',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modflg = "";
this.model.litamep.lcrdocamep.modflg = '';
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
if (val === '' && !(this.model.lidgrp.blk.lcrdoc == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc = "";
this.model.lidgrp.blk.lcrdoc = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modmanflg = "X";
this.model.litamep.lcrdocamep.modmanflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
this.model.litamep.lcrdocamep.modflg == 'X' &&
this.model.litamep.lcrdocamep.modmanflg == 'X'
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
this.$confirm('请先重置修改以替换', '提示', {
confirmButtonText: '确定',
cancelButtonText: '',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modmanflg = "";
this.model.litamep.lcrdocamep.modmanflg = '';
this.flag1 = true;
this.flag2 = false;
});
......
......@@ -18,11 +18,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ['root'],
props:["model","codes"],
props:['model','codes'],
mixins: [event],
data(){
return {
......
......@@ -347,12 +347,12 @@
</template>
<script>
import event from "../event";
// import Event from "~/model/Ditopn/Event";
import event from '../event';
// import Event from '~/model/Ditopn/Event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -362,18 +362,18 @@ export default {
},
methods: {
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1') {
this.model.liaall.limmod.limpts.pfcod1 = '';
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
this.model.liaall.limmod.limpts.pfcod2 = "";
if (this.model.liaall.limmod.limpts.nonrevflg2 == '1') {
this.model.liaall.limmod.limpts.pfcod2 = '';
}
},
show(){
let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
let len1 = this.model.liaall.limmod.tygrd['rows'].length||[];
let len2 = this.model.liaall.limmod.dggrd['rows'].length||[];
if(len1>0&&len2>0){
this.same = true;
......
......@@ -30,11 +30,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ['root'],
props:["model","codes"],
props:['model','codes'],
mixins: [event],
data(){
return {
......
......@@ -41,37 +41,37 @@
</div>
</template>
<script>
import event from "../event";
import Amep from "./Amep";
import Ovwp1 from "./Ovwp1";
import Narp from "./Narp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dorpame from "./Dorpame";
import Dogpame from "./Dogpame";
import Adcpame from "./Adcpame";
import Aamp from "./Aamp";
import Spbpame from "./Spbpame.vue";
import Sprpame from "./Sprpame.vue";
import Inspame from "./Inspame";
import event from '../event';
import Amep from './Amep';
import Ovwp1 from './Ovwp1';
import Narp from './Narp';
import Detp from './Detp';
import Ptyp from './Ptyp';
import Dorpame from './Dorpame';
import Dogpame from './Dogpame';
import Adcpame from './Adcpame';
import Aamp from './Aamp';
import Spbpame from './Spbpame.vue';
import Sprpame from './Sprpame.vue';
import Inspame from './Inspame';
export default {
components: {
"m-amep": Amep,
"m-ovwp1": Ovwp1,
"m-narp": Narp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dorpame": Dorpame,
"m-dogpame": Dogpame,
"m-adcpame": Adcpame,
"m-aamp": Aamp,
"m-spbpame": Spbpame,
"m-sprpame": Sprpame,
"m-inspame": Inspame,
'm-amep': Amep,
'm-ovwp1': Ovwp1,
'm-narp': Narp,
'm-detp': Detp,
'm-ptyp': Ptyp,
'm-dorpame': Dorpame,
'm-dogpame': Dogpame,
'm-adcpame': Adcpame,
'm-aamp': Aamp,
'm-spbpame': Spbpame,
'm-sprpame': Sprpame,
'm-inspame': Inspame,
},
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......
......@@ -332,11 +332,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ['root'],
props:["model","codes"],
props:['model','codes'],
mixins: [event],
data(){
return {
......
......@@ -276,40 +276,40 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ['root'],
props:["model","codes"],
props:['model','codes'],
mixins: [event],
data(){
return {
ptsaddg: {
columns: [
{
title: "角色",
width: "120px",
dataIndex: "rol",
show: "select",
title: '角色',
width: '120px',
dataIndex: 'rol',
show: 'select',
},
{
title: "当事人",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
title: '当事人',
width: '180px',
dataIndex: 'ptyextkey',
show: 'input',
},
{
title: "名称",
width: "250px",
dataIndex: "nam",
title: '名称',
width: '250px',
dataIndex: 'nam',
},
{
title: "参考号",
width: "250px",
dataIndex: "ref",
title: '参考号',
width: '250px',
dataIndex: 'ref',
},
],
urls: "litp.ptsaddp.ptsaddg",
urls: 'litp.ptsaddp.ptsaddg',
},
}
},
......
......@@ -127,11 +127,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -140,155 +140,155 @@ export default {
};
},
watch: {
"model.litamep.spcbenamep.modflg": {
'model.litamep.spcbenamep.modflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == ""
this.model.litamep.spcbenamep.modflg == 'X' &&
this.model.litamep.spcbenamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
this.model.litamep.spcbenamep.usrblk = '';
} else if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == "X"
this.model.litamep.spcbenamep.modflg == 'X' &&
this.model.litamep.spcbenamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == ""
this.model.litamep.spcbenamep.modflg == '' &&
this.model.litamep.spcbenamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == "X"
this.model.litamep.spcbenamep.modflg == '' &&
this.model.litamep.spcbenamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
this.model.litamep.spcbenamep.usrblk = '';
}
},
},
"model.litamep.spcbenamep.modmanflg": {
'model.litamep.spcbenamep.modmanflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == ""
this.model.litamep.spcbenamep.modflg == 'X' &&
this.model.litamep.spcbenamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
this.model.litamep.spcbenamep.usrblk = '';
} else if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == "X"
this.model.litamep.spcbenamep.modflg == 'X' &&
this.model.litamep.spcbenamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == ""
this.model.litamep.spcbenamep.modflg == '' &&
this.model.litamep.spcbenamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == "X"
this.model.litamep.spcbenamep.modflg == '' &&
this.model.litamep.spcbenamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
this.model.litamep.spcbenamep.usrblk = '';
}
},
},
},
methods: {
open(val) {
if (val === "" && !(this.model.lidgrp.blk.spcben == "")) {
if (val === '' && !(this.model.lidgrp.blk.spcben == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben = "";
this.model.lidgrp.blk.spcben = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modflg = "X";
this.model.litamep.spcbenamep.modflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (val == "X" && this.model.litamep.spcbenamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
} else if (val == 'X' && this.model.litamep.spcbenamep.modmanflg == 'X') {
this.$confirm('请先重置内部修改', '提示', {
confirmButtonText: '确定',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modflg = "";
this.model.litamep.spcbenamep.modflg = '';
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.spcben == "")) {
if (val === '' && !(this.model.lidgrp.blk.spcben == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben = "";
this.model.lidgrp.blk.spcben = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modmanflg = "X";
this.model.litamep.spcbenamep.modmanflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == "X"
this.model.litamep.spcbenamep.modflg == 'X' &&
this.model.litamep.spcbenamep.modmanflg == 'X'
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
this.$confirm('请先重置修改以替换', '提示', {
confirmButtonText: '确定',
cancelButtonText: '',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modmanflg = "";
this.model.litamep.spcbenamep.modmanflg = '';
this.flag1 = true;
this.flag2 = false;
});
......
......@@ -127,11 +127,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -140,155 +140,155 @@ export default {
};
},
watch: {
"model.litamep.spcrcbamep.modflg": {
'model.litamep.spcrcbamep.modflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == ""
this.model.litamep.spcrcbamep.modflg == 'X' &&
this.model.litamep.spcrcbamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
this.model.litamep.spcrcbamep.usrblk = '';
} else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
this.model.litamep.spcrcbamep.modflg == 'X' &&
this.model.litamep.spcrcbamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == ""
this.model.litamep.spcrcbamep.modflg == '' &&
this.model.litamep.spcrcbamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
this.model.litamep.spcrcbamep.modflg == '' &&
this.model.litamep.spcrcbamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
this.model.litamep.spcrcbamep.usrblk = '';
}
},
},
"model.litamep.spcrcbamep.modmanflg": {
'model.litamep.spcrcbamep.modmanflg': {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == ""
this.model.litamep.spcrcbamep.modflg == 'X' &&
this.model.litamep.spcrcbamep.modmanflg == ''
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
this.model.litamep.spcrcbamep.usrblk = '';
} else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
this.model.litamep.spcrcbamep.modflg == 'X' &&
this.model.litamep.spcrcbamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == ""
this.model.litamep.spcrcbamep.modflg == '' &&
this.model.litamep.spcrcbamep.modmanflg == ''
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
this.model.litamep.spcrcbamep.modflg == '' &&
this.model.litamep.spcrcbamep.modmanflg == 'X'
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
this.model.litamep.spcrcbamep.usrblk = '';
}
},
},
},
methods: {
open(val) {
if (val === "" && !(this.model.lidgrp.blk.spcrcb == "")) {
if (val === '' && !(this.model.lidgrp.blk.spcrcb == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb = "";
this.model.lidgrp.blk.spcrcb = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modflg = "X";
this.model.litamep.spcrcbamep.modflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (val == "X" && this.model.litamep.spcrcbamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
} else if (val == 'X' && this.model.litamep.spcrcbamep.modmanflg == 'X') {
this.$confirm('请先重置内部修改', '提示', {
confirmButtonText: '确定',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modflg = "";
this.model.litamep.spcrcbamep.modflg = '';
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.spcrcb == "")) {
if (val === '' && !(this.model.lidgrp.blk.spcrcb == '')) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
'是否确定要重置手动修改?',
'提示',
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
cancelButtonText: '撤销',
confirmButtonText: '确定',
type: 'warning',
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb = "";
this.model.lidgrp.blk.spcrcb = '';
this.$message({
type: "success",
message: "删除成功!",
type: 'success',
message: '删除成功!',
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modmanflg = "X";
this.model.litamep.spcrcbamep.modmanflg = 'X';
this.$message({
type: "info",
message: "已取消",
type: 'info',
message: '已取消',
});
});
} else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
this.model.litamep.spcrcbamep.modflg == 'X' &&
this.model.litamep.spcrcbamep.modmanflg == 'X'
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
this.$confirm('请先重置修改以替换', '提示', {
confirmButtonText: '确定',
cancelButtonText: '',
showCancelButton: false,
type: "warning",
type: 'warning',
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modmanflg = "";
this.model.litamep.spcrcbamep.modmanflg = '';
this.flag1 = true;
this.flag2 = false;
});
......
......@@ -117,55 +117,55 @@
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import CodeTable from '~/config/CodeTable';
import formRules from '../model/check';
import operationFunc from "~/mixin/operationFunc";
import Litame from "../model";
import event from "../event";
import Ovwp from "./Ovwp";
import Ovwp1 from "./Ovwp1";
import Aamp from "./Aamp";
import Narp from "./Narp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Inspame from "./Inspame";
import Addbcb from "./Addbcb";
import Dorpame from "./Dorpame";
import Dogpame from "./Dogpame";
import Adcpame from "./Adcpame";
import operationFunc from '~/mixin/operationFunc';
import Litame from '../model';
import event from '../event';
import Ovwp from './Ovwp';
import Ovwp1 from './Ovwp1';
import Aamp from './Aamp';
import Narp from './Narp';
import Detp from './Detp';
import Ptyp from './Ptyp';
import Inspame from './Inspame';
import Addbcb from './Addbcb';
import Dorpame from './Dorpame';
import Dogpame from './Dogpame';
import Adcpame from './Adcpame';
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
// import Limitbody from "./Limitbody";
import Limitbody from "~/components/business/limitbody/views";
import Engp from '~/components/business/engp/views';
import Ccvpan from '~/components/business/ccvpan/views';
import Coninfp from '~/components/business/coninfp/views';
import Docpan from '~/components/business/docpan/views';
import Doctre from '~/components/business/doctre/views';
import Setmod from '~/components/business/setmod/views';
import Glentry from '~/components/business/glentry/views';
// import Limitbody from './Limitbody';
import Limitbody from '~/components/business/limitbody/views';
export default {
name: "Litame",
name: 'Litame',
components: {
"m-ovwp": Ovwp,
"m-ovwp1": Ovwp1,
"m-aamp": Aamp,
"m-narp": Narp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-inspame": Inspame,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-addbcb": Addbcb,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-dorpame": Dorpame,
"m-dogpame": Dogpame,
"m-adcpame": Adcpame,
"m-limitbody": Limitbody,
"m-setmod": Setmod,
"m-glentry": Glentry,
'm-ovwp': Ovwp,
'm-ovwp1': Ovwp1,
'm-aamp': Aamp,
'm-narp': Narp,
'm-detp': Detp,
'm-ptyp': Ptyp,
'm-inspame': Inspame,
'm-engp': Engp,
'm-ccvpan': Ccvpan,
'm-addbcb': Addbcb,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-dorpame': Dorpame,
'm-dogpame': Dogpame,
'm-adcpame': Adcpame,
'm-limitbody': Limitbody,
'm-setmod': Setmod,
'm-glentry': Glentry,
},
provide() {
return {
......@@ -176,12 +176,12 @@ export default {
computed: {},
data() {
return {
tabVal: "ovwp",
trnName: "litame",
tabVal: 'ovwp',
trnName: 'litame',
model: new Litame().data,
rules: formRules,
codes: { ...CodeTable },
activeNames: ["engp"],
activeNames: ['engp'],
promptData: {
title: 'Select a Party',
columns: [
......
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