Browse Source

no message

linwenxin 1 year ago
parent
commit
c788c7dc0e

+ 1 - 1
src/views/auxiliaryFittings/purchasingManagement/mixins/form_tpl.js

@@ -850,7 +850,7 @@ export default {
                       <el-form-item label="" lebel-width="0px" prop={`storageId`} rules={required}>
                       <el-form-item label="" lebel-width="0px" prop={`storageId`} rules={required}>
                         <el-select
                         <el-select
                           style="width:100%"
                           style="width:100%"
-                          disabled={this.formDialogType === 2 || !((this.formDialogType === 1) || (this.formDialogType === 3 && this.formData.isImport==true && !!this.formData.id))}
+                          disabled={this.formDialogType === 2 || !(!this.formData.id || (this.formDialogType === 1) || (this.formDialogType === 3 && this.formData.isImport==true && !!this.formData.id))}
                           value={this.formData.storageId}
                           value={this.formData.storageId}
                           onInput={val => {
                           onInput={val => {
                             this.formData.storageId = val
                             this.formData.storageId = val