Browse Source

YT-2203从《客户对账单》创建开票申请时,以及从《销售开票申请》新增时:1.明细增加 “开票种类” 的显示。

intex_online20250327
张立 2 weeks ago
parent
commit
9102c59d9e
  1. 39
      src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/customerSaleInvoiceRequestMain.data.ts

39
src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/customerSaleInvoiceRequestMain.data.ts

@ -5,7 +5,10 @@ import {
} from '../moldAllocation/customerStatement/customerStatementMain.data' } from '../moldAllocation/customerStatement/customerStatementMain.data'
import * as CustomerStatementMainApi from '@/api/wms/customerStatementMain' import * as CustomerStatementMainApi from '@/api/wms/customerStatementMain'
import * as CustomerSaleInvoiceMainApi from '@/api/wms/customerSaleInvoiceMain' import * as CustomerSaleInvoiceMainApi from '@/api/wms/customerSaleInvoiceMain'
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
const { t } = useI18n() // 国际化 const { t } = useI18n() // 国际化
const invoiceType = [{label:'全部',value:''},...getDictOptions(DICT_TYPE.INVOICE_TYPE)]
console.log(888, invoiceType)
let custormList = [] let custormList = []
try { try {
@ -255,31 +258,22 @@ export const CustomerSaleInvoiceMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '开票种类', label: '开票种类',
field: 'invoiceType', field: 'invoiceType',
dictType: DICT_TYPE.INVOICE_TYPE, // dictType: DICT_TYPE.INVOICE_TYPE,
dictClass: 'string', dictClass: 'string',
table: { table: {
width: 150 width: 150
}, },
// form: { form: {
// component: 'Select', component: 'Select',
// value:[''], value:[''],
// componentProps: { componentProps: {
// showAll: true,// 备用做全选 // showAll: true,// 备用做全选
// multiple: true, multiple: true,
// // emptyValues:[null, undefined], // emptyValues:[null, undefined],
// valueOnClear: null, valueOnClear: null,
// options: [{ options: invoiceType
// label: '全部', }
// value: '' },
// }, {
// label: '号口品',
// value: '号口品'
// }, {
// label: '补给品',
// value: '补给品'
// }]
// }
// },
}, },
{ {
label: '创建时间', label: '创建时间',
@ -455,7 +449,8 @@ form:{
width: 150 width: 150
}, },
tableForm: { tableForm: {
disabled:true disabled: true,
type:'Select',
} }
}, },
{ {

Loading…
Cancel
Save