Commit 153f3dea by jianglong

修改LITCAN

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