Commit 73ec00fa by WH

litrog缺陷修复

parent 51a863e1
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
let params = { let params = {
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp, ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey, extkey: this.model.brdgrp[type.toLowerCase()].pts.extkey,
}; };
let res = await Api.post('/service/ptspta/list', params); let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
}; };
let res = await Api.post('/service/ptspta/fetch', params); let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data); this.$set(this.model.brdgrp, row.role.toLowerCase(), res.data);
} }
}, },
// 业务信息=》基本信息=》支出目的 // 业务信息=》基本信息=》支出目的
......
...@@ -371,43 +371,62 @@ ...@@ -371,43 +371,62 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">-->
<el-form-item label="地址编码" prop="brdgrp.prb.pts.extkey"> <!-- <el-form-item label="地址编码" prop="brdgrp.prb.pts.extkey">-->
<c-fullbox> <!-- <c-fullbox>-->
<c-input <!-- <c-input-->
v-model="model.brdgrp.prb.pts.extkey" <!-- v-model="model.brdgrp.prb.pts.extkey"-->
maxlength="16" <!-- maxlength="16"-->
placeholder="请输入地址编码" <!-- placeholder="请输入地址编码"-->
></c-input> <!-- ></c-input>-->
<!-- <template slot="footer">-->
<!-- <c-button-->
<!-- style="margin: 0 5px 0 10px; padding: 0 12px"-->
<!-- size="small"-->
<!-- type="primary"-->
<!-- icon="el-icon-info"-->
<!-- >-->
<!-- </c-button>-->
<!-- <c-button style="margin: 0 0" size="small" type="primary">-->
<!-- 详情-->
<!-- </c-button>-->
<!-- </template>-->
<!-- </c-fullbox>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">-->
<!-- <c-input-->
<!-- :rows="5"-->
<!-- type="textarea"-->
<!-- v-model="model.brdgrp.prb.pts.adrblk"-->
<!-- maxlength="200"-->
<!-- show-word-limit-->
<!-- placeholder="请输入地址信息"-->
<!-- ></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<template slot="footer"> <c-col :span="24">
<c-button <c-ptap
style="margin: 0 5px 0 10px; padding: 0 12px" :model="model"
size="small" :argadr="{
type="primary" title: '地址编码',
icon="el-icon-info" grp: 'brdgrp',
rol: 'prb',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('PRB', 'C')
"
:noRef="true"
:disabled="true"
:isAdrblk="true"
> >
</c-button> </c-ptap>
<c-button style="margin: 0 0" size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">
<c-input
:rows="5"
type="textarea"
v-model="model.brdgrp.prb.pts.adrblk"
maxlength="200"
show-word-limit
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发票类型" prop="brdgrp.rec.invtyp"> <el-form-item label="发票类型" prop="brdgrp.rec.invtyp">
...@@ -425,8 +444,10 @@ ...@@ -425,8 +444,10 @@
</template> </template>
<script> <script>
import event from '../event'; import event from '../event';
import Ptap from "~/views/Public/Ptap";
export default { export default {
components: {"c-ptap": Ptap },
inject: ['root'], inject: ['root'],
props: ['model', 'codes'], props: ['model', 'codes'],
mixins: [event], mixins: [event],
......
<template> <template>
<div class="eibs"> <div class="eibs">
<!--==========================left====================== --> <!--==========================left====================== -->
<el-col :span="12" style="padding-right: 20px;"> <el-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="提货担保申请人" prop="brdgrp.rec.relgodflg"> <el-form-item label="提货担保申请人" prop="brdgrp.rec.relgodflg">
<c-select <c-select
...@@ -29,13 +29,15 @@ ...@@ -29,13 +29,15 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="放货日期" prop="brdgrp.rec.relgoddat"> <el-form-item label="放货日期" prop="brdgrp.rec.relgoddat">
<c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%" placeholder="请选择放货日期"></c-date-picker> <c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%"
placeholder="请选择放货日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到期日" prop="brdgrp.rec.expdat"> <el-form-item label="到期日" prop="brdgrp.rec.expdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.expdat" style="width:100%" placeholder="请选择到期日"></c-date-picker> <c-date-picker type="date" v-model="model.brdgrp.rec.expdat" style="width:100%"
placeholder="请选择到期日"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -56,7 +58,8 @@ ...@@ -56,7 +58,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="提单装船期" prop="brdgrp.rec.tradat"> <el-form-item label="提单装船期" prop="brdgrp.rec.tradat">
<c-date-picker type="date" v-model="model.brdgrp.rec.tradat" style="width:100%" placeholder="请选择日期"></c-date-picker> <c-date-picker type="date" v-model="model.brdgrp.rec.tradat" style="width:100%"
placeholder="请选择日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -91,7 +94,8 @@ ...@@ -91,7 +94,8 @@
<el-form-item label="货物描述" prop="brdgrp.blk.roggod"> <el-form-item label="货物描述" prop="brdgrp.blk.roggod">
<c-input <c-input
:rows="6" :rows="6"
type="textarea" v-model="model.brdgrp.blk.roggod" maxlength="40" show-word-limit placeholder="请输入货物描述" ></c-input> type="textarea" v-model="model.brdgrp.blk.roggod" maxlength="40" show-word-limit
placeholder="请输入货物描述"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -106,11 +110,11 @@ ...@@ -106,11 +110,11 @@
<c-input v-model="model.brdgrp.blk.voynum" maxlength="30" placeholder="请输入航号"></c-input> <c-input v-model="model.brdgrp.blk.voynum" maxlength="30" placeholder="请输入航号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
<!-- =========================right====================== --> <!-- =========================right====================== -->
<el-col :span="12" style="padding-left: 20px;"> <el-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="合同编号" prop="brtp.connum"> <el-form-item label="合同编号" prop="brtp.connum">
<c-input v-model="model.brtp.connum" maxlength="35" placeholder="请输入合同编号"></c-input> <c-input v-model="model.brtp.connum" maxlength="35" placeholder="请输入合同编号"></c-input>
...@@ -130,58 +134,43 @@ ...@@ -130,58 +134,43 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg" style="margin-left:140px;padding: 0 10px;">发申请人</c-checkbox> <c-checkbox v-model="model.brdgrp.rec.rtoaplflg" style="margin-left:140px;padding: 0 10px;">发申请人
</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收货人名称及地址" prop="brdgrp.blk.relstoadr"> <el-form-item label="收货人名称及地址" prop="brdgrp.blk.relstoadr">
<c-input <c-input
:rows="4" :rows="4"
type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="180" show-word-limit placeholder="请输入收货人名称及地址" ></c-input> type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="180" show-word-limit
placeholder="请输入收货人名称及地址"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="船务公司" prop="brdgrp.shp.pts.extkey"> <c-ptap
<c-fullbox> :model="model"
<c-input v-model="model.brdgrp.shp.pts.extkey" maxlength="16" placeholder="请输入地址编码" :argadr="{
></c-input> title: '船务公司',
<template slot="footer"> grp: 'brdgrp',
<c-button rol: 'shp',
style="margin: 0 5px 0 10px; padding: 0 12px" }"
size="small" @keyup.enter.native="
type="primary" queryGridEtyPromptDialogData('SHP', 'C')
icon="el-icon-info" "
:noRef="true"
:disabled="false"
:isAdrblk="true"
> >
</c-ptap>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.shp.pts.adrblk">
<c-input
:rows="4"
type="textarea" v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="被通知人" prop="brdgrp.blk.notpty"> <el-form-item label="被通知人" prop="brdgrp.blk.notpty">
<c-input <c-input
:rows="4" :rows="4"
type="textarea" v-model="model.brdgrp.blk.notpty" maxlength="35" show-word-limit placeholder="请输入被通知人" ></c-input> type="textarea" v-model="model.brdgrp.blk.notpty" maxlength="35" show-word-limit
placeholder="请输入被通知人"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -196,26 +185,25 @@ ...@@ -196,26 +185,25 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
</div> </div>
</template> </template>
<script> <script>
import event from '../event' import event from '../event'
import Ptap from "~/views/Public/Ptap";
export default { export default {
components: {"c-ptap": Ptap},
inject: ['root'], inject: ['root'],
props:['model','codes'], props: ['model', 'codes'],
mixins: [event], mixins: [event],
data(){ data() {
return { return {}
}
}, },
methods:{}, methods: {},
created:function(){ 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