|
|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
<view style="background-color: white"> |
|
|
|
<uni-nav-bar :fixed="true" color="#ffffff" background-color="#ffffff" :status-bar="true" :border="false" left-icon="closeempty" @clickLeft="close" /> |
|
|
|
<view class="logo_area"> |
|
|
|
<image class="logo" src="/static/logo.png"></image> |
|
|
|
@ -160,14 +160,6 @@ export default { |
|
|
|
if (!res.enterpriseList || res.enterpriseList.length === 0) { |
|
|
|
go2('enterprise-info', { operation: 'add' }, true) |
|
|
|
} else { |
|
|
|
let supplierInfo = res.enterpriseList[0] |
|
|
|
store.commit('setSupplierInfo', { |
|
|
|
id: supplierInfo.id, |
|
|
|
name: supplierInfo.name, |
|
|
|
fddEnterpriseStatus: supplierInfo.fddEnterpriseStatus, |
|
|
|
supplierId: supplierInfo.supplier.id |
|
|
|
}) |
|
|
|
store.commit('setUserInfo', { name: supplierInfo.employeeName, userId: res.userId, mobile: res.mobile, avatar: null }) |
|
|
|
go2('client') |
|
|
|
} |
|
|
|
} |
|
|
|
|