|
|
@ -2,8 +2,8 @@ |
|
|
|
<a-spin :spinning="confirmLoading"> |
|
|
|
<a-spin :spinning="confirmLoading"> |
|
|
|
<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 type="flex" justify="space-around"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="11"> |
|
|
|
<a-form-model-item label="辅料类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="typeId"> |
|
|
|
<a-form-model-item label="辅料类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="typeId"> |
|
|
|
<j-popup |
|
|
|
<j-popup |
|
|
|
v-model="model.typeName" |
|
|
|
v-model="model.typeName" |
|
|
@ -17,52 +17,107 @@ |
|
|
|
<a-input v-model="model.typeId" hidden /> |
|
|
|
<a-input v-model="model.typeId" hidden /> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
<a-col :span="12"> |
|
|
|
<a-col :span="24"> |
|
|
|
|
|
|
|
<a-form-model-item label="编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="nums"> |
|
|
|
<a-form-model-item label="编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="nums"> |
|
|
|
<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> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="11"> |
|
|
|
<a-form-model-item label="名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="contents"> |
|
|
|
<a-form-model-item label="名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="contents"> |
|
|
|
<a-input v-model="model.contents" placeholder="请输入名称" ></a-input> |
|
|
|
<a-input v-model="model.contents" placeholder="请输入名称" ></a-input> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="12"> |
|
|
|
<a-form-model-item label="图片" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="imageUrl"> |
|
|
|
<a-form-model-item label="材质" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="material"> |
|
|
|
<j-image-upload isMultiple v-model="model.picture" ></j-image-upload> |
|
|
|
<j-search-select-tag v-model="model.material" dict="material" /> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
|
|
|
|
|
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="11"> |
|
|
|
<!-- <a-form-model-item label="材质" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="material">--> |
|
|
|
<a-form-model-item label="库存量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="store"> |
|
|
|
<!-- <a-input v-model="model.material" placeholder="请输入材质" ></a-input>--> |
|
|
|
<a-input-number v-model="model.store" placeholder="请输入库存量" style="width: 100%" /> |
|
|
|
<a-form-model-item label="材质" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="material"> |
|
|
|
</a-form-model-item> |
|
|
|
<j-search-select-tag v-model="model.material" dict="material" /> |
|
|
|
|
|
|
|
</a-form-model-item> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="12"> |
|
|
|
<a-form-model-item label="规格" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="specs"> |
|
|
|
<a-form-model-item label="规格" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="specs"> |
|
|
|
<a-input v-model="model.specs" placeholder="请输入规格" ></a-input> |
|
|
|
<a-input v-model="model.specs" placeholder="请输入规格" ></a-input> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="11"> |
|
|
|
<a-form-model-item label="库存量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="store"> |
|
|
|
<a-form-model-item label="供货商信息" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="supplierInfo"> |
|
|
|
<a-input-number v-model="model.store" placeholder="请输入库存量" style="width: 100%" /> |
|
|
|
<j-select-depart v-model="model.supplierInfo" placeholder="请输入供货商信息" /> |
|
|
|
|
|
|
|
</a-form-model-item> |
|
|
|
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
<a-col :span="12"> |
|
|
|
|
|
|
|
<a-form-model-item label="图片" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="imageUrl"> |
|
|
|
|
|
|
|
<j-image-upload isMultiple v-model="model.picture" ></j-image-upload> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
<a-col :span="11"></a-col> |
|
|
|
|
|
|
|
<a-col :span="12"></a-col> |
|
|
|
|
|
|
|
</a-row> |
|
|
|
|
|
|
|
<!-- <a-row>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="辅料类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="typeId">--> |
|
|
|
|
|
|
|
<!-- <j-popup--> |
|
|
|
|
|
|
|
<!-- v-model="model.typeName"--> |
|
|
|
|
|
|
|
<!-- field="typeName"--> |
|
|
|
|
|
|
|
<!-- org-fields="nums,contents"--> |
|
|
|
|
|
|
|
<!-- dest-fields="typeId,typeName"--> |
|
|
|
|
|
|
|
<!-- code="zy_accessories_type"--> |
|
|
|
|
|
|
|
<!-- :multi="false"--> |
|
|
|
|
|
|
|
<!-- @input="popupCallback"--> |
|
|
|
|
|
|
|
<!-- />--> |
|
|
|
|
|
|
|
<!-- <a-input v-model="model.typeId" hidden />--> |
|
|
|
|
|
|
|
<!-- </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="请输入编号" disabled ></a-input>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="contents">--> |
|
|
|
|
|
|
|
<!-- <a-input v-model="model.contents" placeholder="请输入名称" ></a-input>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="图片" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="imageUrl">--> |
|
|
|
|
|
|
|
<!-- <j-image-upload isMultiple v-model="model.picture" ></j-image-upload>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!--<!– <a-form-model-item label="材质" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="material">–>--> |
|
|
|
|
|
|
|
<!--<!– <a-input v-model="model.material" placeholder="请输入材质" ></a-input>–>--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="材质" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="material">--> |
|
|
|
|
|
|
|
<!-- <j-search-select-tag v-model="model.material" dict="material" />--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!--<!– </a-col>–>--> |
|
|
|
|
|
|
|
<!--<!– </a-form-model-item>–>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="规格" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="specs">--> |
|
|
|
|
|
|
|
<!-- <a-input v-model="model.specs" placeholder="请输入规格" ></a-input>--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
|
|
|
|
<!-- <a-form-model-item label="库存量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="store">--> |
|
|
|
|
|
|
|
<!-- <a-input-number v-model="model.store" placeholder="请输入库存量" style="width: 100%" />--> |
|
|
|
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
<!--<!– <a-col :span="24">–>--> |
|
|
|
|
|
|
|
<!--<!– <a-form-model-item label="供货商信息" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="supplierInfo">–>--> |
|
|
|
|
|
|
|
<!--<!– <a-input v-model="model.supplierInfo" placeholder="请输入供货商信息" ></a-input>–>--> |
|
|
|
|
|
|
|
<!--<!– </a-form-model-item>–>--> |
|
|
|
|
|
|
|
<!--<!– </a-col>–>--> |
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
<!-- <a-col :span="24">--> |
|
|
|
<!-- <a-form-model-item label="供货商信息" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="supplierInfo">--> |
|
|
|
<!-- <a-form-model-item label="供货商信息" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="supplierInfo">--> |
|
|
|
<!-- <a-input v-model="model.supplierInfo" placeholder="请输入供货商信息" ></a-input>--> |
|
|
|
<!-- <j-select-depart v-model="model.supplierInfo" 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="supplierInfo"> |
|
|
|
|
|
|
|
<j-select-depart v-model="model.supplierInfo" placeholder="请输入供货商信息" /> |
|
|
|
|
|
|
|
</a-form-model-item> |
|
|
|
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
</a-row> |
|
|
|
|
|
|
|
</a-form-model> |
|
|
|
</a-form-model> |
|
|
|
</j-form-container> |
|
|
|
</j-form-container> |
|
|
|
</a-spin> |
|
|
|
</a-spin> |
|
|
|