Commit 8d8e110a authored by 许珑标's avatar 许珑标

代发企业签约

parent bac98c74
...@@ -320,6 +320,17 @@ ...@@ -320,6 +320,17 @@
<el-button @click="bindAcc.panel = false">关 闭</el-button> <el-button @click="bindAcc.panel = false">关 闭</el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog title="扫码签约" :visible.sync="bindAcc.codePanel" width="300px" style="text-align: center">
<h3>1、请打开对应企业的支付宝</h3>
<h3>2、扫描下方二维码</h3>
<qr-code-component :text="bindAcc.codeUrl" />
<h3>操作完成后大约5-10分钟</h3>
<h3>可刷新页面查看结果</h3>
<div slot="footer" class="dialog-footer">
<el-button @click="bindAcc.codePanel = false">关 闭</el-button>
</div>
</el-dialog>
</div> </div>
</template> </template>
...@@ -340,7 +351,9 @@ export default { ...@@ -340,7 +351,9 @@ export default {
bindAcc: { bindAcc: {
panel: false, panel: false,
companyId: null, companyId: null,
taxUnitList: [] taxUnitList: [],
codePanel: false,
codeUrl: '',
}, },
billPanel: false, billPanel: false,
qrPayPanel: { qrPayPanel: {
...@@ -603,7 +616,8 @@ export default { ...@@ -603,7 +616,8 @@ export default {
this.$modal.loading() this.$modal.loading()
bindUnitAcc(this.bindAcc.companyId).then(resp => { bindUnitAcc(this.bindAcc.companyId).then(resp => {
if (200 === resp.code) { if (200 === resp.code) {
this.$modal.msgSuccess("操作成功") this.bindAcc.codeUrl = resp.data
this.bindAcc.codePanel = true
} }
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
......
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