Commit 73db41d3 authored by wanglianghe's avatar wanglianghe

商品修改

parent e10592a8
...@@ -172,18 +172,18 @@ ...@@ -172,18 +172,18 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="默认方数要求" prop="square"> <el-form-item label="订单方数上限" prop="square">
<el-input v-model.number="form.square" type="number"> <el-input v-model.number="form.square" type="number">
<!-- <template slot="append">立方米</template> --> <!-- <template slot="append">立方米</template> -->
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="需要预约入仓" prop="needBook"> <el-form-item label="是否预约入仓" prop="needBook">
<el-radio v-model.number="form.needBook" :label="1"></el-radio> <el-radio v-model.number="form.needBook" :label="1"></el-radio>
<el-radio v-model.number="form.needBook" :label="0"></el-radio> <el-radio v-model.number="form.needBook" :label="0"></el-radio>
</el-form-item> </el-form-item>
<el-form-item label="每日入仓上限" prop="dayLimit"> <el-form-item label="每日入仓上限" prop="dayLimit" v-if="form.needBook==1">
<el-input v-model.number="form.dayLimit" type="number"> <el-input v-model.number="form.dayLimit" type="number">
<template slot="append">立方米</template> <template slot="append">立方米</template>
</el-input> </el-input>
...@@ -264,10 +264,10 @@ export default { ...@@ -264,10 +264,10 @@ export default {
titleZh: [{ required: true, message: "中文标题不能为空", trigger: "blur" }], titleZh: [{ required: true, message: "中文标题不能为空", trigger: "blur" }],
titleEn: [{ required: true, message: "英文标题不能为空", trigger: "blur" }], titleEn: [{ required: true, message: "英文标题不能为空", trigger: "blur" }],
materialType: [{ required: true, message: "商品材质不能为空", trigger: "blur" }], materialType: [{ required: true, message: "商品材质不能为空", trigger: "blur" }],
packaging: [{ required: true, message: "包装要求不能为空", trigger: "blur" }], // packaging: [{ required: true, message: "包装要求不能为空", trigger: "blur" }],
containerLocation: [{ required: true, message: "默认货柜位置不能为空", trigger: "blur" }], // containerLocation: [{ required: true, message: "默认货柜位置不能为空", trigger: "blur" }],
square: [{ required: true, message: "默认方数不能为空", trigger: "blur" }], // square: [{ required: true, message: "订单方数上线不能为空", trigger: "blur" }],
needBook: [{ required: true, message: "预约入仓不能为空", trigger: "blur" }], // needBook: [{ required: true, message: "是否预约入仓不能为空", trigger: "blur" }],
}, },
CommonStatusEnum: CommonStatusEnum, CommonStatusEnum: CommonStatusEnum,
...@@ -391,6 +391,7 @@ export default { ...@@ -391,6 +391,7 @@ export default {
auditStatus: undefined, auditStatus: undefined,
status: undefined, status: undefined,
requirements: 0, requirements: 0,
needBook: 0
}; };
this.resetForm("form"); this.resetForm("form");
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment