去掉维修工的配件型号
This commit is contained in:
parent
233e58ed2f
commit
c50da665e9
@ -145,7 +145,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="商品名称" prop="name" align="center"/>
|
<el-table-column label="商品名称" prop="name" align="center"/>
|
||||||
<el-table-column label="规格" prop="model" align="center"/>
|
<!-- <el-table-column label="规格" prop="model" align="center"/>-->
|
||||||
<el-table-column label="数量" prop="count" align="center">
|
<el-table-column label="数量" prop="count" align="center">
|
||||||
<div v-if="scope.row.id" class="item" slot-scope="scope">
|
<div v-if="scope.row.id" class="item" slot-scope="scope">
|
||||||
<el-input @blur="save(scope.row)" class="item__input" v-model="scope.row.count"/>
|
<el-input @blur="save(scope.row)" class="item__input" v-model="scope.row.count"/>
|
||||||
@ -193,7 +193,7 @@
|
|||||||
<el-table ref="multipleTable" @selection-change="handleSelectionChange" v-loading="loading" :data="partList" :stripe="true" :show-overflow-tooltip="true">
|
<el-table ref="multipleTable" @selection-change="handleSelectionChange" v-loading="loading" :data="partList" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column type="selection" align="center" />
|
<el-table-column type="selection" align="center" />
|
||||||
<el-table-column label="商品名称" prop="name" align="center"/>
|
<el-table-column label="商品名称" prop="name" align="center"/>
|
||||||
<el-table-column label="规格" prop="model" align="center"/>
|
<!-- <el-table-column label="规格" prop="model" align="center"/>-->
|
||||||
</el-table>
|
</el-table>
|
||||||
<pagination @pagination="getWaresList" v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize"
|
<pagination @pagination="getWaresList" v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize"
|
||||||
/>
|
/>
|
||||||
@ -211,18 +211,6 @@
|
|||||||
<el-input v-model="waresFormData.name" />
|
<el-input v-model="waresFormData.name" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="规格" prop="model">
|
|
||||||
<el-input v-model="waresFormData.model" />
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
<el-row :gutter="2">
|
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="价格" prop="price">
|
|
||||||
<el-input-number v-model="waresFormData.price" />
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="所属分类" prop="type">
|
<el-form-item label="所属分类" prop="type">
|
||||||
<TreeSelect
|
<TreeSelect
|
||||||
@ -308,8 +296,6 @@ export default {
|
|||||||
},
|
},
|
||||||
waresRules:{
|
waresRules:{
|
||||||
name: [{required: true, message: '名称不能为空', trigger: 'blur'}],
|
name: [{required: true, message: '名称不能为空', trigger: 'blur'}],
|
||||||
model: [{required: true, message: '规格不能为空', trigger: 'blur'}],
|
|
||||||
price: [{required: true, message: '价格不能为空', trigger: 'blur'}],
|
|
||||||
type: [{required: true, message: '所属分类不能为空', trigger: 'blur'}],
|
type: [{required: true, message: '所属分类不能为空', trigger: 'blur'}],
|
||||||
unit: [{required: true, message: '计量单位不能为空', trigger: 'blur'}],
|
unit: [{required: true, message: '计量单位不能为空', trigger: 'blur'}],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user