Browse Source

修复bug发货计划页面展示

master_hella_20240701
chenfang 5 months ago
parent
commit
250a811925
  1. 34
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  2. 4
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue
  3. 5
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts

34
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -123,7 +123,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
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<CrudSchema[]>([
}
},
},
{
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',

4
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'}), //

5
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' }

Loading…
Cancel
Save