Commit 91e4af07 by WF1020

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 80b1f464 3f2d9c1c
...@@ -75,7 +75,9 @@ export default class Brtame { ...@@ -75,7 +75,9 @@ export default class Brtame {
nam: '', nam: '',
opndat: '', opndat: '',
redclsflg: '', redclsflg: '',
branchinr:'' branchinr:'',
shppars18:'',
shppar:''
}, },
cbs: { cbs: {
......
...@@ -22,7 +22,14 @@ export default { ...@@ -22,7 +22,14 @@ export default {
...doctre, ...doctre,
async init () { async init () {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
}
if ( typeof(this.$route.query.inr) == 'string' ){
params.spt = null
params.trnmod.trn =null
} }
const res = await Api.post('/service/brtcan/init', { const res = await Api.post('/service/brtcan/init', {
...params, ...params,
...@@ -32,7 +39,8 @@ export default { ...@@ -32,7 +39,8 @@ export default {
rec:{ rec:{
inr:this.$route.query.inr inr:this.$route.query.inr
} }
} },
}); });
if (!res.data) { if (!res.data) {
return return
......
...@@ -25,6 +25,9 @@ export default { ...@@ -25,6 +25,9 @@ export default {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
} }
if ( typeof(this.$route.query.inr) == 'string' ) {
params.spt = null
}
const res = await Api.post('/service/brtlat/init', { const res = await Api.post('/service/brtlat/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
......
...@@ -24,8 +24,8 @@ export default { ...@@ -24,8 +24,8 @@ export default {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
} }
if( this.$route.query.inr !='') { if( typeof(this.$route.query.inr) == 'string') {
localStorage.setItem('row_brtsnd',null) params.spt = null
} }
const res = await Api.post('/service/brtsnd/init', { const res = await Api.post('/service/brtsnd/init', {
...params, ...params,
......
...@@ -133,8 +133,8 @@ ...@@ -133,8 +133,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="分批装运" prop="lidgrp.rec.shppar"> <el-form-item label="分批装运" prop="lidgrp.rec.shppars18">
<c-select v-model="model.lidgrp.rec.shppar" style="width:100%" placeholder="请选择" <c-select v-model="model.lidgrp.rec.shppars18" style="width:100%" placeholder="请选择"
:code="codes.shptrss18" :code="codes.shptrss18"
> >
</c-select> </c-select>
......
...@@ -22,6 +22,9 @@ export default { ...@@ -22,6 +22,9 @@ export default {
async init() { async init() {
const params = { const params = {
// spt: JSON.parse(localStorage.getItem('row_' + this.trnName)) // spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
} }
const loading = this.loading(); const loading = this.loading();
const res = await Api.post('/service/litopn/init', { const res = await Api.post('/service/litopn/init', {
...@@ -123,8 +126,8 @@ export default { ...@@ -123,8 +126,8 @@ export default {
async onLitpButgetref() { async onLitpButgetref() {
let params = { let params = {
ptainr: this.model.lidgrp.apl.pts.ptainr, ptainr: this.model.lidgrp.apl.pts.ptainr,
businessType: 'LG', businessType: 'LC',
tbl: 'LG', tbl: 'LC',
}; };
const loading = this.loading(); const loading = this.loading();
let res = await Api.post('/service/litopn/getOwnRef', params); let res = await Api.post('/service/litopn/getOwnRef', params);
......
...@@ -99,6 +99,7 @@ export default class Litopn { ...@@ -99,6 +99,7 @@ export default class Litopn {
spcrcb: '', spcrcb: '',
}, },
rec: { rec: {
inr:'',
tenmaxday: '', tenmaxday: '',
expplc: '', expplc: '',
nomton: '', nomton: '',
......
<template>
<ReviewWrapper>
<Brtcan></Brtcan>
</ReviewWrapper>
</template>
<script>
import Brtcan from '../business/brtcan/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtcan",
components: { ReviewWrapper, Brtcan },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
...@@ -3,5 +3,6 @@ const Business = [ ...@@ -3,5 +3,6 @@ const Business = [
{ path: 'litopn', component: () => import('~/review/ReviewLitopn.vue'), name: 'litopn', meta: { title: '复核-Litopn' } }, { path: 'litopn', component: () => import('~/review/ReviewLitopn.vue'), name: 'litopn', meta: { title: '复核-Litopn' } },
{ path: 'litdck', component: () => import('~/review/ReviewLitdck.vue'), name: 'litdck', meta: { title: '复核-Litdck' } }, { path: 'litdck', component: () => import('~/review/ReviewLitdck.vue'), name: 'litdck', meta: { title: '复核-Litdck' } },
{ path: 'litame', component: () => import('~/review/ReviewLitame.vue'), name: 'litame', meta: { title: '复核-Litame' } }, { path: 'litame', component: () => import('~/review/ReviewLitame.vue'), name: 'litame', meta: { title: '复核-Litame' } },
{ path: 'brtcan', component: () => import('~/review/ReviewBrtcan.vue'), name: 'brtcan', meta: { title: '复核-Brtcan' } },
] ]
export default Business export default Business
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