Commit 9934a3ee by liuxin

买方信用证部分页面调整

parent 2b1dc542
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
type="date" type="date"
v-model="model.didgrp.rec.opndat" v-model="model.didgrp.rec.opndat"
disabled disabled
style="width: 95%" style="width: 100%"
placeholder="请选择开证日期" placeholder="请选择开证日期"
> >
</c-date-picker> </c-date-picker>
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
type="date" type="date"
v-model="model.didgrp.rec.expdat" v-model="model.didgrp.rec.expdat"
disabled disabled
style="width: 95%" style="width: 100%"
placeholder="到期日" placeholder="到期日"
> >
</c-date-picker> </c-date-picker>
...@@ -667,7 +667,7 @@ ...@@ -667,7 +667,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="model.bddgrp.rec.dscinsflg"> <el-form-item label="" prop="model.bddgrp.rec.dscinsflg">
<c-checkbox v-model="model.bddgrp.rec.dscinsflg" <c-checkbox v-model="model.bddgrp.rec.dscinsflg" @change="isShowDocpre"
>录入单据、不符点、结算指示和货运详细信息</c-checkbox >录入单据、不符点、结算指示和货运详细信息</c-checkbox
> >
</el-form-item> </el-form-item>
...@@ -733,6 +733,9 @@ export default { ...@@ -733,6 +733,9 @@ export default {
} }
}); });
}, },
isShowDocpre(val){
this.$emit("changeShowDocpre", val)
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<!--PD000047 --> <!--PD000047 -->
<el-tab-pane label="单据概况" name="litdckp"> <el-tab-pane label="单据概况" name="litdckp">
<c-content> <c-content>
<m-litdckp :model="model" :codes="codes" /> <m-litdckp :model="model" :codes="codes" v-on:changeShowDocpre="changeShowDocpre"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -26,10 +26,11 @@ ...@@ -26,10 +26,11 @@
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000062 --> <!--PD000062 -->
<el-tab-pane label="单据详情" name="docpre"> <el-tab-pane label="单据详情" name="docpre" v-if="isShowDocpre">
<m-docpre :model="model" :codes="codes" /> <m-docpre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000079 --> <!--PD000079 -->
<!-- <el-tab-pane label="Shipping Detail" name="shpdet"> <!-- <el-tab-pane label="Shipping Detail" name="shpdet">
<m-shpdet :model="model" :codes="codes"/> <m-shpdet :model="model" :codes="codes"/>
...@@ -115,6 +116,7 @@ export default { ...@@ -115,6 +116,7 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
isShowDocpre:false,
tabVal: "litdckp", tabVal: "litdckp",
trnName: "ditdck", trnName: "ditdck",
model: new Ditdck().data, model: new Ditdck().data,
...@@ -157,6 +159,11 @@ export default { ...@@ -157,6 +159,11 @@ export default {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
}, },
methods: {
changeShowDocpre(val) {
this.isShowDocpre = val
}
}
}; };
</script> </script>
<style> <style>
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
<c-row> <c-row>
<c-col :span="23"> <c-col :span="23">
<c-col :span="8"> <c-col :span="6">
<el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%"> <el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%" >
<c-input <c-input
v-model="model.infcon.seaownref" v-model="model.infcon.seaownref"
maxlength="16" maxlength="16"
...@@ -24,9 +24,12 @@ ...@@ -24,9 +24,12 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="2">
&nbsp;
</c-col>
<c-col :span="10">
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%"> <el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11"> <c-col :span="10">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatfrom" v-model="model.infcon.opndatfrom"
...@@ -37,7 +40,7 @@ ...@@ -37,7 +40,7 @@
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="10">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatto" v-model="model.infcon.opndatto"
...@@ -47,7 +50,7 @@ ...@@ -47,7 +50,7 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="6">
<el-form-item label="Name" prop="infcon.nam" style="width: 100%"> <el-form-item label="Name" prop="infcon.nam" style="width: 100%">
<c-input <c-input
v-model="model.infcon.nam" v-model="model.infcon.nam"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
> >
<el-row> <el-row>
<c-col :span="23"> <c-col :span="23">
<c-col :span="8"> <c-col :span="6">
<el-form-item <el-form-item
label="Own Reference" label="Own Reference"
prop="infcon.seaownref" prop="infcon.seaownref"
...@@ -26,13 +26,17 @@ ...@@ -26,13 +26,17 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="2">
&nbsp;
</c-col>
<c-col :span="10">
<el-form-item <el-form-item
label="Opening between" label="Opening between"
prop="infcon.opndatfrom" prop="infcon.opndatfrom"
style="width: 100%" style="width: 100%"
> >
<c-col :span="11"> <c-col :span="10">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatfrom" v-model="model.infcon.opndatfrom"
...@@ -44,7 +48,7 @@ ...@@ -44,7 +48,7 @@
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="10">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatto" v-model="model.infcon.opndatto"
...@@ -56,7 +60,7 @@ ...@@ -56,7 +60,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="6">
<el-form-item <el-form-item
label="Party Reference" label="Party Reference"
prop="infcon.searef" prop="infcon.searef"
......
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