定时任务同步供应商数据

This commit is contained in:
luojiaquan
2026-09-29 11:28:15 +08:00
parent ff57be1116
commit b9746e3801
15 changed files with 660 additions and 13 deletions
@@ -55,6 +55,20 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开票类型" prop="invoiceType">
<el-select v-model="form.invoiceType" placeholder="请选择开票类型" clearable style="width: 100%;">
<el-option v-for="opt in invoiceTypeOptions" :key="opt.value" :label="opt.label" :value="opt.value" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="卡车行类型" prop="kacheType">
<el-select v-model="form.kacheType" placeholder="请选择卡车行类型" clearable style="width: 100%;">
<el-option v-for="opt in kacheTypeOptions" :key="opt.value" :label="opt.label" :value="opt.value" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="启用状态" prop="isEnable">
<el-select v-model="form.isEnable" placeholder="请选择启用状态" clearable style="width: 100%;">
@@ -595,11 +609,22 @@ const rules = {
}
const supplierTypeOptions = ref([
{ value: '0', label: '生产商' },
{ value: '1', label: '代理商' },
{ value: '2', label: '个人' },
{ value: '3', label: '物流商' },
{ value: '4', label: '其他' }
{ value: '1', label: '卡车行' },
{ value: '2', label: '航司代理' },
{ value: '3', label: '报关行' },
{ value: '4', label: '清关行' },
{ value: '5', label: '尾派服务商' },
{ value: '6', label: '报关代理' }
])
const invoiceTypeOptions = ref([
{ value: '1', label: '增值税普通发票' },
{ value: '2', label: '增值税专用发票' },
{ value: '3', label: '增值税电子普通发票' },
{ value: '4', label: '其他普通发票' }
])
const kacheTypeOptions = ref([
{ value: '0', label: '国内' },
{ value: '1', label: '国外' }
])
const cooperationStatusOptions = ref([
{ value: '0', label: '正常' },
@@ -616,6 +641,8 @@ function buildEmptyForm() {
supplierCodeDw: null,
creditCode: null,
supplierType: null,
invoiceType: null,
kacheType: null,
isEnable: null,
purchaserUserId: null,
purchaserUser: null,