|
@@ -18,6 +18,26 @@
|
|
|
<el-table-column :label="column.label" :prop="column.prop" :show-overflow-tooltip="true"
|
|
<el-table-column :label="column.label" :prop="column.prop" :show-overflow-tooltip="true"
|
|
|
:width="column.width" :align="column.align"></el-table-column>
|
|
:width="column.width" :align="column.align"></el-table-column>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <el-table-column label="物料代号" prop="materielDesignation" align="center" width="100" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span>{{scope.row.materielDesignation}}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="客户代号" prop="clientCode" align="center" width="100" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span>{{scope.row.clientCode}}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="刻码" prop="engrave" align="center" width="100" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span>{{scope.row.engrave}}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="重量" prop="weight" align="center" width="100" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span>{{scope.row.weight}}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
|
|
|
:current-page="pagination.currentPage" :page-sizes="[10, 20, 50, 100]" :page-size="pagination.pageSize"
|
|
:current-page="pagination.currentPage" :page-sizes="[10, 20, 50, 100]" :page-size="pagination.pageSize"
|
|
@@ -37,16 +57,36 @@
|
|
|
{{ scope.row.categoryCode }}
|
|
{{ scope.row.categoryCode }}
|
|
|
</el-link>
|
|
</el-link>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else-if="column.prop === 'weight'">
|
|
|
|
|
- <el-input type="number" v-model="scope.row.weight" :min="0"
|
|
|
|
|
- @input="inputWeight(scope.row, scope.$index)"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+<!-- <template v-else-if="column.prop === 'weight'">-->
|
|
|
|
|
+<!-- <el-input type="number" v-model="scope.row.weight" :min="0"-->
|
|
|
|
|
+<!-- @input="inputWeight(scope.row, scope.$index)"></el-input>-->
|
|
|
|
|
+<!-- </template>-->
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
{{ scope.row[column.prop] }}
|
|
{{ scope.row[column.prop] }}
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <el-table-column label="物料代号" prop="materielDesignation" align="center" width="100" fixed="right" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-input :disabled="scope.row.isMaterielDesignationEmpty" v-model="scope.row.materielDesignation" ></el-input>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="客户代号" prop="clientCode" align="center" width="100" fixed="right" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-input :disabled="scope.row.isClientCodeEmpty" v-model="scope.row.clientCode" ></el-input>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="刻码" prop="engrave" align="center" width="100" fixed="right" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-input :disabled="scope.row.isEngraveEmpty" v-model="scope.row.engrave" ></el-input>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="重量" prop="weight" align="center" width="100" fixed="right" :show-overflow-tooltip="true">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-input type="number" v-model="scope.row.weight" :min="0" @input="inputWeight(scope.row, scope.$index)"></el-input>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="处置状态" prop="disposalStatus" align="center" width="80" fixed="right"
|
|
<el-table-column label="处置状态" prop="disposalStatus" align="center" width="80" fixed="right"
|
|
|
:show-overflow-tooltip="true">
|
|
:show-overflow-tooltip="true">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -165,10 +205,12 @@ export default {
|
|
|
{ label: '包装单位', prop: 'packingUnit', align: 'center' },
|
|
{ label: '包装单位', prop: 'packingUnit', align: 'center' },
|
|
|
{ label: '计量数量', prop: 'measureQuantity', align: 'center' },
|
|
{ label: '计量数量', prop: 'measureQuantity', align: 'center' },
|
|
|
{ label: '计量单位', prop: 'measureUnit', align: 'center' },
|
|
{ label: '计量单位', prop: 'measureUnit', align: 'center' },
|
|
|
- { label: '物料代号', prop: 'materielDesignation', align: 'center' },
|
|
|
|
|
- { label: '客户代号', prop: 'clientCode', align: 'center' },
|
|
|
|
|
- { label: '刻码', prop: 'engrave', align: 'center' },
|
|
|
|
|
- { label: '重量', prop: 'weight', align: 'center', width: "100" },
|
|
|
|
|
|
|
+ { label: '供应商名称', prop: 'supplierName', align: 'center' ,width: '120' },
|
|
|
|
|
+ { label: '供应商代号', prop: 'supplierCode', align: 'center' ,width: '120'},
|
|
|
|
|
+ // { label: '物料代号', prop: 'materielDesignation', align: 'center' },
|
|
|
|
|
+ // { label: '客户代号', prop: 'clientCode', align: 'center' },
|
|
|
|
|
+ // { label: '刻码', prop: 'engrave', align: 'center' },
|
|
|
|
|
+ // { label: '重量', prop: 'weight', align: 'center', width: "100" },
|
|
|
{ label: '重量单位', prop: 'weightUnit', align: 'center', width: "100" },
|
|
{ label: '重量单位', prop: 'weightUnit', align: 'center', width: "100" },
|
|
|
{ label: '仓库', prop: 'warehouseName', align: 'center' },
|
|
{ label: '仓库', prop: 'warehouseName', align: 'center' },
|
|
|
{ label: '货区', prop: 'areaName', align: 'center' },
|
|
{ label: '货区', prop: 'areaName', align: 'center' },
|