Commit 18918eb3 by wangyanjiao

#236

parent c13718ce
...@@ -234,6 +234,7 @@ ...@@ -234,6 +234,7 @@
<c-input <c-input
v-model="model.trnmod.swiadd.newnomtopame" v-model="model.trnmod.swiadd.newnomtopame"
style="width: 48%" style="width: 48%"
@change="newnomtopame"
></c-input> ></c-input>
<label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label> <label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
<c-input <c-input
...@@ -327,6 +328,7 @@ ...@@ -327,6 +328,7 @@
show-word-limit show-word-limit
:rows="2" :rows="2"
placeholder="请输入Shipment from" placeholder="请输入Shipment from"
@change="shpfroelc"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -351,6 +353,7 @@ ...@@ -351,6 +353,7 @@
show-word-limit show-word-limit
:rows="2" :rows="2"
placeholder="请输入货物目的地/交货地(港)" placeholder="请输入货物目的地/交货地(港)"
@change="shptoelc"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -396,6 +399,27 @@ export default { ...@@ -396,6 +399,27 @@ export default {
return {}; return {};
}, },
methods: { ...Event , methods: { ...Event ,
shptoelc(){
this.executeDefault("DIDGRP.REC.SHPTO").then((res) => {
if ((res.respCode == 'AAAAAA')) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
shpfroelc(){
this.executeDefault("DIDGRP.REC.SHPFRO").then((res) => {
if ((res.respCode == 'AAAAAA')) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
newnomtopame() {
this.executeDefault("trnmod.swiadd.newnomtopame").then((res) => {
if ((res.respCode == 'AAAAAA')) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
ameamt() { ameamt() {
console.log("进入前---------"); console.log("进入前---------");
this.executeRule("trnmod.swiadd.ameamt").then((res) => { this.executeRule("trnmod.swiadd.ameamt").then((res) => {
......
...@@ -2036,6 +2036,9 @@ export default { ...@@ -2036,6 +2036,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
if(this.isInDisplay){
this.restoreDisplay();
}
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
<template>
<ReviewWrapper>
<Ditame></Ditame>
</ReviewWrapper>
</template>
<script>
import Ditame from "~/views/Business/Ditame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewDitame",
components: { ReviewWrapper, Ditame },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
...@@ -31,6 +31,7 @@ import ReviewGetamc from "./Business/ReviewGetamc.vue"; ...@@ -31,6 +31,7 @@ import ReviewGetamc from "./Business/ReviewGetamc.vue";
import ReviewBftdrv from "./Business/ReviewBftdrv.vue"; import ReviewBftdrv from "./Business/ReviewBftdrv.vue";
import ReviewLetdrv from "./Business/ReviewLetdrv.vue"; import ReviewLetdrv from "./Business/ReviewLetdrv.vue";
import ReviewBetacc from "./Business/ReviewBetacc.vue"; import ReviewBetacc from "./Business/ReviewBetacc.vue";
import ReviewDitame from "./Business/ReviewDitame.vue";
const ReviewRouter = [ const ReviewRouter = [
...@@ -85,6 +86,7 @@ const ReviewRouter = [ ...@@ -85,6 +86,7 @@ const ReviewRouter = [
{ path: "bftdrv", component: ReviewBftdrv, name: "ReviewBftdrv", meta: { title: "复核-Bftdrv" } }, { path: "bftdrv", component: ReviewBftdrv, name: "ReviewBftdrv", meta: { title: "复核-Bftdrv" } },
{ path: "letdrv", component: ReviewLetdrv, name: "ReviewLetdrv", meta: { title: "复核-Letdrv" } }, { path: "letdrv", component: ReviewLetdrv, name: "ReviewLetdrv", meta: { title: "复核-Letdrv" } },
{ path: "betacc", component: ReviewBetacc, name: "ReviewBetacc", meta: { title: "复核-Betacc" } }, { path: "betacc", component: ReviewBetacc, name: "ReviewBetacc", meta: { title: "复核-Betacc" } },
{ path: "ditame", component: ReviewDitame, name: "ReviewDitame", meta: { title: "复核-Ditame" } },
]; ];
......
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