|
|
@ -3,46 +3,88 @@ |
|
|
|
<j-form-container :disabled="formDisabled"> |
|
|
|
<j-form-container :disabled="formDisabled"> |
|
|
|
<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> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="48"> |
|
|
|
<a-form-model-item label="企业" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="enterpriseId"> |
|
|
|
<a-form-model-item label="企业" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="enterpriseId"> |
|
|
|
<j-select-depart v-model="model.enterpriseId" /> |
|
|
|
<j-select-depart v-model="model.enterpriseId" /> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
</a-row> |
|
|
|
<!-- <a-form-model-item label="编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="nums">--> |
|
|
|
<a-row> |
|
|
|
<!-- <a-input v-model="model.nums" placeholder="请输入编号" ></a-input>--> |
|
|
|
<a-col :span="48"> |
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<a-col :span="24"> |
|
|
|
|
|
|
|
<a-form-model-item label="服装类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="clothsTypeId"> |
|
|
|
<a-form-model-item label="服装类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="clothsTypeId"> |
|
|
|
<j-dict-select-tag type="list" v-model="model.clothsTypeId" dictCode="zy_cloths_type,type_name,id" placeholder="请选择衣服类型" /> |
|
|
|
<j-dict-select-tag type="list" v-model="model.clothsTypeId" dictCode="zy_cloths_type,type_name,id" placeholder="请选择衣服类型" /> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
</a-row> |
|
|
|
|
|
|
|
<a-row> |
|
|
|
|
|
|
|
<a-col :span="48"> |
|
|
|
<a-form-model-item label="部件名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partsName"> |
|
|
|
<a-form-model-item label="部件名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partsName"> |
|
|
|
<a-input v-model="model.partsName" placeholder="请输入部件名称" ></a-input> |
|
|
|
<a-input v-model="model.partsName" placeholder="请输入部件名称" ></a-input> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
</a-row> |
|
|
|
|
|
|
|
<a-row> |
|
|
|
|
|
|
|
<a-col :span="48"> |
|
|
|
<a-form-model-item label="模块" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="modularId"> |
|
|
|
<a-form-model-item label="模块" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="modularId"> |
|
|
|
<j-dict-select-tag type="list" v-model="model.modularId" dictCode="zy_cloths_modular,modular_name,id" placeholder="请选择模块" /> |
|
|
|
<j-dict-select-tag type="list" v-model="model.modularId" dictCode="zy_cloths_modular,modular_name,id" placeholder="请选择模块" /> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
</a-row> |
|
|
|
<!-- <a-form-model-item label="部件类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="componentType">--> |
|
|
|
<a-row> |
|
|
|
<!-- <a-input v-model="model.componentType" placeholder="请输入部件类型" ></a-input>--> |
|
|
|
<a-col :span="48"> |
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<a-col :span="24"> |
|
|
|
|
|
|
|
<a-form-model-item label="描述" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="description"> |
|
|
|
<a-form-model-item label="描述" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="description"> |
|
|
|
<a-textarea v-model="model.description" rows="4" placeholder="请输入描述"/> |
|
|
|
<a-textarea v-model="model.description" rows="2" placeholder="请输入描述"/> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
</a-row> |
|
|
|
|
|
|
|
<a-row> |
|
|
|
|
|
|
|
<a-col :span="48"> |
|
|
|
<a-form-model-item label="图片" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pictureUrl"> |
|
|
|
<a-form-model-item label="图片" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pictureUrl"> |
|
|
|
<j-image-upload isMultiple v-model="model.pictureUrl" ></j-image-upload> |
|
|
|
<j-image-upload isMultiple v-model="model.pictureUrl" ></j-image-upload> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
</a-row> |
|
|
|
|
|
|
|
<a-row> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="企业" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="enterpriseId">--> |
|
|
|
|
|
|
|
<!-- <j-select-depart v-model="model.enterpriseId" />--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="nums">--> |
|
|
|
|
|
|
|
<!-- <a-input v-model="model.nums" placeholder="请输入编号" ></a-input>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="服装类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="clothsTypeId">--> |
|
|
|
|
|
|
|
<!-- <j-dict-select-tag type="list" v-model="model.clothsTypeId" dictCode="zy_cloths_type,type_name,id" placeholder="请选择衣服类型" />--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="部件名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partsName">--> |
|
|
|
|
|
|
|
<!-- <a-input v-model="model.partsName" placeholder="请输入部件名称" ></a-input>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="模块" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="modularId">--> |
|
|
|
|
|
|
|
<!-- <j-dict-select-tag type="list" v-model="model.modularId" dictCode="zy_cloths_modular,modular_name,id" placeholder="请选择模块" />--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="部件类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="componentType">--> |
|
|
|
|
|
|
|
<!-- <a-input v-model="model.componentType" placeholder="请输入部件类型" ></a-input>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="描述" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="description">--> |
|
|
|
|
|
|
|
<!-- <a-textarea v-model="model.description" rows="4" placeholder="请输入描述"/>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="图片" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pictureUrl">--> |
|
|
|
|
|
|
|
<!-- <j-image-upload isMultiple v-model="model.pictureUrl" ></j-image-upload>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
<!-- <a-form-model-item label="制衣模块类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="modularType">--> |
|
|
|
<!-- <a-form-model-item label="制衣模块类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="modularType">--> |
|
|
@ -84,7 +126,7 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
labelCol: { |
|
|
|
labelCol: { |
|
|
|
xs: { span: 24 }, |
|
|
|
xs: { span: 24 }, |
|
|
|
sm: { span: 5 }, |
|
|
|
sm: { span: 4 }, |
|
|
|
}, |
|
|
|
}, |
|
|
|
wrapperCol: { |
|
|
|
wrapperCol: { |
|
|
|
xs: { span: 24 }, |
|
|
|
xs: { span: 24 }, |
|
|
|