提交 465c72e3 authored 作者: 刘旭's avatar 刘旭

优化

上级 82e75636
......@@ -269,7 +269,6 @@ let tax = ref() // 税率
let lineId = ref() // 产品线id 可以分辨是产品线还是普通商品
onLoad((options: any) => {
console.log(options);
if(options.lineId) lineId.value = options.lineId
orderId.value = options.orderId
// 判断是否重复报价
......@@ -460,8 +459,7 @@ let initQuotation = (orderId: number) => {
if (res.data.code === 200) {
quotationData.value = res.data.data;
formData.value = res.data.data.quotation;
console.log(quotationData.value);
// initQuotationOrder(orderId)
// console.log(quotationData.value);
}
});
};
......@@ -507,15 +505,6 @@ let initQuotaionData = (id: number) => {
});
}
// 二次查询详细信息
let initQuotationOrder = (orderId: number) => {
quotationOrder({ orderId }).then((res: any) => {
if(res.data.data) {
formData.value = res.data.data
}
})
};
// 获取税率
let initTax = () => {
getTax().then((res: any) => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论