diff --git a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts index ca6a09608..9e966e926 100644 --- a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts @@ -123,7 +123,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '客户月台基础信息', searchAllSchemas: Customerdock.allSchemas, - searchPage: CustomerDockApi.pageCustomerCodeToCustomerDock, + searchPage: CustomerDockApi.getCustomerdockPage, searchCondition: [{ key: 'available', value: 'TRUE', @@ -136,22 +136,22 @@ export const DeliverPlanMain = useCrudSchemas(reactive([ } }, }, - { - label: '到仓库', - field: 'toWarehouseCode', - sort: 'custom', - table: { - width: 150 - }, - isForm: true, - isTableForm:false, - isDetail:false, - form: { - componentProps: { - disabled:true - } - } - }, + // { + // label: '到仓库', + // field: 'toWarehouseCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isForm: true, + // isTableForm:false, + // isDetail:false, + // form: { + // componentProps: { + // disabled:true + // } + // } + // }, { label: '到库位', field: 'toLocationCode', diff --git a/src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue b/src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue index 3a9d13a1d..a2e6ee052 100644 --- a/src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue +++ b/src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue @@ -220,9 +220,9 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:sale-shipment-main-request:update'}), // 编辑 + defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1','4']),hasPermi:'wms:sale-shipment-main-request:update'}), // 编辑 defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:sale-shipment-main-request:close'}), // 关闭 - defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:sale-shipment-main-request:reAdd'}), //重新添加 + defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']),hasPermi:'wms:sale-shipment-main-request:reAdd'}), //重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:sale-shipment-main-request:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:sale-shipment-main-request:refused'}), // 驳回 defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:sale-shipment-main-request:agree'}), // 审批通过 diff --git a/src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts b/src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts index 0655ce008..b61c881fe 100644 --- a/src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts +++ b/src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts @@ -254,7 +254,10 @@ export const SaleShipmentDetailRules = reactive({ { required: true, message: '请选择订单行', trigger: 'blur' } ], fromLocationCode: [ - { required: true, message: '请输选择客户库位', trigger: 'blur' } + { required: true, message: '请选择客户库位', trigger: 'blur' } + ], + batch: [ + { required: true, message: '请输入批次', trigger: 'blur' } ], qty: [ { required: true, message: '请输入开票数量', trigger: 'blur' }