Browse Source

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

master_hella_20240701
chenfang 6 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

@ -73,4 +73,9 @@ export const exportDeliverRecordDetail = async (params) => {
// 下载用户导入模板
export const importTemplate = () => {
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({
// deliverRecordNumber: [
// { required: true, message: '请选择发货记录单号', trigger: 'change' }
// ],
deliverRecordNumber: [
{ required: true, message: '请选择发货记录单号', trigger: 'change' }
],
customerCode: [
{ required: true, message: '请选择客户代码', trigger: 'blur' }
],
@ -1051,6 +1051,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
fixed: 'right'
},
isTableForm:false,
hiddenInMain:true
}
]))

Loading…
Cancel
Save