款式管理新增页面

zhc4dev
暖暖 2 years ago
parent 7e5b1782fe
commit 7657f4c8be
  1. 46
      ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleForm.vue

@ -3,9 +3,9 @@
<j-form-container :disabled="formDisabled"> <j-form-container :disabled="formDisabled">
<!-- <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail" :layout="horizontal">--> <!-- <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail" :layout="horizontal">-->
<a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail"> <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
<a-row> <a-row type="flex" justify="space-between">
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="企业" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="enterpriseId"> <a-form-model-item label="企业" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="enterpriseId" class="label">
<j-select-depart v-model="model.enterpriseId" multi/> <j-select-depart v-model="model.enterpriseId" multi/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -23,10 +23,9 @@
</a-form-model-item> </a-form-model-item>
<a-input v-model="model.typeId" hidden/> <a-input v-model="model.typeId" hidden/>
</a-col> </a-col>
</a-row>
<a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="形式" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="shape"> <a-form-model-item label="形式" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="shape" class="label">
<j-dict-select-tag type="radio" v-model="model.shape" dictCode="style_shape" <j-dict-select-tag type="radio" v-model="model.shape" dictCode="style_shape"
placeholder="请输入形式"></j-dict-select-tag> placeholder="请输入形式"></j-dict-select-tag>
</a-form-model-item> </a-form-model-item>
@ -37,11 +36,9 @@
<a-input v-model="model.styleNames" placeholder="请输入款式名称"></a-input> <a-input v-model="model.styleNames" placeholder="请输入款式名称"></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row>
<a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="编号" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="nums"> <a-form-model-item label="编号" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="nums" class="label">
<a-input v-model="model.nums" placeholder="请输入编号" disabled=""></a-input> <a-input v-model="model.nums" placeholder="请输入编号" disabled=""></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -51,11 +48,9 @@
<a-input v-model="model.quotaMaterials" placeholder="请输入定额用料"></a-input> <a-input v-model="model.quotaMaterials" placeholder="请输入定额用料"></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row>
<a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="规格" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="specification"> <a-form-model-item label="规格" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="specification" class="label">
<a-input v-model="model.specification" placeholder="请输入规格"></a-input> <a-input v-model="model.specification" placeholder="请输入规格"></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -64,10 +59,9 @@
<a-input v-model="model.error" placeholder="请输入测体余量"></a-input> <a-input v-model="model.error" placeholder="请输入测体余量"></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row>
<a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="风格" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="characteristic"> <a-form-model-item label="风格" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="characteristic" class="label">
<a-input v-model="model.characteristic" placeholder="请输入风格"></a-input> <a-input v-model="model.characteristic" placeholder="请输入风格"></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -76,27 +70,22 @@
<j-dict-select-tag v-model="model.sewingForm" placeholder="请选择缝纫形式" dict-code="sewingForm"/> <j-dict-select-tag v-model="model.sewingForm" placeholder="请选择缝纫形式" dict-code="sewingForm"/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row>
<a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="结构" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="structure"> <a-form-model-item label="结构" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="structure" class="label">
<a-input v-model="model.structure" placeholder="请输入结构"></a-input> <a-input v-model="model.structure" placeholder="请输入结构"></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row>
<a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="折叠搭配及包装" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="foldingPackaging"> <a-form-model-item label="折叠搭配及包装" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="foldingPackaging" class="label">
<j-dict-select-tag v-model="model.foldingPackaging" placeholder="请选择折叠搭配及包装" <j-dict-select-tag v-model="model.foldingPackaging" placeholder="请选择折叠搭配及包装"
dict-code="foldingPackaging"/> dict-code="foldingPackaging"/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
<a-row> <a-row>
<a-col> <a-col :span="48">
<a-form-model-item label="产品概述" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="productOverview"> <a-form-model-item label="产品概述" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="productOverview" class="label" >
<a-textarea v-model="model.productOverview" placeholder="请输入产品概述"/> <a-textarea v-model="model.productOverview" placeholder="请输入产品概述"/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -106,14 +95,14 @@
<!-- <a-form-model-item label="销售地区" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="salesTerritory" :labelAlign="left">--> <!-- <a-form-model-item label="销售地区" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="salesTerritory" :labelAlign="left">-->
<!-- <a-textarea v-model="model.salesTerritory" placeholder="请输入销售地区" />--> <!-- <a-textarea v-model="model.salesTerritory" placeholder="请输入销售地区" />-->
<!-- </a-form-model-item>--> <!-- </a-form-model-item>-->
<a-form-model-item label="销售地区" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="salesTerritory"> <a-form-model-item label="销售地区" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="salesTerritory" class="label">
<a-textarea v-model="model.salesTerritory" placeholder="请输入销售地区"/> <a-textarea v-model="model.salesTerritory" placeholder="请输入销售地区"/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
<a-row> <a-row>
<a-col> <a-col>
<a-form-model-item label="制衣参数" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="measuringMethod"> <a-form-model-item label="制衣参数" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="measuringMethod" class="label">
<a-textarea v-model="model.measuringMethod" placeholder="请输入制衣参数"></a-textarea> <a-textarea v-model="model.measuringMethod" placeholder="请输入制衣参数"></a-textarea>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -121,7 +110,7 @@
<a-row> <a-row>
<a-col> <a-col>
<a-form-model-item label="配件及标志" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="accLogos"> <a-form-model-item label="配件及标志" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="accLogos" class="label">
<a-textarea v-model="model.accLogos" placeholder="请输入配件及标志"/> <a-textarea v-model="model.accLogos" placeholder="请输入配件及标志"/>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
@ -391,7 +380,7 @@ export default {
}, },
wrapperCol1: { wrapperCol1: {
xs: {span: 24}, xs: {span: 24},
sm: {span: 18}, sm: {span: 20},
}, },
confirmLoading: false, confirmLoading: false,
validatorRules: { validatorRules: {
@ -485,4 +474,7 @@ export default {
.ant-form-item { .ant-form-item {
margin-bottom: 16px; margin-bottom: 16px;
} }
/deep/ .label label{
text-align:left;
}
</style> </style>
Loading…
Cancel
Save