Commit 0da23fa1 authored by youjie's avatar youjie

no message

parent 7007271b
......@@ -497,7 +497,7 @@ export default defineComponent({
let newData = r.data.data.filter(x=>x.Date==data.SetOutTime)
let types = data.types.filter(x => x.checked)
data.types.forEach((item:any,index:Number) => {
if(types[0].Id==item.Id&&newData[0].Price>0){
if(types&&types[0]&&types[0].Id==item.Id&&newData[0].Price>0){
item.B2BPrice = newData[0].Price
data.msg.Unit_Price = newData[0].Price
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment