doctor-admin-components 1.0.14-beta.27 → 1.0.14-beta.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: zhangpengwei 15038779532@163.com
|
|
3
3
|
* @Date: 2023-07-31 17:40:56
|
|
4
4
|
* @LastEditors: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
|
|
5
|
-
* @LastEditTime: 2024-08-22 15:
|
|
5
|
+
* @LastEditTime: 2024-08-22 15:53:26
|
|
6
6
|
* @FilePath: /doctor-admin-components/packages/src/views/biz/contractTracing/chargingDialog.vue
|
|
7
7
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
8
|
-->
|
|
@@ -32,14 +32,18 @@
|
|
|
32
32
|
<el-table-column align="center" label="单价($)" width="100" prop="purchasePriceResult">
|
|
33
33
|
<template slot-scope="{ row }">
|
|
34
34
|
<div style="white-space: pre-line !important" v-for="(item, index) in getColumnPropArray(row)" :key="index">
|
|
35
|
-
<el-tooltip class="ml10" effect="dark" placement="top">
|
|
35
|
+
<el-tooltip v-if="getPurchaseAmountTip(item, row)" class="ml10" effect="dark" placement="top">
|
|
36
36
|
<template slot="content">
|
|
37
37
|
{{getPurchaseAmountTip(item, row)}}
|
|
38
38
|
</template>
|
|
39
|
-
<span
|
|
39
|
+
<span>
|
|
40
|
+
<span :style="item.purchasePriceResult != item.purchaseActualUnitPrice ? 'color:red' : ''"> {{$formatNumber(item.purchasePriceResult, 2)}}
|
|
41
|
+
</span>
|
|
40
42
|
<i class="el-icon-question"></i>
|
|
41
43
|
</span>
|
|
42
44
|
</el-tooltip>
|
|
45
|
+
<span v-else :style="item.purchasePriceResult != item.purchaseActualUnitPrice ? 'color:red' : ''"> {{$formatNumber(item.purchasePriceResult, 2)}}
|
|
46
|
+
</span>
|
|
43
47
|
</div>
|
|
44
48
|
</template>
|
|
45
49
|
</el-table-column>
|
|
@@ -411,8 +415,10 @@ export default {
|
|
|
411
415
|
})
|
|
412
416
|
},
|
|
413
417
|
getPurchaseAmountTip(item, row) {
|
|
414
|
-
|
|
415
|
-
|
|
418
|
+
if(item.quoteType != '"FIXED"') {
|
|
419
|
+
return ''
|
|
420
|
+
}
|
|
421
|
+
let msg = '成交单价为'
|
|
416
422
|
msg = msg + (item.quoteType.includes('CMX') ? item.quoteType + item.purchaseUnitPrice : item.quoteType.includes('LME') ? item.purchaseUnitPrice + '%' + item.quoteType : '')
|
|
417
423
|
msg = msg + ', ' + row.pointDate + '点到的期货价格为$' + row.pointPrice
|
|
418
424
|
return msg
|