|
@@ -16,7 +16,8 @@
|
|
<!-- 获取当前用户负责的仓库,如果无仓库隐藏收购信息 -->
|
|
<!-- 获取当前用户负责的仓库,如果无仓库隐藏收购信息 -->
|
|
<view class="content2" v-if="isShowAcquisitionInfo&&sgId">
|
|
<view class="content2" v-if="isShowAcquisitionInfo&&sgId">
|
|
<view>收购信息</view>
|
|
<view>收购信息</view>
|
|
- <view @click="navTo('/pages/erpbusiness/acquisitionInformation?status='+status+'&id='+sgId)">{{status}}></view>
|
|
|
|
|
|
+ <view @click="navTo('/pages/erpbusiness/acquisitionInformation?status='+status+'&id='+sgId)">{{status}}>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="wrap">
|
|
<!-- <view class="wrap">
|
|
@@ -54,7 +55,7 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- status:'',
|
|
|
|
|
|
+ status: '',
|
|
isShowAlert1: false,
|
|
isShowAlert1: false,
|
|
content1: '当前登入信息验证失败,是否重新登录?',
|
|
content1: '当前登入信息验证失败,是否重新登录?',
|
|
isShowAlert: false,
|
|
isShowAlert: false,
|
|
@@ -149,7 +150,7 @@
|
|
showTran: true,
|
|
showTran: true,
|
|
companyId: 1,
|
|
companyId: 1,
|
|
current: 4,
|
|
current: 4,
|
|
- sgId:''
|
|
|
|
|
|
+ sgId: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -191,7 +192,7 @@
|
|
uni.hideKeyboard()
|
|
uni.hideKeyboard()
|
|
uni.showTabBar()
|
|
uni.showTabBar()
|
|
this.loadData()
|
|
this.loadData()
|
|
- this.isShowAcquisitionInfo=this.utils.getRoles('acquisitionInfor.view')
|
|
|
|
|
|
+ this.isShowAcquisitionInfo = this.utils.getRoles('acquisitionInfor.view')
|
|
this.getStatus()
|
|
this.getStatus()
|
|
this.$api.doRequest('get', '/commonUser/api/checkSession').then(res => {
|
|
this.$api.doRequest('get', '/commonUser/api/checkSession').then(res => {
|
|
console.log("checkSession", res)
|
|
console.log("checkSession", res)
|
|
@@ -260,16 +261,16 @@
|
|
console.log("this.userInfo", this.userInfo)
|
|
console.log("this.userInfo", this.userInfo)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- getStatus(){
|
|
|
|
|
|
+ getStatus() {
|
|
let _obj = {
|
|
let _obj = {
|
|
- commonId:uni.getStorageSync("userInfo").id,
|
|
|
|
|
|
+ commonId: uni.getStorageSync("userInfo").id,
|
|
}
|
|
}
|
|
- this.$api.doRequest('get', '/acquisitionInfo/getInfo',_obj ).then(res => {
|
|
|
|
|
|
+ this.$api.doRequest('get', '/acquisitionInfo/getInfo', _obj).then(res => {
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
- if(res.data.data){
|
|
|
|
|
|
+ if (res.data.data) {
|
|
this.status = res.data.data.status
|
|
this.status = res.data.data.status
|
|
this.sgId = res.data.data.commonId
|
|
this.sgId = res.data.data.commonId
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
this.status = '已隐藏'
|
|
this.status = '已隐藏'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -985,7 +986,8 @@
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .content2{
|
|
|
|
|
|
+
|
|
|
|
+ .content2 {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
}
|
|
}
|