Browse Source

客户退货 发货记录单号必填

master_hella_20240701
chenfang 7 months ago
parent
commit
1c5bc1f8d0
  1. 5
      src/api/wms/deliverRecordDetail/index.ts
  2. 7
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

5
src/api/wms/deliverRecordDetail/index.ts

@ -74,3 +74,8 @@ export const exportDeliverRecordDetail = async (params) => {
export const importTemplate = () => { export const importTemplate = () => {
return request.download({ url: '/wms/deliver-record-detail/get-import-template' }) return request.download({ url: '/wms/deliver-record-detail/get-import-template' })
} }
// 查询发货记录子列表
export const getDeliverRecordDetailListToRepeat = async (params) => {
return await request.get({ url: `/wms/deliver-record-detail/listToRepeat`, params })
}

7
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -552,9 +552,9 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const CustomerreturnRequestMainRules = reactive({ export const CustomerreturnRequestMainRules = reactive({
// deliverRecordNumber: [ deliverRecordNumber: [
// { required: true, message: '请选择发货记录单号', trigger: 'change' } { required: true, message: '请选择发货记录单号', trigger: 'change' }
// ], ],
customerCode: [ customerCode: [
{ required: true, message: '请选择客户代码', trigger: 'blur' } { required: true, message: '请选择客户代码', trigger: 'blur' }
], ],
@ -1051,6 +1051,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
fixed: 'right' fixed: 'right'
}, },
isTableForm:false, isTableForm:false,
hiddenInMain:true
} }
])) ]))

Loading…
Cancel
Save