|
@@ -146,7 +146,12 @@
|
|
<i class="el-icon-edit pointer" @click="editData('stockNum', scope.row)"></i>
|
|
<i class="el-icon-edit pointer" @click="editData('stockNum', scope.row)"></i>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</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="allStockNum" min-width="110" sortable>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span style="margin-right: 10px">{{ scope.row.allStockNum || 0 }}</span>
|
|
|
|
+ <i class="el-icon-s-data pointer" @click="editData('stockNum', scope.row)"></i>
|
|
|
|
+ </template>
|
|
|
|
+ </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="soldNum" min-width="110" sortable></el-table-column>
|
|
<el-table-column align="center" label="排序" prop="sortNum" min-width="110" sortable>
|
|
<el-table-column align="center" label="排序" prop="sortNum" min-width="110" sortable>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -237,7 +242,11 @@
|
|
<el-input v-model="scope.row.stockNum" :disabled="editType != 'stockNum'"></el-input>
|
|
<el-input v-model="scope.row.stockNum" :disabled="editType != 'stockNum'"></el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" label="仓库库存" prop="goodsMaterialStock"></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="仓库库存" prop="goodsMaterialStock">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{scope.row.goodsMaterialStock || 0}}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column align="center" label="物料编号" prop="goodsCode" min-width="120">
|
|
<el-table-column align="center" label="物料编号" prop="goodsCode" min-width="120">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-input v-model="scope.row.goodsCode"></el-input>
|
|
<el-input v-model="scope.row.goodsCode"></el-input>
|