Commit b2f3f523 by wanggang_yf

brtudp页面修改

parent df80ab5c
......@@ -20,7 +20,7 @@ export default {
...ccvpan,
...limitbody,
...doctre,
async init () {
async init() {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
......@@ -28,12 +28,12 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
rec:{
inr:this.$route.query.inr
brdgrp: {
rec: {
inr: this.$route.query.inr
}
}
});
if (!res.data) {
return
......@@ -44,7 +44,7 @@ export default {
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
copyValueFromVoData(model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
......@@ -93,7 +93,7 @@ export default {
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
......@@ -170,7 +170,7 @@ export default {
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
buildLiaccv () {
buildLiaccv() {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
......@@ -178,11 +178,11 @@ export default {
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
changeSetmodModel(emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
......@@ -192,7 +192,7 @@ export default {
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
setglgRequest.setglg = { setgll: emitParams.list };
this.setgllAccts(setglgRequest, index);
break
default:
......
......@@ -57,7 +57,6 @@
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import event from '../event';
export default {
......
......@@ -364,10 +364,6 @@
</div>
</template>
<script>
import Api from "~/service/Api";
// import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Brtudp/Event";
import event from '../event'
export default {
......@@ -377,7 +373,7 @@ export default {
data() {
return {};
},
methods: { ...Event, crehqcodeEvent() {} },
methods: {},
created: function () {},
};
</script>
......
......@@ -156,8 +156,6 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event';
export default {
......@@ -167,7 +165,7 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: {},
created: function () {},
};
</script>
......
......@@ -70,7 +70,6 @@
<c-checkbox
style="margin: 0px 0 10px 150px;"
v-model="docdisflg"
@change="docdisDefault"
>录入不符点</c-checkbox
>
</el-form-item>
......@@ -118,10 +117,6 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtudp/Event";
import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre";
import event from '../event';
......@@ -137,15 +132,7 @@ export default {
return {
};
},
methods: { ...Event,
async docdisDefault(){
this.executeDefault("brdgrp.blk.docdis").then(res => {
//TODO 处理数据逻辑
if(res.respCode == SUCCESS)
this.updateModel(res.data);
})
},
},
methods: {},
created: function () { },
computed: {
docdisflg: {
......
......@@ -113,9 +113,6 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Ptap1 from "~/views/Public/Ptap1";
import event from '../event';
......@@ -134,7 +131,6 @@ export default {
},
methods: {},
created: function () {
}
}
</script>
......
......@@ -77,9 +77,6 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtudp/Event"
import Ptap1 from "~/views/Public/Ptap1";
import event from '../event';
......@@ -97,7 +94,7 @@ export default {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -33,10 +33,6 @@
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtudp/Event";
import Payp from "./Payp";
import Docpre from "./Docpre";
import Mt750p from "./Mt750p";
......@@ -46,7 +42,6 @@ import Othadvtypp from "./Othadvtypp";
import Cfap from "./Cfap";
import Conp from "./Conp";
import Dclpp from "./Dclpp";
// import Shisuan from "./Shisuan";
import event from '../event';
export default {
......
......@@ -261,9 +261,6 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import event from '../event'
export default {
......@@ -275,7 +272,7 @@ export default {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -149,7 +149,6 @@
:disabled="true"
:isAdrblk="false"
disabled1
@onSeainf="onSeainf" @onAplpDet="onShppDet"
>
</c-ptap1>
<!-- brdgrp.shp.pts.extkey 对应grp: 'brdgrp', rol: 'prb',-->
......@@ -175,9 +174,6 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Ptap1 from "~/views/Public/Ptap1"
import event from '../event'
......@@ -206,9 +202,7 @@ export default {
// }
// }
},
methods:{
...Event,
},
methods:{},
created:function(){
}
......
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