Commit d662efc1 by 闫泽浩

letrsv get ref新增

parent 9cb52372
...@@ -140,9 +140,9 @@ export default { ...@@ -140,9 +140,9 @@ export default {
//获取信用证编号 //获取信用证编号
async onLitpButgetref() { async onLitpButgetref() {
let params = { let params = {
ptainr: this.model.ledgrp.apl.pts.ptainr, ptainr: this.model.ledgrp.ben.pts.ptainr,
businessType: 'AD', businessType: 'RS',
tbl: 'AD', tbl: 'RS',
}; };
const loading = this.loading(); const loading = this.loading();
let res = await Api.post('/service/letrsv/getOwnRef', params); let res = await Api.post('/service/letrsv/getOwnRef', params);
......
...@@ -23,20 +23,18 @@ ...@@ -23,20 +23,18 @@
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
> >
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
>
获取
</c-button> </c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref? false: true"
@click="onLitpButgetref"
>
获取
</c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
......
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