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

优化

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