diff --git a/src/views/wechat/goods/index.vue b/src/views/wechat/goods/index.vue index 39583db..823e906 100644 --- a/src/views/wechat/goods/index.vue +++ b/src/views/wechat/goods/index.vue @@ -28,21 +28,21 @@ - + - +

图片规则:图片尺寸最大300像素*300像素;

- + - + @@ -50,7 +50,7 @@ 价格区间 显示折扣价 -

商品审核通过已入库,只能修改价格

+

商品审核通过已入库,只能修改价格

@@ -150,19 +150,18 @@ import rrOperation from '@crud/RR.operation' import crudOperation from '@crud/CRUD.operation' import udOperation from '@crud/UD.operation' import pagination from '@crud/Pagination' -import MaterialList from "@/components/material"; import cgood from '@/views/components/good' import singlePic from '@/components/singlematerial' // crud交由presenter持有 const defaultCrud = CRUD({ title: '直播商品', url: 'api/yxWechatLiveGoods', sort: 'goods_id,desc', crudMethod: { ...crudYxWechatLiveGoods }}) -const defaultForm = { good: {productId: null,storeName: null,image: null,price: null,otPrice: null}, goodsId: null, productId: null, coverImgeUrl: null, url: null, priceType: null, price: null, price2: null, name: null, thirdPartyTag: null, auditId: null, auditStatus: null } +const defaultForm = { good: {productId: null,storeName: null,image: null,price: null,otPrice: null}, goodsId: null, productId: null, coverImgeUrl: '', url: null, priceType: null, price: null, price2: null, name: null, thirdPartyTag: null, auditId: null, auditStatus: null } export default { name: 'YxWechatLiveGoods', - components: { pagination, crudOperation, rrOperation, udOperation ,MaterialList,cgood,singlePic}, + components: { pagination, crudOperation, rrOperation, udOperation ,cgood,singlePic}, mixins: [presenter(defaultCrud), header(), form(defaultForm), crud()], data() { return { - isdisable: false, + isdisabled: false, syncLoading: false, grid: { xl: 8, @@ -206,7 +205,7 @@ export default { this.form.price = val.price this.form.price2 = val.otPrice this.form.priceType = '3' - this.disable=true; + this.isdisabled=true; }, deep:true//对象内部的属性监听,也叫深度监听 },