|
@@ -11,8 +11,8 @@
|
|
|
<el-form ref="tableScreenForm" :model="tableScreenForm" label-width="70px" size="small" label-position="left">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :xs="24" :sm="8" :lg="8">
|
|
|
- <el-form-item label="辅材编号" prop="goodsId">
|
|
|
- <el-input v-model="tableScreenForm.goodsId" placeholder="辅材编号" size="small" />
|
|
|
+ <el-form-item label="商品编号" prop="goodsId">
|
|
|
+ <el-input v-model="tableScreenForm.goodsId" placeholder="商品编号" size="small" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="8" :lg="8">
|
|
@@ -51,6 +51,7 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="8" :lg="8" class="tr">
|
|
|
<el-form-item label="">
|
|
|
+ <el-button size="small" @click="chongzhi">重置</el-button>
|
|
|
<el-button size="small" type="primary" @click="getGoodsListByScreen">搜索</el-button>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -72,6 +73,8 @@
|
|
|
<el-table-column prop="parentCategoryName" label="大类类名称" />
|
|
|
<el-table-column prop="categoryName" label="小类名称" />
|
|
|
<el-table-column prop="goodsName" label="辅材名称" />
|
|
|
+ <el-table-column prop="goodsId" label="商品编码" />
|
|
|
+ <el-table-column prop="goodsCode" label="商品代码" />
|
|
|
<el-table-column prop="goodsStockUnit" label="单位" />
|
|
|
<el-table-column prop="goodsSpecification" label="规格型号" />
|
|
|
<el-table-column prop="remark" label="备注" />
|
|
@@ -183,6 +186,16 @@ export default {
|
|
|
this.table_listTotal = res.data.total
|
|
|
})
|
|
|
},
|
|
|
+ chongzhi() {
|
|
|
+ this.tableScreenForm = {
|
|
|
+ goodsId: '',
|
|
|
+ goodsName: '',
|
|
|
+ goodsCode: '',
|
|
|
+ categoryId: '',
|
|
|
+ goodsSpecification: ''
|
|
|
+ }
|
|
|
+ this.getGoodsListByScreen()
|
|
|
+ },
|
|
|
// 搜索
|
|
|
getGoodsListByScreen() {
|
|
|
this.handleTableCurrentChange(1)
|