Commit 24950b9e authored by tanghao's avatar tanghao

接单条码

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