|
@@ -282,6 +282,7 @@
|
|
|
:default-name="form.product_alias_name || ''"
|
|
|
:data-for-edit="quoteList"
|
|
|
:parent-id="form.entity_id || 0"
|
|
|
+ :default-sku="skuInfo"
|
|
|
@create="quotaCreated"
|
|
|
></editInfo>
|
|
|
<sku-select
|
|
@@ -516,11 +517,19 @@ let computedRules = computed(() => {
|
|
|
const customList = ref([] as any[])
|
|
|
const loading = ref(false)
|
|
|
const quoteList = ref([])
|
|
|
+let skuInfo = ref({} as any)
|
|
|
|
|
|
const selectSku = (data: any) => {
|
|
|
form.value.product_name = data.product_name || ''
|
|
|
form.value.product_sku = data.product_sku || ''
|
|
|
form.value.item_id = data.id || ''
|
|
|
+ skuInfo.value = {
|
|
|
+ Carton_Weight_Kg: data.Carton_Weight_Kg || '',
|
|
|
+ Carton_Qty: data.Carton_Qty || '',
|
|
|
+ Width: data.Width || '',
|
|
|
+ Thickness_Height: data.Thickness_Height || '',
|
|
|
+ Length: data.Length || '',
|
|
|
+ }
|
|
|
}
|
|
|
const customChange = (value: any) => {
|
|
|
const temp = customList.value.filter((i: any) => i.name === value)
|