@ -115,11 +115,11 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false,
},
{
label: '单据号',
label: '单据号11',
field: 'number',
sort: 'custom',
table: {
width: 150,
width: 180,
fixed: 'left'
@ -550,4 +550,4 @@ export const DemandforecastingDetailRules = reactive({
itemCode: [
{ required: true, message: '请选择物品代码', trigger: 'change' }
],
})
@ -17,7 +17,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
@ -17,7 +17,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true
@ -259,7 +259,7 @@ export const SupplierdeliverRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -164,6 +164,12 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => {
nextTick(() => {
const setV = {}
setV[formField] = val[0][searchField]
if (formField == 'poNumber') {
setV['poNumber'] = val[0]['poNumber']
setV['itemCode'] = val[0]['itemCode']
setV['poLine'] = val[0]['poLine']
setV['uom'] = val[0]['uom']
}
formRef.setValues(setV)
@ -208,7 +208,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
@ -622,7 +622,13 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
searchField: 'number',
searchTitle: '要货计划信息',
searchAllSchemas: PurchasePlanDetail.allSchemas,
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage,
searchCondition: [
key: 'number',
value: 'ppNumber',
isMainValue: true
}]
tableForm: {
@ -10,7 +10,7 @@ export const PurchaseclaimRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -34,7 +34,7 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm:false,
@ -553,4 +553,7 @@ export const PurchaseclaimRequestDetailRules = reactive({
uom: [
{ required: true, message: '请输入计量单位', trigger: 'change' }
reason: [
{ required: true, message: '请输入原因', trigger: 'change' }
@ -39,7 +39,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
field:'number',
@ -62,7 +62,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(