From dc1fee7f3f0d38be08c994297c083410dc77a737 Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Sat, 5 Sep 2020 21:51:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B4=E6=92=AD=E5=95=86?= =?UTF-8?q?=E5=93=81=E6=B7=BB=E5=8A=A0=E5=9B=BE=E7=89=87=E6=98=BE=E7=A4=BA?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wechat/goods/index.vue | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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//对象内部的属性监听,也叫深度监听 },