Commit 25a050a9 by Eivi

detopn添加方法

parent 1b1e6418
...@@ -2,127 +2,104 @@ import Api from "~/service/Api" ...@@ -2,127 +2,104 @@ import Api from "~/service/Api"
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
async onDetpButgetref(){ async onDetpButgetref() {
let rtnmsg = await this.executeRule("detp.butgetref") let rtnmsg = await this.executeRule("detp.butgetref")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ //TODO 处理数据逻辑
//TODO 处理数据逻辑 this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref;
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref; this.$message({
this.$message({ type: 'success',
type: 'success', message: '获取成功!'
message: '获取成功!' });
}); } else {
} this.$notify.error({ title: '错误', message: '服务请求失败!' });
else }
{ },
this.$notify.error({title: '错误',message: '服务请求失败!'}); onSeainf() {},
} onExtkey() {},
}, mytypeChange() {},
async onBenpDet(){ avbbykeyEvent() {},
let rtnmsg = await this.executeRule("benp.det") recTratypChange() {},
if(rtnmsg.respCode == SUCCESS) async onBenpDet() {
{ let rtnmsg = await this.executeRule("benp.det")
//TODO 处理数据逻辑 if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onAplpDet() {
}, let rtnmsg = await this.executeRule("aplp.det")
async onAplpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("aplp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLcrdftatButtxmsel() {
}, let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
async onLcrdftatButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onPreperButtxmsel() {
}, let rtnmsg = await this.executeRule("preper.buttxmsel")
async onPreperButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("preper.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLcrgodButtxmsel() {
}, let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
async onLcrgodButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLcrdocButtxmsel() {
}, let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
async onLcrdocButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onAdlcndButtxmsel() {
}, let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
async onAdlcndButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onInsbnkButtxmsel() {
}, let rtnmsg = await this.executeRule("insbnk.buttxmsel")
async onInsbnkButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("insbnk.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onSetmodDet() {
}, let rtnmsg = await this.executeRule("setmod.det")
async onSetmodDet() { if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("setmod.det") //TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 } else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
else { },
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
} }
\ No newline at end of file
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec. 看看评【评【评【"> <el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:100%"> <c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:100%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
...@@ -73,7 +73,8 @@ ...@@ -73,7 +73,8 @@
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<span v-text="model.detp.fenzhu" data-path=".detp.fenzhu" > </span> <span v-text="model.detp.fenzhu"
a-path=".detp.fenzhu" > </span>
</c-col> </c-col>
...@@ -101,7 +102,7 @@ export default { ...@@ -101,7 +102,7 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
mytypeFlag:true,
} }
}, },
methods:{...Event}, methods:{...Event},
......
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