| | |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | label="主单位" |
| | | label="单位" |
| | | > |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请选择主单位'" |
| | | :placeholder="disableSubmit?'':'请选择单位'" |
| | | :triggerChange="true" |
| | | dictCode="mom_base_unit,name,id,status!='0' and del_flag!='1'" |
| | | v-decorator="['mainUnitId', validatorRules.mainUnitId]" |
| | |
| | | </a-col> |
| | | </a-row> |
| | | <a-row style="width: 100%"> |
| | | <a-col :span="24 / 2"> |
| | | <!-- <a-col :span="24 / 2"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | |
| | | @change="(e)=>handle3Change(e)" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-col>--> |
| | | <a-col :span="24 / 2 "> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row style="width: 100%"> |
| | | <!-- hidden --> |
| | | <!-- <a-row style="width: 100%"> |
| | | <!– hidden –> |
| | | <a-col :span="24 / 2 "> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-row>--> |
| | | <a-row style="width: 100%"> |
| | | <a-col :span="24 / 2"> |
| | | <a-form-item |
| | |
| | | edit: "/spare/sparePart/edit", |
| | | getAuxiliaryUnits: "/spare/sparePart/getAuxiliaryUnits", |
| | | getConversionRatio: "/spare/sparePart/getConversionRatio", |
| | | getNum: '/eam/sysIdentity/getNumNew', |
| | | }, |
| | | //新增、编辑、删除、批量删除操作改变数据后刷新关联的组件的监听属性 |
| | | alterFlag: "", |
| | |
| | | this.codeDisable = true; |
| | | } else { |
| | | this.codeDisable = false; |
| | | this.$nextTick(() => { |
| | | getAction(this.url.getNum, { type: 'SparePart', length: '4' }).then((res) => { |
| | | if (res.success) { |
| | | this.form.setFieldsValue({ num: res.message }); |
| | | } |
| | | }) |
| | | }); |
| | | } |
| | | }, |
| | | |