master
吴普建 11 months ago
parent 9b92babe46
commit ba0c39443c

@ -160,7 +160,7 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '入库单编号', title: '入库单编号',
key: 'recptCode', key: 'recptCode',
align: 'center', align: 'center',
width: 110, width: 130,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -169,7 +169,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '入库单名称', title: '入库单名称',
key: 'recptName', key: 'recptName',
align: 'center', align: 'center',
width: 110,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -178,7 +177,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '销售订单编号', title: '销售订单编号',
key: 'poCode', key: 'poCode',
align: 'center', align: 'center',
width: 110,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -187,7 +185,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '供应商名称', title: '供应商名称',
key: 'vendorName', key: 'vendorName',
align: 'center', align: 'center',
width: 110,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -196,7 +193,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '仓库名称', title: '仓库名称',
key: 'warehouseName', key: 'warehouseName',
align: 'center', align: 'center',
width: 110,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -217,7 +213,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '入库日期', title: '入库日期',
key: 'recptDate', key: 'recptDate',
align: 'center', align: 'center',
width: 110,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -226,7 +221,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '创建时间', title: '创建时间',
key: 'createTime', key: 'createTime',
align: 'center', align: 'center',
width: 180,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -238,7 +232,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
render: row => { render: row => {
return <dict-tag options={wms_item_recpt_status.value} value={row.status}></dict-tag>; return <dict-tag options={wms_item_recpt_status.value} value={row.status}></dict-tag>;
}, },
width: 110,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -247,7 +240,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '来源单据编码', title: '来源单据编码',
key: 'fromBillCode', key: 'fromBillCode',
align: 'center', align: 'center',
width: 110,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -256,7 +248,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '负责人简称', title: '负责人简称',
key: 'headByNick', key: 'headByNick',
align: 'center', align: 'center',
width: 110,
ellipsis: { ellipsis: {
tooltip: true tooltip: true
} }
@ -265,7 +256,6 @@ const columns: Ref<DataTableColumns<wms.recptRawType.columns>> = ref([
title: '操作', title: '操作',
key: 'action', key: 'action',
fixed: 'right', fixed: 'right',
width: 220,
align: 'center', align: 'center',
render: row => { render: row => {
console.log(wms_item_recpt_status.value, row.status, '----'); console.log(wms_item_recpt_status.value, row.status, '----');
@ -325,6 +315,7 @@ function print(row: wms.recptRawType.columns) {
); );
window.$message?.success('已发送打印命令'); window.$message?.success('已发送打印命令');
} }
// async function handleEditTable(issueId: number) { // async function handleEditTable(issueId: number) {
// console.log('', issueId); // console.log('', issueId);
// } // }
@ -369,6 +360,7 @@ function getWmsItemRecptData() {
} }
}); });
} }
// //
function delSelect() { function delSelect() {
delWmsItemRecpt(selectKeys.value.join(',') as string).then(() => { delWmsItemRecpt(selectKeys.value.join(',') as string).then(() => {
@ -384,5 +376,6 @@ function init() {
getWmsItemRecptData(); getWmsItemRecptData();
// //
} }
init(); init();
</script> </script>

Loading…
Cancel
Save