Browse Source

no message

linwenxin 1 year ago
parent
commit
5c1757740c
1 changed files with 9 additions and 3 deletions
  1. 9 3
      src/views/secondHandMall/commodityManagement/form.vue

+ 9 - 3
src/views/secondHandMall/commodityManagement/form.vue

@@ -172,6 +172,12 @@ export default {
           },
         },
         {
+          name: 'el-input',
+          md: 6,
+          attributes: { disabled: true },
+          formItemAttributes: { label: '出售数量', prop: 'goumaiNum' }
+        },
+        {
           name: 'el-radio',
           options: [
             { label: '一级能效', value: "一级能效" },
@@ -180,7 +186,7 @@ export default {
             { label: '四级能效', value: "四级能效" },
             { label: '五级能效', value: "五级能效" },
           ],
-          md: 24,
+          md: 18,
           attributes: { disabled: this.disabled },
           formItemAttributes: { label: '能效标识', prop: 'mark' }
         },
@@ -356,14 +362,14 @@ export default {
         esGoodsDetail({ id: newVal }).then(res => {
           this.formData = {
             ...res.data,
+            goumaiNum: res.data?.esOrderInfo?.num || '',
             imgList: res.data.imgList.map(item => {
               return {
                 ...item,
-                url: item.imgUrl
+                url: item.imgUrl,
               }
             })
           }
-          console.log(this.formData)
           this.cpdata = JSON.parse(JSON.stringify(res.data))
         })
       },