diff --git a/src/api/gw/baseMaterial/index.ts b/src/api/gw/baseMaterial/index.ts index c11c37e..3ebcbed 100644 --- a/src/api/gw/baseMaterial/index.ts +++ b/src/api/gw/baseMaterial/index.ts @@ -1,5 +1,10 @@ import request from '@/config/axios' +// 物料列表获取 +export const GetBaseMaterialList = async (data: any) => { + return await request.post({ url: `/DistributionBoxTesting/GetBaseMaterialList`, data }) +} + // 物料列表获取 export const getBaseMaterialPaging = async (data: any) => { return await request.post({ url: `/DistributionBoxTesting/GetPagingBaseMaterialList`, data }) diff --git a/src/views/Gw/saleOrder/SaleOrder.vue b/src/views/Gw/saleOrder/SaleOrder.vue index 74c695c..4ddd3cd 100644 --- a/src/views/Gw/saleOrder/SaleOrder.vue +++ b/src/views/Gw/saleOrder/SaleOrder.vue @@ -48,17 +48,21 @@ const xGrid = ref() const gridOptionsA: any = reactive({ columns: [ - { field: 'PurchaserHqCode', title: '采购方总部编码', width: '120px', fixed: 'left' }, - { field: 'SoNo', title: '销售订单号', sortable: true, width: '200px', fixed: 'left' }, - { field: 'SupplierCode', title: '供应商编码', sortable: true, width: '160px' }, - { field: 'BuyerCode', title: '采购方公司编码', width: '160px' }, - { field: 'BuyerName', title: '采购方公司名称', width: '160px' }, - { field: 'BuyerProvince', title: '采购方公司省份', sortable: true, width: '160px' }, - { field: 'SoStatus', title: '销售订单状态', sortable: true, width: '160px' }, - { field: 'OwnerId', title: '数据拥有方', sortable: true, width: '160px' }, - { field: 'OpenId', title: '数据可见方', sortable: true, width: '160px' }, - { field: 'DataSource', title: '数据来源', sortable: true, width: '160px' }, - { field: 'DataSourceCreatetime', title: '来源数据创建时间', sortable: true, width: '160px' }, + { field: 'BuyerName', title: '采购方公司名称', fixed: 'left'}, + { field: 'ProductAmount', title: '采购数量', fixed: 'left'}, + { field: 'SoNo', title: '销售订单号', fixed: 'left' }, + { field: 'ProductCode', title: '物料编码'}, + { field: 'ProductName', title: '物料名称'}, + { field: 'ProductUnit', title: '物料单位'}, + // { field: 'PurchaserHqCode', title: '采购方总部编码', width: '120px', fixed: 'left' }, + // { field: 'SupplierCode', title: '供应商编码', sortable: true, width: '160px' }, + // { field: 'BuyerCode', title: '采购方公司编码', width: '160px' }, + // { field: 'BuyerProvince', title: '采购方公司省份', sortable: true, width: '160px' }, + // { field: 'SoStatus', title: '销售订单状态', sortable: true, width: '160px' }, + // { field: 'OwnerId', title: '数据拥有方', sortable: true, width: '160px' }, + // { field: 'OpenId', title: '数据可见方', sortable: true, width: '160px' }, + // { field: 'DataSource', title: '数据来源', sortable: true, width: '160px' }, + // { field: 'DataSourceCreatetime', title: '来源数据创建时间', sortable: true, width: '160px' }, { title: '操作', width: 160, fixed: 'right', slots: { default: 'operate' } } ], pagerConfig: { @@ -76,10 +80,11 @@ const gridOptionsA: any = reactive({ titleWidth: 160, titleAlign: 'right', items: [ - { field: 'PurchaserHqCode', title: '采购方总部编码', span: 8, itemRender: { name: '$input', props: { placeholder: '请输入采购方总部编码' } } }, - { field: 'SoNo', title: '销售订单号', span: 8, itemRender: { name: '$input', props: { placeholder: '请输入销售订单号' } } }, - { field: 'BuyerCode', title: '采购方公司编码', span: 8, itemRender: { name: '$input', props: { placeholder: '请输入采购方公司编码' } } }, { field: 'BuyerName', title: '采购方公司名称', span: 8, itemRender: { name: '$input', props: { placeholder: '请输入采购方公司名称' } } }, + // { field: 'PurchaserHqCode', title: '采购方总部编码', span: 8, itemRender: { name: '$input', props: { placeholder: '请输入采购方总部编码' } } }, + { field: 'SoNo', title: '销售订单号', span: 8, itemRender: { name: '$input', props: { placeholder: '请输入销售订单号' } } }, + { field: 'ProductCode', title: '物料编码', span: 8, itemRender: { name: '$input', props: { placeholder: '请输入物料编码' } } }, + // { field: 'BuyerCode', title: '采购方公司编码', span: 8, itemRender: { name: '$input', props: { placeholder: '请输入采购方公司编码' } } }, { span: 24, align: 'center', collapseNode: true, itemRender: { name: '$buttons', children: [{ props: { type: 'submit', content: '查询', status: 'primary' } }, { props: { type: 'reset', content: '重置' } }] } } ] }, diff --git a/src/views/Gw/saleOrder/SaleOrderForm.vue b/src/views/Gw/saleOrder/SaleOrderForm.vue index 6eb1035..b953a00 100644 --- a/src/views/Gw/saleOrder/SaleOrderForm.vue +++ b/src/views/Gw/saleOrder/SaleOrderForm.vue @@ -2,67 +2,67 @@
- +