|
|
|
@ -19,21 +19,26 @@
|
|
|
|
|
<j-select-depart v-decorator="['departId']" multi disabled/> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
<a-col :xs="24" :sm="8"> |
|
|
|
|
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" |
|
|
|
|
date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" disabled/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xs="24" :sm="8"> |
|
|
|
|
<a-form-model-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="type"> |
|
|
|
|
<!-- <a-input v-model="model.type" placeholder="请输入物资类型"></a-input>--> |
|
|
|
|
<!-- <a-input v-model="model.type" placeholder="请输入物资类型" ></a-input>--> |
|
|
|
|
<j-dict-select-tag type="list" v-decorator="['type']" |
|
|
|
|
<j-dict-select-tag type="list" v-decorator="['type',validatorRules.materialType]" |
|
|
|
|
dictCode="explosive_type" :trigger-change="true" |
|
|
|
|
placeholder="请选择物资类型" @change="elect" /> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :xs="24" :sm="8"> |
|
|
|
|
<a-form-model-item label="批次" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="batch"> |
|
|
|
|
<a-input v-decorator="['batch']" placeholder="请输入批次" ></a-input> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<!-- <a-col :xs="24" :sm="8">--> |
|
|
|
|
<!-- <a-form-model-item label="批次" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="batch">--> |
|
|
|
|
<!-- <a-input v-decorator="['batch',validatorRules.materialType]" placeholder="请输入批次" ></a-input>--> |
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
<!-- </a-col>--> |
|
|
|
|
|
|
|
|
|
<a-col :xs="24" :sm="8"> |
|
|
|
|
<a-form-model-item label="文件" :labelCol="labelCol3" :wrapperCol="wrapperCol3" prop="fileId"> |
|
|
|
@ -146,6 +151,9 @@ import pick from 'lodash.pick'
|
|
|
|
|
departId:null, |
|
|
|
|
}, |
|
|
|
|
validatorRules: { |
|
|
|
|
materialType: { rules:[ |
|
|
|
|
{ required: true, message: '请选择物资类型!'}, |
|
|
|
|
]}, |
|
|
|
|
}, |
|
|
|
|
// 新增时子表默认添加几行空数据 |
|
|
|
|
addDefaultRowNum: 1, |
|
|
|
|