商品信息

dev
wxy 2024-05-14 19:44:03 +08:00
parent e7dda3a38a
commit d6b727d47b
1 changed files with 7 additions and 7 deletions

View File

@ -320,13 +320,10 @@ import ImageUpload from "@/components/ImageUpload"
import {listBrand} from "@/api/product/brand" import {listBrand} from "@/api/product/brand"
import { listRule } from "@/api/product/rule" import { listRule } from "@/api/product/rule"
import {listAll7 } from "@/api/product/type" import {listAll7 } from "@/api/product/type"
import data from "@/views/system/dict/data.vue";
import item from "@/layout/components/Sidebar/Item.vue";
export default { export default {
components:{ImageUpload}, components:{ImageUpload},
name: "Info", name: "info",
data() { data() {
return { return {
options: [{ options: [{
@ -402,9 +399,12 @@ export default {
form: {}, form: {},
// //
rules: { rules: {
// brandId: [ name: [
// { required: true, message: "", trigger: "blur" } { required: true, message: "商品名称不能为空", trigger: "blur" }
// ] ],
unit: [
{ required: true, message: "单位不能为空", trigger: "blur" }
]
} }
}; };
}, },