|
@@ -139,13 +139,14 @@
|
|
|
<i class="el-icon-edit pointer" @click="editData('innerSharePercent', scope.row)"></i>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="库存" prop="stockNum" min-width="110" sortable>
|
|
|
+ <el-table-column align="center" label="商品库存" prop="stockNum" min-width="110" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
<!-- {{ scope.row.stockNum }} -->
|
|
|
<span style="margin-right: 10px">{{ scope.row.stockNum }}</span>
|
|
|
<i class="el-icon-edit pointer" @click="editData('stockNum', scope.row)"></i>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="仓库库存" prop="allStockNum" min-width="110" sortable></el-table-column>
|
|
|
<el-table-column align="center" label="销量" prop="soldNum" min-width="110" sortable></el-table-column>
|
|
|
<el-table-column align="center" label="排序" prop="sortNum" min-width="110" sortable>
|
|
|
<template slot-scope="scope">
|
|
@@ -231,11 +232,12 @@
|
|
|
<el-input v-model="scope.row.innerSharePercent" :disabled="editType !== 'innerSharePercent'"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="库存" prop="stockNum" min-width="120">
|
|
|
+ <el-table-column align="center" label="商品库存" prop="stockNum" min-width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input v-model="scope.row.stockNum" :disabled="editType != 'stockNum'"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="仓库库存" prop="goodsMaterialStock"></el-table-column>
|
|
|
<el-table-column align="center" label="物料编号" prop="goodsCode" min-width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input v-model="scope.row.goodsCode"></el-input>
|
|
@@ -493,7 +495,7 @@ export default {
|
|
|
sharePercent: '佣金比例',
|
|
|
innerShareAmount: '内部分销金额',
|
|
|
innerSharePercent: '内部佣金比例',
|
|
|
- stockNum: '库存',
|
|
|
+ stockNum: '商品库存',
|
|
|
sortNum: '排序'
|
|
|
}
|
|
|
await getGoodsDetail({goodsId: item.goodsId}).then(res => {
|