Commit 24950b9e authored by tanghao's avatar tanghao

接单条码

parent f2b9c528
<template>
<div class="container m-auto pt-10">
<el-form ref="formRef" :model="formState" label-width="100px">
<el-form-item label="收单条码:">
<el-input v-model="formState.acquiringBarcode" ></el-input>
</el-form-item>
<el-form-item label="客户:">
<el-input v-model="formState.customerName" disabled>
<template #append>
......@@ -65,7 +70,8 @@ const formRef = ref()
const tableData = ref([])
const formState = reactive({
customerName: '',
customerId: ''
customerId: '',
acquiringBarcode:''
})
const emit = defineEmits(['upload'])
......@@ -103,7 +109,8 @@ const submitForm = async () => {
}
const params = {
filePaths: tableData.value.map((item) => item.url),
customerId: formState.customerId
customerId: formState.customerId,
acquiringBarcode: formState.acquiringBarcode,
}
apiSaveUpload(params).then(({ data }) => {
// const { setFileInfo } = useCommentExcel()
......
......@@ -18,6 +18,10 @@
</template>
</el-input>
</el-form-item>
<el-form-item label="收单条码">
<el-input v-model="queryParams.acquiringBarcode" placeholder="" clearable />
</el-form-item>
<el-form-item label="订单状态">
<el-select v-model="queryParams.status" placeholder="" clearable>
......@@ -90,6 +94,8 @@
}}</el-link>
</template>
</vxe-column>
<vxe-column field="acquiringBarcode" title="收单条码" width="120"></vxe-column>
<vxe-column field="status_dictText" title="订单状态" width="120"></vxe-column>
<vxe-column field="createTime" title="创建时间" width="180"></vxe-column>
<vxe-column field="createBy_dictText" title="创建人" width="180"></vxe-column>
......@@ -279,11 +285,6 @@
</template>
</vxe-modal>
<CustomerModal v-model:visible="visible" @confirm="confirmCustomer" />
<UserModal v-model:visible="visibleUserModal" @confirm="confirmUser" />
</template>
......@@ -346,7 +347,9 @@ const queryParams = reactive({
customerId_dict:'',
createBy: '',
createby_dict: '',
templateFileId:'',
currentPage: 1,
acquiringBarcode:'',
pageSize: 10,
total: 0,
column: 'createTime',
......@@ -690,6 +693,7 @@ const onReset = () => {
createBy: '',
createby_dict: '',
customerId_dict:'',
acquiringBarcode:'',
customerId:''
})
}
......
......@@ -8,6 +8,10 @@
<el-form-item label="模版文件ID">
<el-input v-model="formState.templateFileId" placeholder="" clearable />
</el-form-item>
<el-form-item label="收单条码">
<el-input v-model="formState.acquiringBarcode" placeholder="" clearable />
</el-form-item>
<el-form-item label="客户">
<el-input v-model="formState.customerId_dict" placeholder="" readonly>
<template #append>
......@@ -72,6 +76,8 @@
</vxe-column>
<vxe-column field="customerId_dictText" title="客户名称" width="120"></vxe-column>
<vxe-column field="acquiringBarcode" title="收单条码" width="120"></vxe-column>
<vxe-column title="原始文件地址" min-width="300">
<template #default="{ row }">
<el-link
......@@ -145,6 +151,7 @@ const formState = reactive({
templateFileId: '',
createBy: '',
createby_dict: '',
acquiringBarcode:'',
createTime: null,
currentPage: 1,
pageSize: 10,
......@@ -190,6 +197,7 @@ const onReset = () => {
customerId: '',
customerId_dict: '',
createby_dict: '',
acquiringBarcode:'',
createTime: null
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment