linwenxin hai 7 meses
pai
achega
93b2c8037f
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      src/views/auxiliaryFittings/attachmentProfile/index.vue

+ 8 - 1
src/views/auxiliaryFittings/attachmentProfile/index.vue

@@ -17,7 +17,12 @@
       </template-page>
       <div v-if="~['add', 'edit'].indexOf(activeKey)">
         <div style="box-sizing: border-box; padding: 20px">
-          <zj-form-container ref="formRef" :form-data="formData" :styleSwitch="false">
+          <zj-form-container
+            ref="formRef"
+            :form-data="formData"
+            :styleSwitch="false"
+            v-if="~['add', 'edit'].indexOf(activeKey)"
+          >
             <zj-form-module
               title=""
               label-width="170px"
@@ -83,6 +88,8 @@ export default {
       formDialogTitles: ['新增', '编辑', '详情'],
       formDialog: false,
       formData: {
+        firstPrice: 0,
+        secondPrice: 0,
         companyName: JSON.parse(localStorage.getItem('greemall_user')).companyName,
         goodsType: 'P',
         goodsStockUnit: '',