|
@ -4,7 +4,7 @@ import * as SupplierApi from '@/api/wms/supplier' |
|
|
import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' |
|
|
import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' |
|
|
import * as SupplieritemApi from '@/api/wms/supplieritem' |
|
|
import * as SupplieritemApi from '@/api/wms/supplieritem' |
|
|
import { Supplieritem } from '@/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data' |
|
|
import { Supplieritem } from '@/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data' |
|
|
import {validateHanset,validateEmail} from '@/utils/validator' |
|
|
import { validateHanset, validateEmail } from '@/utils/validator' |
|
|
const { t } = useI18n() // 国际化
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -44,7 +44,15 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: 'true', |
|
|
|
|
|
isFormModel: true |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -421,7 +429,6 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
multiple:true,//多选
|
|
|
multiple:true,//多选
|
|
|
isInpuFocusShow: true, |
|
|
isInpuFocusShow: true, |
|
|
searchListPlaceholder: '请选择供应商物料', |
|
|
searchListPlaceholder: '请选择供应商物料', |
|
|
isShowTableFormSearch: true, |
|
|
|
|
|
searchField: 'itemCode', |
|
|
searchField: 'itemCode', |
|
|
searchTitle: '供应商物料信息', |
|
|
searchTitle: '供应商物料信息', |
|
|
searchAllSchemas: Supplieritem.allSchemas, |
|
|
searchAllSchemas: Supplieritem.allSchemas, |
|
@ -435,7 +442,19 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationPage: SupplieritemApi.getSupplierItemListByCodes, // tableForm下方输入框校验失去焦点之后是否正确的方法
|
|
|
|
|
|
isShowTableFormSearch: true, //tableForm下方是否出现输入框
|
|
|
|
|
|
isRepeat: true,//tableForm下方输入框是否可以重复添加该条数据
|
|
|
|
|
|
// 失去焦点校验参数
|
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'itemCode', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: 'true', |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}] |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
@ -455,6 +474,15 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
|
|
|
}], |
|
|
|
|
|
// 失去焦点校验参数
|
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: 'true', |
|
|
|
|
|
isFormModel: true, |
|
|
}] |
|
|
}] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|