Commit 153f3dea by jianglong

修改LITCAN

parent 024a2824
...@@ -60,10 +60,10 @@ export default { ...@@ -60,10 +60,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"lidgrp.rec.opndat":[ "lidgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"lidgrp.rec.shpdat":[ "lidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"lidgrp.adv.pts.ref":[ "lidgrp.adv.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
], ],
"lidgrp.rec.expdat":[ "lidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"lidgrp.rec.expplc":[ "lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Booking" name="glepan"> <el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :code="codes"/> <m-glepan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
...@@ -58,10 +58,12 @@ ...@@ -58,10 +58,12 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Litcan from "~/model/Litcan" import Litcan from "~/model/Litcan"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs" import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litcan/Check" import Check from "~/model/Litcan/Check"
import Default from "~/model/Litcan/Default" import Default from "~/model/Litcan/Default"
import Pattern from "~/model/Litcan/Pattern" import Pattern from "~/model/Litcan/Pattern"
...@@ -96,6 +98,7 @@ export default { ...@@ -96,6 +98,7 @@ export default {
} }
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){ data(){
return { return {
tabVal: "canp", tabVal: "canp",
...@@ -120,19 +123,16 @@ export default { ...@@ -120,19 +123,16 @@ export default {
created:async function(){ created:async function(){
console.log("进入litcan交易"); console.log("进入litcan交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data) if (this.isInDisplay) {
//TODO 处理数据逻辑 this.restoreDisplay();
}
} } else {
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} };
</script> </script>
<style> <style>
</style> </style>
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