| | |
| | | <a-row :span='12'> |
| | | <a-col :span='12'> |
| | | <a-form-model-item label='单据号' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='num'> |
| | | <a-input v-model='model.num' placeholder='请输入单据号'></a-input> |
| | | <a-input v-model='model.num' placeholder='请输入单据号' :disabled="disableSubmit"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span='12'> |
| | |
| | | v-model='model.inEnterpriseId' |
| | | placeholder='请选择调入公司' |
| | | :replace-fields='replaceFields' |
| | | :disabled='false' |
| | | :disabled="disableSubmit" |
| | | @change='handleChangeInEnterpriseId'> |
| | | </a-tree-select> |
| | | </a-form-model-item> |
| | |
| | | v-model='model.outEnterpriseId' |
| | | placeholder='请选择调出公司' |
| | | :replace-fields='replaceFields' |
| | | :disabled='false' |
| | | :disabled="disableSubmit" |
| | | @change='handleChangeOutEnterpriseId' /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span='12'> |
| | | <a-form-model-item label='备注' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='remark'> |
| | | <a-textarea v-model='model.remark' placeholder='请输入备注'></a-textarea> |
| | | <a-textarea v-model='model.remark' placeholder='请输入备注' :disabled="disableSubmit"></a-textarea> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | <a-select |
| | | :value='text' |
| | | placeholder='请选择' |
| | | :disabled="disableSubmit" |
| | | v-if="col.dataIndex == 'inDepartId'" |
| | | :options='record.departVoList' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | |
| | | v-if="col.dataIndex == 'inManagerId'" |
| | | :value='text' |
| | | placeholder='请选择' |
| | | :disabled="disableSubmit" |
| | | :options='record.userVoList' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | | style='width: 100%' |
| | |
| | | <a-input |
| | | :value='text' |
| | | placeholder='请输入' |
| | | :disabled="disableSubmit" |
| | | v-if="col.dataIndex == 'position'" |
| | | @change='(e)=>handleChange(e, record.key, col, index)' |
| | | /> |
| | |
| | | v-if="col.dataIndex == 'responsibilityUserId'" |
| | | :value='text' |
| | | placeholder='请选择' |
| | | :disabled="disableSubmit" |
| | | :options='record.userVoList' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | | style='width: 100%' |
| | |
| | | v-if="col.dataIndex == 'responsibilityTeamId'" |
| | | :value='text' |
| | | placeholder='请选择' |
| | | :disabled="disableSubmit" |
| | | :options='record.teamVoList' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | | style='width: 100%' |
| | |
| | | v-if="col.dataIndex == 'useDepartId'" |
| | | :value='text' |
| | | placeholder='请选择' |
| | | :disabled="disableSubmit" |
| | | :options='record.departVoList' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | | style='width: 100%' |
| | |
| | | |
| | | v-if="col.dataIndex == 'demandDate'" |
| | | :value='text' |
| | | :disabled="disableSubmit" |
| | | format='YYYY-MM-DD HH:mm:ss' |
| | | @change='(e)=>handleChange(e, record.key, col, index)' |
| | | /> |
| | | <a-date-picker |
| | | v-if="col.dataIndex == 'actualInDate'" |
| | | :value='text' |
| | | :disabled="disableSubmit" |
| | | format='YYYY-MM-DD HH:mm:ss' |
| | | @change='(e)=>handleChange(e, record.key, col, index)' |
| | | /> |
| | |
| | | v-if="col.dataIndex == 'equipmentTransferCatrgoryId'" |
| | | :value='text' |
| | | placeholder='请选择' |
| | | :disabled="disableSubmit" |
| | | :options='record.transferMethodVoList' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | | style='width: 100%' |
| | |
| | | </template> |
| | | <span |
| | | slot='action' |
| | | |
| | | slot-scope='text, record, index' |
| | | > |
| | | <a-popconfirm |
| | | title='确定删除吗?' |
| | | :disabled="disableSubmit" |
| | | @confirm='() => handleDelete(text,record, index)' |
| | | > |
| | | <a>删除</a> |
| | |
| | | <a-button |
| | | @click='handleOk()' |
| | | type='primary' |
| | | :disabled="disableSubmit" |
| | | :loading='confirmLoading' |
| | | >确定 |
| | | </a-button> |