|
|
@ -408,6 +408,12 @@ export default { |
|
|
return this.selection.split(',') |
|
|
return this.selection.split(',') |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
unitPrice(){ |
|
|
|
|
|
if (this.quoteDetail.exchangeRate2 === 0){ |
|
|
|
|
|
return 0 |
|
|
|
|
|
} |
|
|
|
|
|
return this.quoteDetail.unitPrice/this.quoteDetail.exchangeRate2 |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
if (this.quoteDetail.calculatedItems){ |
|
|
if (this.quoteDetail.calculatedItems){ |
|
|
@ -598,7 +604,7 @@ export default { |
|
|
<legend>最终价格</legend> |
|
|
<legend>最终价格</legend> |
|
|
<el-row :gutter="10"> |
|
|
<el-row :gutter="10"> |
|
|
<el-col :span="4"> |
|
|
<el-col :span="4"> |
|
|
<el-form-item label="未税单价:" prop="unitPrice" :show-message="false"> |
|
|
|
|
|
|
|
|
<el-form-item label="未税单价(CNY):" prop="unitPrice" :show-message="false"> |
|
|
<el-input-number style="width: 100%;" :controls="false" |
|
|
<el-input-number style="width: 100%;" :controls="false" |
|
|
v-model="quoteDetail.unitPrice" :step="0" :min="0" :precision="6" disabled/> |
|
|
v-model="quoteDetail.unitPrice" :step="0" :min="0" :precision="6" disabled/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
@ -624,7 +630,9 @@ export default { |
|
|
</el-row> |
|
|
</el-row> |
|
|
<el-row :gutter="10"> |
|
|
<el-row :gutter="10"> |
|
|
<el-col :span="4"> |
|
|
<el-col :span="4"> |
|
|
<el-form-item label=" "></el-form-item> |
|
|
|
|
|
|
|
|
<el-form-item label="未税单价"> |
|
|
|
|
|
<el-input-number style="width: 100%;" v-model="unitPrice" :controls="false" :step="0" :precision="6" :min="0" disabled></el-input-number> |
|
|
|
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="4"> |
|
|
<el-col :span="4"> |
|
|
<el-form-item label="币种:"> |
|
|
<el-form-item label="币种:"> |
|
|
|