|
@@ -1,50 +1,59 @@
|
|
|
<template>
|
|
<template>
|
|
|
<ele-modal :visible.sync="visible" title="入库详情" width="1200px">
|
|
<ele-modal :visible.sync="visible" title="入库详情" width="1200px">
|
|
|
- <ele-pro-table
|
|
|
|
|
- :columns="columns"
|
|
|
|
|
- :datasource="tableList"
|
|
|
|
|
- cache-key="tgDetails"
|
|
|
|
|
- height="calc(100vh - 350px)"
|
|
|
|
|
- :need-page="false"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <ele-pro-table v-if="clientEnvironmentId == 3" :columns="columns" :datasource="tableList" cache-key="tgDetails" height="calc(100vh - 350px)"
|
|
|
|
|
+ :need-page="false">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<template v-slot:packingWeight="{ row }">
|
|
<template v-slot:packingWeight="{ row }">
|
|
|
- {{ row.packingWeight }} {{ row.weightUnit }}
|
|
|
|
|
|
|
+ {{ row.packingWeight }} {{ row.weightUnit}}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<template v-slot:materielCode="{ row }">
|
|
<template v-slot:materielCode="{ row }">
|
|
|
{{ row.extInfo.materielCode }}
|
|
{{ row.extInfo.materielCode }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
<template v-slot:clientCode="{ row }">
|
|
<template v-slot:clientCode="{ row }">
|
|
|
{{ row.extInfo.clientCode }}
|
|
{{ row.extInfo.clientCode }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
<template v-slot:engrave="{ row }">
|
|
<template v-slot:engrave="{ row }">
|
|
|
{{ row.extInfo.engrave }}
|
|
{{ row.extInfo.engrave }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
|
|
|
|
|
- <ele-pro-table
|
|
|
|
|
- v-if="clientEnvironmentId == 2"
|
|
|
|
|
- :columns="columns2"
|
|
|
|
|
- :datasource="tableList"
|
|
|
|
|
- cache-key="srDetails"
|
|
|
|
|
- height="calc(100vh - 350px)"
|
|
|
|
|
- :need-page="false"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <ele-pro-table v-if="clientEnvironmentId == 2" :columns="columns2" :datasource="tableList" cache-key="srDetails" height="calc(100vh - 350px)"
|
|
|
|
|
+ :need-page="false">
|
|
|
|
|
+
|
|
|
<template v-slot:quantity="{ row }">
|
|
<template v-slot:quantity="{ row }">
|
|
|
- {{ row.quantity }} {{ row.measuringUnit }}
|
|
|
|
|
|
|
+ {{ row.quantity }} {{ row.measuringUnit }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</ele-modal>
|
|
</ele-modal>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+
|
|
|
export default {
|
|
export default {
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
computed: {
|
|
computed: {
|
|
|
clientEnvironmentId() {
|
|
clientEnvironmentId() {
|
|
|
- return this.$store.state.user.info.clientEnvironmentId;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ return this.$store.state.user.info.clientEnvironmentId;
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -63,6 +72,8 @@ export default {
|
|
|
prop: 'applyStorageId'
|
|
prop: 'applyStorageId'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
label: '物品名称',
|
|
label: '物品名称',
|
|
|
prop: 'categoryName'
|
|
prop: 'categoryName'
|
|
@@ -102,6 +113,7 @@ export default {
|
|
|
slot: 'quantity'
|
|
slot: 'quantity'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
label: '物料代号',
|
|
label: '物料代号',
|
|
|
slot: 'materielCode'
|
|
slot: 'materielCode'
|
|
@@ -118,9 +130,16 @@ export default {
|
|
|
{
|
|
{
|
|
|
label: '发货码',
|
|
label: '发货码',
|
|
|
prop: 'sendCode'
|
|
prop: 'sendCode'
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
],
|
|
],
|
|
|
|
|
|
|
|
|
|
+
|
|
|
columns2: [
|
|
columns2: [
|
|
|
{
|
|
{
|
|
|
label: '序号',
|
|
label: '序号',
|
|
@@ -134,6 +153,8 @@ export default {
|
|
|
prop: 'applyStorageId'
|
|
prop: 'applyStorageId'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
label: '物品名称',
|
|
label: '物品名称',
|
|
|
prop: 'categoryName'
|
|
prop: 'categoryName'
|
|
@@ -173,18 +194,30 @@ export default {
|
|
|
slot: 'quantity'
|
|
slot: 'quantity'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
label: '发货码',
|
|
label: '发货码',
|
|
|
prop: 'sendCode'
|
|
prop: 'sendCode'
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
]
|
|
]
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
- created() {},
|
|
|
|
|
|
|
+ created() {
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
open(row) {
|
|
open(row) {
|
|
|
if (row) {
|
|
if (row) {
|
|
|
- this.tableList = [...row.detailList];
|
|
|
|
|
|
|
+ this.tableList = [...row.detailList]
|
|
|
}
|
|
}
|
|
|
this.visible = true;
|
|
this.visible = true;
|
|
|
}
|
|
}
|