Browse Source

客户退货搜索展示数据错误

master
chenfang 11 months ago
parent
commit
6c276b5d5a
  1. 1
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  2. 2
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue
  3. 6
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

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

@ -790,6 +790,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false,
isForm: false
},
{
label: '从货主代码',
field: 'fromOwnerCode',

2
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

@ -125,7 +125,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV['customerCode'] = val[0]['customerCode']
setV['customerDockCode'] = val[0]['customerDockCode']
// getBomDisassemble
DeliverRecordDetailApi.getDeliverRecordDetailPage(val[0]['id'])
DeliverRecordDetailApi.getDeliverRecordDetailPage({masterId:val[0]['id']})
.then(res => {
console.log(555,res)
if (res) tableData.value = res.list

6
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

@ -509,9 +509,9 @@ export const DeliverRequestMainRules = reactive({
customerCode: [
{ required: true, message: '请选择客户代码', trigger: 'change' }
],
// customerDockCode: [
// { required: true, message: '请选择客户月台代码', trigger: 'change' }
// ],
customerDockCode: [
{ required: true, message: '请选择客户月台代码', trigger: 'change' }
],
// fromWarehouseCode: [
// { required: true, message: '请选择从仓库代码', trigger: 'change' }
// ],

Loading…
Cancel
Save