Browse Source

BUG修改

master
yejiaxing 11 months ago
parent
commit
7e1ec4579d
  1. 5
      src/api/wms/supplierinvoiceRequestMain/index.ts
  2. 49
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts
  3. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  4. 38
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

5
src/api/wms/supplierinvoiceRequestMain/index.ts

@ -36,6 +36,11 @@ export const getSupplierinvoiceRequestMain = async (id: number) => {
return await request.get({ url: `/wms/supplierinvoice-request-main/get?id=` + id }) return await request.get({ url: `/wms/supplierinvoice-request-main/get?id=` + id })
} }
// 查询供应商发票申请主详情
export const getNumber = async (params) => {
return await request.get({ url: `/wms/supplierinvoice-request-main/getNumber`, params})
}
// 新增供应商发票申请主 // 新增供应商发票申请主
export const createSupplierinvoiceRequestMain = async (data: SupplierinvoiceRequestMainVO) => { export const createSupplierinvoiceRequestMain = async (data: SupplierinvoiceRequestMainVO) => {
return await request.post({ url: `/wms/supplierinvoice-request-main/create`, data }) return await request.post({ url: `/wms/supplierinvoice-request-main/create`, data })

49
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

@ -407,6 +407,19 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '单据号',
field: 'number',
isTableForm: false,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
}
},
{ {
label: '订单数量', label: '订单数量',
field: 'orderQty', field: 'orderQty',
@ -630,41 +643,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
{
label: '单据号',
field: 'nuumber',
isTableForm: false,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
}
},
{
label: '明细状态',
field: 'status',
dictType: DICT_TYPE.WORK_ORDER_DETAIL_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
isForm: false,
isTableForm: false,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
},
value: 'OPEN'
},
tableForm:{
type: 'Select'
}
},
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',

2
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -184,7 +184,7 @@
defaultButtons.mainListPurchasePlanAccBtn({ hide: isShowMainButton(row, ['3']) }), // defaultButtons.mainListPurchasePlanAccBtn({ hide: isShowMainButton(row, ['3']) }), //
defaultButtons.mainListPurchasePlanRejBtn({ hide: isShowMainButton(row, ['3']) }), // defaultButtons.mainListPurchasePlanRejBtn({ hide: isShowMainButton(row, ['3']) }), //
defaultButtons.mainListPurchasePlanWitBtn({ hide: isShowMainButton(row, ['3']) }), // defaultButtons.mainListPurchasePlanWitBtn({ hide: isShowMainButton(row, ['3']) }), //
defaultButtons.mainListEditBtn({ hide: isShowMainButton(row, ['1']), hasPermi: 'wms:purchase-plan-main:update' }), // // defaultButtons.mainListEditBtn({ hide: isShowMainButton(row, ['1']), hasPermi: 'wms:purchase-plan-main:update' }), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-plan-main:delete'}), // // defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchase-plan-main:delete'}), //
] ]
} }

38
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -344,38 +344,40 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
disabled: true disabled: true
} }
}, },
{ {
label: '创建时间', label: '订单数量',
field: 'createTime', field: 'orderQty',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
isTableForm: false,
table: { table: {
width: 180 width: 150
}, },
isForm: false,
form: { form: {
component: 'DatePicker',
componentProps: { componentProps: {
style: { width: '100%' }, disabled: true
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
},
tableForm: {
disabled: true
} }
}, },
{ {
label: '创建者', label: '已计划数量',
field: 'creator', field: 'plannedQty',
sort: 'custom', sort: 'custom',
isTableForm: false,
table: { table: {
width: 150 width: 150
}, },
isForm: false, form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
}
}, },
{ {
label: '已发货数量', label: '已发货数量',

Loading…
Cancel
Save