| | |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="出库类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="outStorehouseType"> |
| | | <j-dict-select-tag :disabled="disableSubmit" @change="handleTypeChange" type="list" v-model="model.outStorehouseType" dictCode="out_storehouse_type" placeholder="请选择出库类型" /> |
| | | <j-dict-select-tag :disabled="disableSubmit" @change="handleTypeChange" type="list" v-model="model.outStorehouseType" dictCode="out_storehouse_type" placeholder="请选择出库类型" disabled/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | const type = record.outStorehouseType |
| | | switch (type) { |
| | | case '1': |
| | | this.handleTypeChange('1') |
| | | this.selectBorrowTool = true |
| | | this.selectSharpenTool = false |
| | | break |
| | | case '2': |
| | | this.handleTypeChange('2') |
| | | this.selectBorrowTool = false |
| | | this.selectSharpenTool = false |
| | | break |
| | | case '3': |
| | | this.handleTypeChange('3') |
| | | this.selectBorrowTool = false |
| | | this.selectSharpenTool = false |
| | | break |
| | | case '4': |
| | | this.handleTypeChange('4') |
| | | this.selectBorrowTool = false |
| | | this.selectSharpenTool = true |
| | | break |
| | | } |
| | | } |