| | |
| | | > |
| | | <a-input |
| | | placeholder='请输入库单编号' |
| | | :disabled="disableSubmit" |
| | | v-decorator="['num', validatorRules.num]" |
| | | /> |
| | | </a-form-item> |
| | |
| | | :placeholder="'请选择采购部门'" |
| | | :options="this.departs" |
| | | style="width: 100%" |
| | | :disabled="disableSubmit" |
| | | v-decorator="['departId', validatorRules.departId]" |
| | | /> |
| | | </a-form-item> |
| | |
| | | type='primary' |
| | | :style="{ marginRight: '8px',marginBottom:'8px' }" |
| | | :loading='confirmLoading' |
| | | :disabled="disableSubmit" |
| | | @click='selectSparePart()' |
| | | >增加备件信息 |
| | | </a-button> |
| | |
| | | :options='record.suppliers' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | | style='width: 100%' |
| | | :disabled='false' |
| | | :disabled="disableSubmit" |
| | | |
| | | /> |
| | | <a-select |
| | | v-if="col.dataIndex == 'warehouseAreaId'" |
| | | :value='text' |
| | | :disabled="disableSubmit" |
| | | :options='record.warehouseAreas' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | | style='width: 100%' |
| | | :disabled='false' |
| | | |
| | | /> |
| | | <a-select |
| | | v-if="col.dataIndex == 'warehouseLocationId'" |
| | |
| | | :options='record.warehouseLocations' |
| | | @change='(e) => handleChange(e, record.key, col, index)' |
| | | style='width: 100%' |
| | | :disabled='false' |
| | | :disabled="disableSubmit" |
| | | /> |
| | | <a-input-number |
| | | :value='text' |
| | | v-if="col.dataIndex == 'mainQuantity'" |
| | | :min='0' |
| | | :disabled="disableSubmit" |
| | | :max='record.wastageRate' |
| | | @change='(e)=>handleChange(e, record.key, col, index)' |
| | | /> |
| | | <a-input |
| | | :value='text' |
| | | :disabled="disableSubmit" |
| | | v-if="col.dataIndex == 'batchNum'" |
| | | @change='(e)=>handleChange(e, record.key, col, index)' |
| | | /> |
| | | <a-date-picker |
| | | :value='text' |
| | | :disabled="disableSubmit" |
| | | v-if="col.dataIndex == 'manufactureDate'" |
| | | format='YYYY-MM-DD' |
| | | @change='(e)=>handleChange(e, record.key, col, 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> |