第一次提交
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</uni-list-item> -->
|
||||
<uni-list-item>
|
||||
<!-- <uni-list-item>
|
||||
<view class="list_header" slot="header">
|
||||
个人价
|
||||
<text v-if="aboutEnterprise.oilProductCode"
|
||||
@@ -120,7 +120,7 @@
|
||||
<text class="yuan">元</text>
|
||||
</view>
|
||||
</view>
|
||||
</uni-list-item>
|
||||
</uni-list-item> -->
|
||||
<uni-list-item>
|
||||
<view class="list_header" slot="header">
|
||||
企业价
|
||||
@@ -399,7 +399,7 @@
|
||||
key: 'bufferData',
|
||||
success() {}
|
||||
});
|
||||
that.immediate = null
|
||||
that.immediate = null
|
||||
})
|
||||
let start = new Date()
|
||||
start.setMinutes(start.getMinutes() + 35)
|
||||
@@ -410,11 +410,11 @@
|
||||
created() {},
|
||||
watch: {
|
||||
'isShow.oliType': {
|
||||
handler(n,o) {
|
||||
handler(n, o) {
|
||||
if (n) {
|
||||
this.disabled = true
|
||||
}else{
|
||||
this.disabled = false
|
||||
this.disabled = true
|
||||
} else {
|
||||
this.disabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -474,7 +474,7 @@
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
|
||||
|
||||
},
|
||||
onUnload() {
|
||||
uni.removeStorage({
|
||||
@@ -535,7 +535,7 @@
|
||||
}
|
||||
|
||||
},
|
||||
//后端要的乱七八糟的字段和值 逼事太多 直接合对象凑字段了
|
||||
//后端要的乱七八糟的字段和值 逼事太多 直接合对象凑字段了 备注:后端钱斌周!
|
||||
olioss(e, index) {
|
||||
// this.aboutEnterprise.oilProductCode = e.oilProductCode;
|
||||
// this.aboutEnterprise.oloIndex = index;
|
||||
@@ -568,18 +568,19 @@
|
||||
({
|
||||
oloIndex: that.aboutEnterprise.oloIndex
|
||||
} = bufferData);
|
||||
if(!that.aboutEnterprise.oloIndex&&that.aboutEnterprise.oloIndex!==0){
|
||||
if (!that.aboutEnterprise.oloIndex && that.aboutEnterprise.oloIndex !== 0) {
|
||||
uni.showToast({
|
||||
title:'请选择油品',
|
||||
icon:'none'
|
||||
title: '请选择油品',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
//要骂人找他们:@钱斌周、@孙毅
|
||||
this.aboutEnterprise.oilProductCode = this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex]
|
||||
.oilProductCode;
|
||||
this.immediate = that.aboutEnterprise.oloIndex;
|
||||
if(!this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice&&this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice!==0){
|
||||
if (!this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice && this
|
||||
.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice !== 0) {
|
||||
this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice = 0.0000
|
||||
}
|
||||
this.aboutEnterprise.oldMarketPrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise
|
||||
@@ -591,12 +592,11 @@
|
||||
this.aboutEnterprise.newEnterprisePrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise
|
||||
.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].enterprisePrice))).toFixed(2);
|
||||
this.aboutEnterprise.newFloorPrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise
|
||||
.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice||0))).toFixed(4);
|
||||
.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].floorPrice || 0))).toFixed(4);
|
||||
this.aboutEnterprise.newSettlementPrice = JSON.parse(JSON.stringify(Number(this.aboutEnterprise
|
||||
.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].settlementPrice))).toFixed(2);
|
||||
this.aboutEnterprise.oldfloorRemark = this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex]
|
||||
.floorRemark || '暂无说明'
|
||||
|
||||
this.aboutEnterprise = Object.assign(this.aboutEnterprise, this.aboutEnterprise.oilSiteOilsPrices[this
|
||||
.aboutEnterprise.oloIndex])
|
||||
// this.aboutEnterprise.floorRemark = ''
|
||||
@@ -611,7 +611,7 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
console.log(this.immediate,'*9***')
|
||||
console.log(this.immediate, '*9***')
|
||||
this.isShow.oliType = true;
|
||||
// this.disabled = true
|
||||
},
|
||||
@@ -701,7 +701,7 @@
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
if (
|
||||
this.aboutEnterprise.oilSiteOilsPrices[this.aboutEnterprise.oloIndex].marketPrice == this
|
||||
.aboutEnterprise.marketPrice &&
|
||||
|
||||
@@ -67,11 +67,13 @@
|
||||
lable:'油站价格',
|
||||
price:'sitePrice',
|
||||
oldePrice:'oldSitePrice'
|
||||
},{
|
||||
lable:'个人价',
|
||||
price:'personalPrice',
|
||||
oldePrice:'oldPersonalPrice'
|
||||
},{
|
||||
},
|
||||
// {
|
||||
// lable:'个人价',
|
||||
// price:'personalPrice',
|
||||
// oldePrice:'oldPersonalPrice'
|
||||
// },
|
||||
{
|
||||
lable:'企业价',
|
||||
price:'enterprisePrice',
|
||||
oldePrice:'oldEnterprisePrice'
|
||||
|
||||
Reference in New Issue
Block a user