Commit 9d3b78b1 authored by dragondean@qq.com's avatar dragondean@qq.com
parents 92a0e37f 4c93a4d3
...@@ -482,11 +482,12 @@ export default { ...@@ -482,11 +482,12 @@ export default {
this.shopForm.orderItemId = list[0].orderItemId this.shopForm.orderItemId = list[0].orderItemId
this.shopForm.prodTitleEn = list[0].prodTitleEn this.shopForm.prodTitleEn = list[0].prodTitleEn
this.shopForm.prodTitleZh = list[0].prodTitleZh this.shopForm.prodTitleZh = list[0].prodTitleZh
var orderItemData = this.orderData.orderItemVOList.find(item=>item.orderItemId==this.shopForm.orderItemId)
var params = { var params = {
'seaFreightVolume':list[0].seaFreightVolume, 'seaFreightVolume':orderItemData.seaFreightVolume,
'clearanceFreightVolume':list[0].clearanceFreightVolume 'clearanceFreightVolume':orderItemData.clearanceFreightVolume
} }
console.log(params) console.log(orderItemData)
this.numcheck(params) this.numcheck(params)
}, },
numcheck(params){ numcheck(params){
......
...@@ -406,19 +406,12 @@ export default { ...@@ -406,19 +406,12 @@ export default {
mounted() { mounted() {
getProductBrankPage({pageSize: 100000}).then(r => { getProductBrankPage({pageSize: 100000}).then(r => {
this.brandList = [ this.brandList = r.data.list.map(e => {
{
"titleZh":"",
"titleEn":"",
"id":'0'
},
...r.data.list.map(e => {
if(e.id){ if(e.id){
e.id = e.id.toString() e.id = e.id.toString()
} }
return e return e
}) })
]
}) })
}, },
...@@ -504,7 +497,9 @@ export default { ...@@ -504,7 +497,9 @@ export default {
opened(val) { opened(val) {
if (val) { if (val) {
this.form.material = this.warehousing.material this.form.material = this.warehousing.material
this.form.brand = this.warehousing.brand?.toString() || '' if (this.warehousing.brand && this.warehousing.brand !== 0){
this.form.brand = this.warehousing.brand.toString() || ''
}
this.handleBrandChange(this.form.brand) this.handleBrandChange(this.form.brand)
getWarehouseLastUpdateApprovalInfo({ getWarehouseLastUpdateApprovalInfo({
orderItemId: this.warehousing.orderItemId, orderItemId: this.warehousing.orderItemId,
...@@ -773,7 +768,7 @@ export default { ...@@ -773,7 +768,7 @@ export default {
return brand.titleZh return brand.titleZh
} }
} }
return '0' return ''
} }
} }
} }
......
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