Browse Source

Merge branch 'intex_online20250509' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into intex_online20250509

intex_online20250509
张立 4 weeks ago
parent
commit
60b50dfdb3
  1. 38
      src/views/wms/deliversettlementManage/moldAllocation/supplierMoldCostMain/index.vue
  2. 3
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts
  3. 12
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

38
src/views/wms/deliversettlementManage/moldAllocation/supplierMoldCostMain/index.vue

@ -64,7 +64,18 @@
:detailButtonIsShowEdit="false"
:detailButtonIsShowDelete="false"
:buttondataTable="buttondataTable"
:otherHeadButttonData = "[]"
:otherHeadButttonData = "[
{
label: t('ts.导出明细'),
name: 'export-detail',
hide: false,
type: 'primary',
// icon: 'ep:operation',
color: '',
float: 'left',
hasPermi: ''
}
]"
@buttonBaseClick="detailButtonBaseClick"
@tableFormButton="tableFormButton"
@ -260,7 +271,7 @@ const buttonBaseClick = (val, item) => {
}
}
const clicKRowId = ref()
//
const tableFormButton = async (val , row) => {
if (val == 'close') { //
@ -281,6 +292,7 @@ const buttonBaseClick = (val, item) => {
value: row.number
}]
detailRef.value.openDetail(row, titleName, titleValue, 'basicCustomerStatementMain')
clicKRowId.value = row.id;
}
@ -369,8 +381,30 @@ const importSuccess = () => {
if (val == 'export') {
//
handleExportDetail(detailTableObject)
} else if (val === 'export-detail') {
console.log('导出明细:', clicKRowId.value)
handleDetailExport(clicKRowId.value)
}
}
/** 导出明细按钮操作 */
const exportLoadingDetail = ref(false) //
const handleDetailExport = async (masterId) => {
try {
//
await message.exportConfirm()
//
exportLoadingDetail.value = true
let params = {
masterId: masterId
}
const excelTitle = ref(route.meta.title)
const data = await SuppliperMoldCostDetailApi.exportSupplierMoldCostDetail(params)
download.excel(data, `${excelTitle.value}明细】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoadingDetail.value = false
}
}
/** 导出按钮操作 */
const exportLoading = ref(false) //
//

3
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -74,7 +74,8 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable:false
isTable:true,
sortTableDefault:5,
},
{
label: '供应商代码',

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

@ -1052,6 +1052,18 @@ export const PurchasePlanDetail = useCrudSchemas(
isTable: true,
},
{
label: '已收库存数量',
field: 'inventoryedQty',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
isForm: false,
isTable: true,
},
// {需求作废
// label: '受入地',

Loading…
Cancel
Save