@ -1,5 +1,5 @@
< template >
< el -dialog v-model ="dialogTableVisible" title="标签" width="1100" >
< el -dialog v-model ="dialogTableVisible" : title="t('ts. 标签') " width="1100" >
< div v-loading ="isLoading" >
< el -table
: data = "showTableData()"
@ -31,12 +31,12 @@
< template # default = "scope1" >
< div style = "margin-left: 150px; margin-top: -8px; margin-bottom: -8px" >
< el -table :data ="scope1.row.children" border style = "width: 300px" row -key = " id " >
< el -table -column label = "箱行号 " width = "100" prop = "xPoNumber" align = "center" >
< el -table -column :label ="t('ts.箱行号') " width = "100" prop = "xPoNumber" align = "center" >
< template # default = "scope2" >
{ { scope2 . $index + 1 } }
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "数量 " width = "100" prop = "qtyTwo" align = "center" >
< el -table -column :label ="t('ts.数量') " width = "100" prop = "qtyTwo" align = "center" >
< template # default = "scope2" >
< el -input
v - model = "scope2.row.qtyTwo"
@ -44,7 +44,7 @@
/ >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "添加箱 " width = "100" prop = "add" align = "center" >
< el -table -column :label ="t('ts.添加箱') " width = "100" prop = "add" align = "center" >
< template # header >
< el -button
type = "primary"
@ -68,7 +68,7 @@
1
)
"
> 移出 < / e l - b u t t o n
> { { t ( 'ts. 移出' ) } } < / e l - b u t t o n
>
< / template >
< / e l - t a b l e - c o l u m n >
@ -76,12 +76,12 @@
< / div >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "托行号 " width = "100" prop = "tPoNumber" align = "center" >
< el -table -column :label ="t('ts.托行号') " width = "100" prop = "tPoNumber" align = "center" >
< template # default = "scope" >
{ { scope . $index + 1 } }
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "箱个数 " width = "100" prop = "xNumber" align = "center" >
< el -table -column :label ="t('ts.箱个数') " width = "100" prop = "xNumber" align = "center" >
< template # default = "scope1" >
< el -input
v - model = "scope1.row.xNumber"
@ -90,20 +90,20 @@
/ >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "数量 " width = "100" prop = "qtyOne" align = "center" / >
< el -table -column label = "操作 " width = "100" prop = "action" align = "center" >
< el -table -column :label ="t('ts.数量') " width = "100" prop = "qtyOne" align = "center" / >
< el -table -column :label ="t('ts.操作') " width = "100" prop = "action" align = "center" >
< template # default = "scope1" >
< el -button
type = "warning"
link
@ click = "removeT(scope.row, scope.$index, scope1.row, scope1.$index)"
> 移出 < / e l - b u t t o n
> { { t ( 'ts. 移出' ) } } < / e l - b u t t o n
>
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "添加托 " width = "100" prop = "add" align = "center" >
< el -table -column :label ="t('ts.添加托') " width = "100" prop = "add" align = "center" >
< template # header >
< el -button type = "primary" link @click ="addT(scope.row)" > 添加托 < / el -button >
< el -button type = "primary" link @click ="addT(scope.row)" > {{ t ( ' ts. 添加托' ) }} < / el -button >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e >
@ -114,12 +114,12 @@
>
< div v-for ="(item, index) in scope.row.packageList" :key ="index" >
< el -table :data ="item.children" border style = "width: 300px" row -key = " id " >
< el -table -column label = "箱行号 " width = "100" prop = "xPoNumber" align = "center" >
< el -table -column :label ="t('ts.箱行号') " width = "100" prop = "xPoNumber" align = "center" >
< template # default = "scope1" >
{ { scope1 . $index + 1 } }
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "数量 " width = "100" prop = "qtyOne" align = "center" >
< el -table -column :label ="t('ts.数量') " width = "100" prop = "qtyOne" align = "center" >
< template # default = "scope1" >
< el -input
v - model = "scope1.row.qtyTwo"
@ -127,13 +127,13 @@
/ >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "添加箱 " width = "100" prop = "add" align = "center" >
< el -table -column :label ="t('ts.添加箱') " width = "100" prop = "add" align = "center" >
< template # header >
< el -button
type = "primary"
link
@ click = "addX(scope.row, scope.$index, item, index)"
> 添加箱 < / e l - b u t t o n
> { { t ( 'ts. 添加箱' ) } } < / e l - b u t t o n
>
< / template >
< template # default = "scope1" >
@ -143,7 +143,7 @@
@ click = "
removeX ( scope . row , scope . $index , item , index , scope1 . row , scope1 . $index )
"
> 移出 < / e l - b u t t o n
> { { t ( 'ts. 移出' ) } } < / e l - b u t t o n
>
< / template >
< / e l - t a b l e - c o l u m n >
@ -152,17 +152,17 @@
< / div >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "物料代码 " width = "150" prop = "itemCode" align = "center" / >
< el -table -column label = "批次 " width = "150" prop = "batch" align = "center" / >
< el -table -column label = "数量 " width = "100" prop = "qty" align = "center" / >
< el -table -column label = "计量单位 " width = "100" prop = "uom" align = "center" >
< el -table -column :label ="t('ts.物料代码') " width = "150" prop = "itemCode" align = "center" / >
< el -table -column :label ="t('ts.批次') " width = "150" prop = "batch" align = "center" / >
< el -table -column :label ="t('ts.数量') " width = "100" prop = "qty" align = "center" / >
< el -table -column :label ="t('ts.计量单位') " width = "100" prop = "uom" align = "center" >
< template # default = "scope" > { { uomLabel ( scope . row ) } } < / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "托个数 " width = "100" prop = "allTuoQty" align = "center" / >
< el -table -column label = "托规格 " width = "100" prop = "secondPackUnit" align = "center" / >
< el -table -column label = "托数量 " width = "100" prop = "secondPackQty" align = "center" / >
< el -table -column label = "箱规格 " width = "100" prop = "packUnit" align = "center" / >
< el -table -column label = "箱数量 " width = "100" prop = "packQty" align = "center" / >
< el -table -column :label ="t('ts.托个数') " width = "100" prop = "allTuoQty" align = "center" / >
< el -table -column :label ="t('ts.托规格') " width = "100" prop = "secondPackUnit" align = "center" / >
< el -table -column :label ="t('ts.托数量') " width = "100" prop = "secondPackQty" align = "center" / >
< el -table -column :label ="t('ts.托数量') " width = "100" prop = "packUnit" align = "center" / >
< el -table -column :label ="t('ts.托数量') " width = "100" prop = "packQty" align = "center" / >
< / e l - t a b l e >
< el -pagination
v - show = "tableData.length > 10"