|
|
@@ -48,6 +48,12 @@
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="是否特殊" prop="specialProducts">
|
|
|
+ <el-select v-model="queryParams.specialProducts" placeholder="是否特殊" clearable size="small">
|
|
|
+ <el-option label="是" :value="1" />
|
|
|
+ <el-option label="否" :value="0" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
@@ -481,20 +487,28 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="6">
|
|
|
<el-form-item label="商城展示" prop="isDisplay">
|
|
|
<el-radio-group v-model="form.isDisplay">
|
|
|
<el-radio :label="item.dictValue" v-for="item in isDisplayOptions" >{{item.dictLabel}}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="是否特殊商品" prop="specialProducts"> <!-- 新增字段 -->
|
|
|
+ <el-radio-group v-model="form.specialProducts">
|
|
|
+ <el-radio :label="1">是</el-radio>
|
|
|
+ <el-radio :label="0">否</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6">
|
|
|
|
|
|
<el-form-item label="排序" prop="sort">
|
|
|
<el-input-number :min="0" v-model="form.sort" placeholder="请输入排序" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="6">
|
|
|
<el-form-item label="销量" prop="sales">
|
|
|
<el-input-number :min="0" v-model="form.sales" placeholder="请输入销量" />
|
|
|
</el-form-item>
|
|
|
@@ -690,6 +704,7 @@ export default {
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
+ specialProducts: null,
|
|
|
productName: null,
|
|
|
productType: null,
|
|
|
isShow: "1",
|
|
|
@@ -1022,6 +1037,7 @@ export default {
|
|
|
prescribeFactory: null,
|
|
|
prescribeName: null,
|
|
|
isDisplay:"1",
|
|
|
+ specialProducts: 0,
|
|
|
warehouseCode: null,
|
|
|
warehouseId: null
|
|
|
};
|
|
|
@@ -1088,6 +1104,7 @@ export default {
|
|
|
this.form.isNew = response.data.isNew.toString();
|
|
|
this.form.productType = response.data.productType.toString();
|
|
|
this.form.isDisplay = response.data.isDisplay.toString();
|
|
|
+ this.form.specialProducts = response.data.specialProducts || 0;
|
|
|
|
|
|
this.warehouseModel = response.data.warehouseId
|
|
|
|