Browse Source

2026-01-27

销售报价查询优化
master
fengyuan_yang 1 month ago
parent
commit
c51c3ffbe6
  1. 14
      src/views/modules/quote/detail/quoteDetail.vue

14
src/views/modules/quote/detail/quoteDetail.vue

@ -1112,9 +1112,12 @@ export default {
watch:{
quote(newVal,oldVal){
if (newVal.id){
this.quoteDetail.profitRate = this.quote.markup
this.quoteDetail.quoteProfitRate = this.quote.markup
this.handleQueryQuoteDetail();
// quote.id
if (newVal.id !== (oldVal && oldVal.id)) {
this.quoteDetail.profitRate = this.quote.markup
this.quoteDetail.quoteProfitRate = this.quote.markup
this.handleQueryQuoteDetail();
}
}else {
this.dataList = [];
}
@ -1149,7 +1152,10 @@ export default {
created() {
this.quoteDetail.profitRate = this.quote.markup
this.quoteDetail.quoteProfitRate = this.quote.markup
this.handleQueryQuoteDetail();
// quote.id watch
if (this.quote.id) {
this.handleQueryQuoteDetail();
}
}
}
</script>

Loading…
Cancel
Save