|
@@ -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: '',
|