doctor-admin-components 1.0.13-beta.8 → 1.0.13-pro.0

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.
@@ -2,7 +2,7 @@
2
2
  * @Author: zhangpengwei 15038779532@163.com
3
3
  * @Date: 2023-08-28 19:04:39
4
4
  * @LastEditors: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
5
- * @LastEditTime: 2023-10-23 17:08:54
5
+ * @LastEditTime: 2024-03-20 09:46:11
6
6
  * @FilePath: /doctor-admin-components/packages/src/views/biz/contractTracing/contractSummary.vue
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
8
  -->
@@ -172,14 +172,14 @@
172
172
  <template slot-scope="scope">
173
173
  <span v-if="dealRecord.quoteType == 'FIXED'">{{ '$' + scope.row.sllerPrice }}</span>
174
174
  <span v-else-if="dealRecord.quoteType == 'CMX'">{{ 'CMX - ' + scope.row.sllerPrice }}</span>
175
- <span v-else>{{ scope.row.sllerPrice + '%LME' }}</span>
175
+ <span v-else>{{ scope.row.sellerPriceFormula || scope.row.sllerPrice + '%LME' }}</span>
176
176
  </template>
177
177
  </el-table-column>
178
178
  <el-table-column prop="quotePrice" :label="$t('contractDetail.quotePrice')" :width="channel === 'official-website' ? 180 : 120">
179
179
  <template slot-scope="scope">
180
180
  <span v-if="dealRecord.quoteType == 'FIXED'">{{ '$' + scope.row.quotePrice }}</span>
181
181
  <span v-else-if="dealRecord.quoteType == 'CMX'">{{ 'CMX - ' + scope.row.quotePrice }}</span>
182
- <span v-else>{{ scope.row.quotePrice + '%LME' }}</span>
182
+ <span v-else>{{ scope.row.quotePriceFormula || scope.row.quotePrice + '%LME' }}</span>
183
183
  </template>
184
184
  </el-table-column>
185
185
  <el-table-column prop="totalQuote" :label="$t('contractDetail.totalQuote')" :width="channel === 'official-website' ? 180 : 120"></el-table-column>
@@ -338,9 +338,10 @@
338
338
  >
339
339
  <!-- v-if="channel == 'official-website' && scope.row.showFallbackQuality" -->
340
340
  <el-button
341
- v-if="channel == 'official-website' && scope.row.showFallbackQuality"
341
+ v-if="
342
+ channel == 'official-website'"
342
343
  size="mini"
343
- type="primary"
344
+ :type="scope.row.showFallbackQuality ? 'primary': 'info'"
344
345
  style="padding-left: 5px; padding-right: 5px"
345
346
  @click.stop="qualityFeedback(scope.row)"
346
347
  >{{ $t('contract.Quality_Feedback') }}</el-button
@@ -546,7 +547,11 @@ export default {
546
547
  * @return {*}
547
548
  */
548
549
  qualityFeedback(row) {
549
- this.$buryingPoint({ data: { funcKey: 'click_feedback' } })
550
+ this.$buryingPoint({ data: { funcKey: 'click_feedback' } });
551
+ if(!row.showFallbackQuality) {
552
+ this.$message.warning(this.$t('contract.No_quality_feedback'));
553
+ return;
554
+ }
550
555
 
551
556
  this.$store.commit('setBillNoInfo', {
552
557
  eta: row.eta,