mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-03 04:34:07 +08:00
✨ ERP:初始化 receipt 收款单的逻辑 100%
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="退货时间" prop="orderTime">
|
||||
<el-date-picker
|
||||
v-model="queryParams.inTime"
|
||||
v-model="queryParams.returnTime"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
@@ -122,7 +122,7 @@ import { dateFormatter2 } from '@/utils/formatTime'
|
||||
import { erpPriceInputFormatter, erpPriceTableColumnFormatter } from '@/utils'
|
||||
import { ProductApi, ProductVO } from '@/api/erp/product/product'
|
||||
import { PurchaseReturnApi, PurchaseReturnVO } from '@/api/erp/purchase/return'
|
||||
import { PurchaseInVO } from '@/api/erp/purchase/in'
|
||||
import { SaleReturnVO } from '@/api/erp/sale/return'
|
||||
|
||||
defineOptions({ name: 'PurchaseInPaymentEnableList' })
|
||||
|
||||
@@ -135,7 +135,7 @@ const queryParams = reactive({
|
||||
pageSize: 10,
|
||||
no: undefined,
|
||||
productId: undefined,
|
||||
inTime: [],
|
||||
returnTime: [],
|
||||
refundEnable: true,
|
||||
supplierId: undefined
|
||||
})
|
||||
@@ -143,8 +143,8 @@ const queryFormRef = ref() // 搜索的表单
|
||||
const productList = ref<ProductVO[]>([]) // 产品列表
|
||||
|
||||
/** 选中操作 */
|
||||
const selectionList = ref<PurchaseInVO[]>([])
|
||||
const handleSelectionChange = (rows: PurchaseInVO[]) => {
|
||||
const selectionList = ref<SaleReturnVO[]>([])
|
||||
const handleSelectionChange = (rows: SaleReturnVO[]) => {
|
||||
selectionList.value = rows
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
|
||||
|
||||
/** 提交选择 */
|
||||
const emits = defineEmits<{
|
||||
(e: 'success', value: PurchaseInVO[]): void
|
||||
(e: 'success', value: SaleReturnVO[]): void
|
||||
}>()
|
||||
const submitForm = () => {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user