|
|
@@ -34,8 +34,7 @@
|
|
|
<Cell title="电子合同" value="下载" is-link @click="openPDF(detail.contractaddrbuy)"
|
|
|
v-if="detail?.contractaddrbuy" />
|
|
|
</CellGroup>
|
|
|
- <CellGroup title="点价信息"
|
|
|
- v-if="detail.pointflag && (detail.buyuserid === detail.firstbuyuserid || ['2', '3'].includes(type.toString()))">
|
|
|
+ <CellGroup title="点价信息" v-if="detail.buyuserid === detail.firstbuyuserid">
|
|
|
<Cell title="今日点价收益" :value="detail.todaypointincome + '元'" />
|
|
|
<Cell title="点价总收益" :value="detail.pointincome + '元'" />
|
|
|
</CellGroup>
|
|
|
@@ -121,7 +120,7 @@ const spotPricingSubmit = () => {
|
|
|
const { priceflag, ystspotgoodsprice, todayspotgoodsprice, diffprice } = spotgoods.value ?? {}
|
|
|
|
|
|
if (pointflag) {
|
|
|
- dialog('当日采购不能点价或当日已点价,请明天再试。')
|
|
|
+ dialog('采购当日不能点价或当日已点价,请明天再试。')
|
|
|
} else if (priceflag) {
|
|
|
let message = `今日差价${diffprice}(昨结${ystspotgoodsprice},今开${todayspotgoodsprice}),是否点价?\n`
|
|
|
message += `<span style="color:red;">剩余点价次数${availabletime}/${pointtimes}</span>`
|