Browse Source

成品发货申请/任务/记录 前端销售订单号/行 隐藏

master
chenfang 12 months ago
parent
commit
5bc86701a0
  1. 38
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts
  2. 38
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts
  3. 148
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

38
src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts

@ -666,22 +666,22 @@ export const DeliverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{ // {
label: '销售订单号', // label: '销售订单号',
field: 'soNumber', // field: 'soNumber',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '销售订单行', // label: '销售订单行',
field: 'soLine', // field: 'soLine',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ {
label: '物品代码', label: '物品代码',
field: 'itemCode', field: 'itemCode',
@ -843,9 +843,9 @@ export const DeliverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const DeliverJobDetailRules = reactive({ export const DeliverJobDetailRules = reactive({
soNumber: [ // soNumber: [
{ required: true, message: '请选择销售订单号', trigger: 'change' } // { required: true, message: '请选择销售订单号', trigger: 'change' }
], // ],
packingNumber: [ packingNumber: [
{ required: true, message: '请选择包装号', trigger: 'change' } { required: true, message: '请选择包装号', trigger: 'change' }
], ],

38
src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts

@ -413,22 +413,22 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{ // {
label: '销售订单号', // label: '销售订单号',
field: 'soNumber', // field: 'soNumber',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '销售订单行', // label: '销售订单行',
field: 'soLine', // field: 'soLine',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ {
label: '物品代码', label: '物品代码',
field: 'itemCode', field: 'itemCode',
@ -687,9 +687,9 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const DeliverRecordDetailRules = reactive({ export const DeliverRecordDetailRules = reactive({
soNumber: [ // soNumber: [
{ required: true, message: '请选择销售订单号', trigger: 'change' } // { required: true, message: '请选择销售订单号', trigger: 'change' }
], // ],
packingNumber: [ packingNumber: [
{ required: true, message: '请选择包装号', trigger: 'change' } { required: true, message: '请选择包装号', trigger: 'change' }
], ],

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

@ -563,80 +563,80 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ // {
label: '销售订单号', // label: '销售订单号',
field: 'soNumber', // field: 'soNumber',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
tableForm:{ // tableForm:{
isInpuFocusShow: true, // 开启查询弹窗 // isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择销售订单号', // searchListPlaceholder: '请选择销售订单号',
searchField: 'number', // searchField: 'number',
searchTitle: '销售订单信息', // searchTitle: '销售订单信息',
searchAllSchemas: SaleMain.allSchemas, // searchAllSchemas: SaleMain.allSchemas,
searchPage: SaleMainApi.getSaleMainPage, // searchPage: SaleMainApi.getSaleMainPage,
searchCondition: [{ // searchCondition: [{
key: 'available', // key: 'available',
value: 'TRUE', // value: 'TRUE',
isMainValue: false // isMainValue: false
}] // }]
}, // },
form: { // form: {
// labelMessage: '信息提示说明!!!', // // labelMessage: '信息提示说明!!!',
componentProps: { // componentProps: {
isSearchList: true, // isSearchList: true,
searchListPlaceholder: '请选择销售订单号', // searchListPlaceholder: '请选择销售订单号',
searchField: 'number', // searchField: 'number',
searchTitle: '销售订单信息', // searchTitle: '销售订单信息',
searchAllSchemas: SaleMain.allSchemas, // searchAllSchemas: SaleMain.allSchemas,
searchPage: SaleMainApi.getSaleMainPage, // searchPage: SaleMainApi.getSaleMainPage,
searchCondition: [{ // searchCondition: [{
key: 'available', // key: 'available',
value: 'TRUE', // value: 'TRUE',
isMainValue: false // isMainValue: false
}] // }]
} // }
} // }
}, // },
{ // {
label: '销售订单行', // label: '销售订单行',
field: 'soLine', // field: 'soLine',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
tableForm:{ // tableForm:{
isInpuFocusShow: true, // 开启查询弹窗 // isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择销售订单行', // searchListPlaceholder: '请选择销售订单行',
searchField: 'lineNumber', // searchField: 'lineNumber',
searchTitle: '销售订单信息', // searchTitle: '销售订单信息',
searchAllSchemas: SaleDetail.allSchemas, // searchAllSchemas: SaleDetail.allSchemas,
searchPage: SaleDetailApi.getSaleDetailPage, // searchPage: SaleDetailApi.getSaleDetailPage,
searchCondition: [{ // searchCondition: [{
key: 'available', // key: 'available',
value: 'TRUE', // value: 'TRUE',
isMainValue: false // isMainValue: false
}] // }]
}, // },
form: { // form: {
// labelMessage: '信息提示说明!!!', // // labelMessage: '信息提示说明!!!',
componentProps: { // componentProps: {
isSearchList: true, // isSearchList: true,
searchListPlaceholder: '请选择销售订单行', // searchListPlaceholder: '请选择销售订单行',
searchField: 'lineNumber', // searchField: 'lineNumber',
searchTitle: '销售订单信息', // searchTitle: '销售订单信息',
searchAllSchemas: SaleDetail.allSchemas, // searchAllSchemas: SaleDetail.allSchemas,
searchPage: SaleDetailApi.getSaleDetailPage, // searchPage: SaleDetailApi.getSaleDetailPage,
searchCondition: [{ // searchCondition: [{
key: 'available', // key: 'available',
value: 'TRUE', // value: 'TRUE',
isMainValue: false // isMainValue: false
}] // }]
} // }
} // }
}, // },
{ {
label: '物品代码', label: '物品代码',
field: 'itemCode', field: 'itemCode',

Loading…
Cancel
Save