feat 完善表格数据
This commit is contained in:
parent
0a8d015200
commit
6d035350c3
@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
/**
|
||||
* @Descripttion: 客户关注Api接口
|
||||
* @version: (1.0)
|
||||
* @Author: (lwh)
|
||||
* @Date: (2023-11-24)
|
||||
* @LastEditors: (lwh)
|
||||
* @LastEditTime: (2023-11-24)
|
||||
*/
|
||||
|
||||
// 客户关注分页查询列表
|
||||
export function customerFollowList(query) {
|
||||
return request({
|
||||
url: '/business/CustomerFollow/getCustomerFollowList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 客户关注新增或修改
|
||||
export function addOrUpdateCustomerFollow(data) {
|
||||
return request({
|
||||
url: '/business/CustomerFollow/addOrUpdateCustomerFollow',
|
||||
method: 'post',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
// 客户关注删除
|
||||
export function delCustomerFollow(ids) {
|
||||
return request({
|
||||
url: '/business/CustomerFollow/'+ ids,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,111 @@
|
||||
<!--
|
||||
* @Descripttion: (客户关注/tb_customer_follow 添加弹窗)
|
||||
* @version: (1.0)
|
||||
* @Author: (lwh)
|
||||
* @Date: (2023-11-24)
|
||||
* @LastEditors: (lwh)
|
||||
* @LastEditTime: (2023-11-24)
|
||||
-->
|
||||
<template>
|
||||
<el-dialog v-model="props.modelValue" title="添加客户关注信息" width="900px" @closed="closeDialog" @open="openDialog">
|
||||
<el-form ref="formRef" :model="formData" :rules="rules">
|
||||
<el-row :gutter="20">
|
||||
|
||||
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="客户Guid" prop="customerGuid">
|
||||
<el-input v-model="formData.customerGuid" placeholder="请输入客户Guid" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="表格数据Guid" prop="tableDataGuid">
|
||||
<el-input v-model="formData.tableDataGuid" placeholder="请输入表格数据Guid" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
</el-row>
|
||||
</el-form>
|
||||
|
||||
<template #footer>
|
||||
<div key="dialog-footer">
|
||||
<el-button type="primary" @click="handleAddClick(formRef)" :loading="loadingStatus">添加</el-button>
|
||||
<el-button @click="handleResetClick(formRef)">重置</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, watch } from "vue";
|
||||
import { ElMessage } from 'element-plus'
|
||||
import modal from '@/plugins/modal.js'
|
||||
import { addOrUpdateCustomerFollow } from '@/api/business/TableDataManage/CustomerFollows/customerFollow.js';
|
||||
|
||||
|
||||
// 打开弹窗时回调
|
||||
const openDialog = async () => {
|
||||
|
||||
|
||||
}
|
||||
|
||||
// -业务参数
|
||||
|
||||
|
||||
// -业务方法
|
||||
|
||||
|
||||
|
||||
// -基础参数
|
||||
const loadingStatus = ref(false)
|
||||
const labelWidth = 100;
|
||||
const formRef = ref();
|
||||
const { proxy } = getCurrentInstance()
|
||||
const emits = defineEmits(["update:modelValue"]);
|
||||
const formData = reactive({
|
||||
});
|
||||
const props = defineProps({
|
||||
modelValue: Boolean,
|
||||
done: Function,
|
||||
});
|
||||
const imgData = ref({
|
||||
fileDir: "CustomerFollow"
|
||||
})
|
||||
|
||||
// 验证
|
||||
const rules = reactive({
|
||||
customerFollowGuid: [{ required: true, message: "不能为空", trigger: "blur", type: "number" }],
|
||||
customerGuid: [{ required: true, message: "客户Guid不能为空", trigger: "blur", type: "number" }],
|
||||
tableDataGuid: [{ required: true, message: "表格数据Guid不能为空", trigger: "blur", type: "number" }],
|
||||
});
|
||||
|
||||
// -基础方法
|
||||
|
||||
// 提交
|
||||
const handleAddClick = async (formEl) => {
|
||||
if (!formEl) return;
|
||||
formEl.validate(async (valid) => {
|
||||
if (!valid) {
|
||||
return;
|
||||
}
|
||||
loadingStatus.value = true
|
||||
|
||||
|
||||
const { code } = await addOrUpdateCustomerFollow(formData);
|
||||
if (code == 200) {
|
||||
modal.msgSuccess('添加成功')
|
||||
closeDialog();
|
||||
loadingStatus.value = false
|
||||
}
|
||||
});
|
||||
};
|
||||
const closeDialog = () => {
|
||||
handleResetClick(formRef.value);
|
||||
props.done();
|
||||
emits("update:modelValue", false);
|
||||
};
|
||||
const handleResetClick = async (formEl) => {
|
||||
if (!formEl) return;
|
||||
formEl.resetFields();
|
||||
};
|
||||
</script>
|
@ -0,0 +1,81 @@
|
||||
<!--
|
||||
* @Descripttion: (客户关注/tb_customer_follow 详情弹窗)
|
||||
* @version: (1.0)
|
||||
* @Author: (lwh)
|
||||
* @Date: (2023-11-24)
|
||||
* @LastEditors: (lwh)
|
||||
* @LastEditTime: (2023-11-24)
|
||||
-->
|
||||
<template>
|
||||
<el-dialog v-model="props.modelValue" title="客户关注信息详情" width="900px" @closed="closeDialog" @open="openDialog">
|
||||
<el-form ref="formRef" :model="formData" :disabled="true">
|
||||
|
||||
<el-row :gutter="20">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="客户Guid" >
|
||||
<el-input v-model="formData.customerGuid" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="表格数据Guid" >
|
||||
<el-input v-model="formData.tableDataGuid" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</el-row>
|
||||
</el-form>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { reactive, ref, watch } from "vue";
|
||||
|
||||
|
||||
// 打开弹窗时回调
|
||||
const openDialog = async () => {
|
||||
|
||||
}
|
||||
|
||||
const formData = ref({
|
||||
...props.data,
|
||||
});
|
||||
watch(props, async (v) => {
|
||||
formData.value = v.data;
|
||||
});
|
||||
|
||||
// -业务参数
|
||||
|
||||
// -业务方法
|
||||
|
||||
|
||||
|
||||
// 基础参数
|
||||
const formRef = ref();
|
||||
const labelWidth = 100;
|
||||
const { proxy } = getCurrentInstance()
|
||||
const props = defineProps({
|
||||
modelValue: Boolean,
|
||||
data: Object,
|
||||
done: Function,
|
||||
});
|
||||
const emits = defineEmits(["update:modelValue"]);
|
||||
|
||||
|
||||
// -基础方法
|
||||
const closeDialog = () => {
|
||||
emits("update:modelValue", false);
|
||||
};
|
||||
|
||||
</script>
|
@ -0,0 +1,125 @@
|
||||
<!--
|
||||
* @Descripttion: (客户关注/tb_customer_follow 编辑弹窗)
|
||||
* @version: (1.0)
|
||||
* @Author: (lwh)
|
||||
* @Date: (2023-11-24)
|
||||
* @LastEditors: (lwh)
|
||||
* @LastEditTime: (2023-11-24)
|
||||
-->
|
||||
<template>
|
||||
<el-dialog v-model="props.modelValue" title="修改客户关注信息" width="900px" @closed="closeDialog" @open="openDialog">
|
||||
<el-form ref="formRef" :model="formData" :rules="rules">
|
||||
<el-row :gutter="20">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="客户Guid" prop="customerGuid">
|
||||
<el-input v-model="formData.customerGuid" placeholder="请输入客户Guid" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="表格数据Guid" prop="tableDataGuid">
|
||||
<el-input v-model="formData.tableDataGuid" placeholder="请输入表格数据Guid" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</el-row>
|
||||
</el-form>
|
||||
|
||||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
<el-button type="primary" @click="handleEditClick(formRef)" :loading="loadingStatus">编辑</el-button>
|
||||
<el-button @click="handleResetClick(formRef)">重置</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ElMessage } from 'element-plus'
|
||||
import modal from '@/plugins/modal.js'
|
||||
import { reactive, ref, watch } from "vue";
|
||||
import { addOrUpdateCustomerFollow } from "@/api/business/TableDataManage/CustomerFollows/customerFollow.js";
|
||||
|
||||
|
||||
// 打开弹窗时回调
|
||||
const openDialog = async () => {
|
||||
|
||||
}
|
||||
|
||||
const formData = ref({
|
||||
...props.data,
|
||||
});
|
||||
watch(props, async (v) => {
|
||||
formData.value = v.data;
|
||||
|
||||
});
|
||||
|
||||
// 业务参数
|
||||
|
||||
// -业务方法
|
||||
|
||||
|
||||
|
||||
// -基础参数
|
||||
const props = defineProps({
|
||||
modelValue: Boolean,
|
||||
data: Object,
|
||||
done: Function,
|
||||
});
|
||||
|
||||
const loadingStatus = ref(false)
|
||||
const labelWidth = 100;
|
||||
const formRef = ref();
|
||||
const { proxy } = getCurrentInstance()
|
||||
const emits = defineEmits(["update:modelValue"]);
|
||||
const imgData = ref({
|
||||
fileDir: "CustomerFollow"
|
||||
})
|
||||
|
||||
// 验证
|
||||
const rules = reactive({
|
||||
customerFollowGuid: [{ required: true, message: "不能为空", trigger: "blur", type: "number" }],
|
||||
customerGuid: [{ required: true, message: "客户Guid不能为空", trigger: "blur", type: "number" }],
|
||||
tableDataGuid: [{ required: true, message: "表格数据Guid不能为空", trigger: "blur", type: "number" }],
|
||||
});
|
||||
|
||||
// -基础方法
|
||||
// 提交
|
||||
const handleEditClick = async (formEl) => {
|
||||
if (!formEl) return;
|
||||
formEl.validate(async (valid) => {
|
||||
if (!valid) {
|
||||
return;
|
||||
}
|
||||
loadingStatus.value = true
|
||||
|
||||
|
||||
const { code } = await addOrUpdateCustomerFollow(formData.value);
|
||||
if (code == 200) {
|
||||
modal.msgSuccess('修改成功')
|
||||
closeDialog();
|
||||
loadingStatus.value = false
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
const handleResetClick = async (formEl) => {
|
||||
if (!formEl) return;
|
||||
formEl.resetFields();
|
||||
}
|
||||
const closeDialog = () => {
|
||||
props.done();
|
||||
emits("update:modelValue", false);
|
||||
};
|
||||
|
||||
</script>
|
202
src/views/business/TableDataManage/CustomerFollows/index.vue
Normal file
202
src/views/business/TableDataManage/CustomerFollows/index.vue
Normal file
@ -0,0 +1,202 @@
|
||||
<!--
|
||||
* @Descripttion: (客户关注/tb_customer_follow)
|
||||
* @version: (1.0)
|
||||
* @Author: (lwh)
|
||||
* @Date: (2023-11-24)
|
||||
* @LastEditors: (lwh)
|
||||
* @LastEditTime: (2023-11-24)
|
||||
-->
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-row :gutter="24">
|
||||
<!-- 搜索框 queryParams.需要搜索的字段 -->
|
||||
<el-form :model="queryParams" label-position="left" style="margin:15px;" inline ref="queryForm" v-show="showSearch"
|
||||
@submit.prevent>
|
||||
|
||||
<el-form-item label="用户名" prop="customerName">
|
||||
<el-input v-model="queryParams.customerName" placeholder="请输入用户名" clearable
|
||||
@keyup.enter="handleQuery" />
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="手机号码" prop="customerPhone">
|
||||
<el-input v-model="queryParams.customerPhone" placeholder="请输入手机号码" clearable
|
||||
@keyup.enter="handleQuery" />
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="采购内容" prop="tableDataProcurementContent">
|
||||
<el-input v-model="queryParams.tableDataProcurementContent" placeholder="请输入采购内容" clearable
|
||||
@keyup.enter="handleQuery" />
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item>
|
||||
<el-button icon="search" type="primary" @click="handleQuery">{{ $t('btn.search') }}</el-button>
|
||||
<el-button icon="refresh" @click="resetQuery">{{ $t('btn.reset') }}</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-row>
|
||||
|
||||
<!-- 工具按钮 -->
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<!-- <el-col :span="1.5">
|
||||
<el-button type="primary" v-hasPermi="['business:customerfollow:addOrUpdate']" plain icon="plus"
|
||||
@click="AddDialogVisible = true">
|
||||
{{ $t('btn.add') }}
|
||||
</el-button>
|
||||
</el-col> -->
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" :disabled="multiple" v-hasPermi="['business:customerfollow:delete']" plain icon="delete"
|
||||
@click="handleDelete">
|
||||
{{ $t('btn.delete') }}
|
||||
</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<!-- 表格渲染 prop="对应的字段"-->
|
||||
<el-table v-loading="loading" :data="dataList" ref="tableRef" border highlight-current-row
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="50" align="center" />
|
||||
|
||||
<el-table-column prop="customerName" label="用户名称" align="center" :show-overflow-tooltip="true" />
|
||||
<el-table-column prop="customerPhone" label="手机号码" align="center" :show-overflow-tooltip="true" />
|
||||
<el-table-column prop="tableDataName" label="关注表格" align="center" :show-overflow-tooltip="true" />
|
||||
|
||||
<el-table-column label="操作" width="350" fixed="right">
|
||||
<template #default="scope">
|
||||
<!-- <el-button type="primary" size="small" icon="edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['business:customerfollow:addOrUpdate']">编辑</el-button> -->
|
||||
<el-button type="danger" size="small" icon="delete" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['business:customerfollow:delete']">删除</el-button>
|
||||
<!-- <el-button size="small" icon="view" @click="handleDetail(scope.row)">查看</el-button> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
</el-table>
|
||||
<pagination :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize"
|
||||
@pagination="getList" />
|
||||
</div>
|
||||
|
||||
<!-- 添加 -->
|
||||
<AddDialog v-model="AddDialogVisible" :done="() => resetQuery()"></AddDialog>
|
||||
<!-- 编辑 -->
|
||||
<EditDialog v-model="EditDialogVisible" :data="EditDialogRow" :done="() => resetQuery()"></EditDialog>
|
||||
<!-- 详情 -->
|
||||
<DetailDialog v-model="DetailDialogVisible" :data="DetailDialogRow" :done="() => resetQuery()"></DetailDialog>
|
||||
</template>
|
||||
<script setup name="customerfollow">
|
||||
import { ElMessageBox } from 'element-plus'
|
||||
import modal from '@/plugins/modal.js'
|
||||
import { customerFollowList, delCustomerFollow } from '@/api/business/TableDataManage/CustomerFollows/customerFollow.js'
|
||||
import AddDialog from "./components/AddDialog.vue";
|
||||
import EditDialog from "./components/EditDialog.vue";
|
||||
import DetailDialog from "./components/DetailDialog.vue";
|
||||
|
||||
const AddDialogVisible = ref(false);
|
||||
const EditDialogVisible = ref(false);
|
||||
const EditDialogRow = ref({});
|
||||
const DetailDialogVisible = ref(false);
|
||||
const DetailDialogRow = ref({});
|
||||
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
||||
// 选中categoryId数组数组
|
||||
const ids = ref([])
|
||||
// 非单选禁用
|
||||
const single = ref(true)
|
||||
// 非多个禁用
|
||||
const multiple = ref(true)
|
||||
// 显示搜索条件
|
||||
const showSearch = ref(true)
|
||||
// 数据列表
|
||||
const dataList = ref([])
|
||||
// 总记录数
|
||||
const total = ref(0)
|
||||
// 是否加载
|
||||
const loading = ref(true)
|
||||
|
||||
const data = reactive({
|
||||
form: {},
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10
|
||||
},
|
||||
})
|
||||
const { queryParams } = toRefs(data)
|
||||
|
||||
// 业务参数
|
||||
|
||||
|
||||
// 业务方法
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//基础方法
|
||||
|
||||
// 查询数据
|
||||
function getList() {
|
||||
loading.value = true
|
||||
|
||||
|
||||
customerFollowList(queryParams.value).then((res) => {
|
||||
if (res.code == 200) {
|
||||
loading.value = false;
|
||||
dataList.value = res.data.result;
|
||||
total.value = res.data.totalNum;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 多选框选中数据
|
||||
function handleSelectionChange(selection) {
|
||||
ids.value = selection.map((item) => item.customerFollowId)
|
||||
single.value = selection.length != 1
|
||||
multiple.value = !selection.length
|
||||
}
|
||||
|
||||
/** 重置查询操作 */
|
||||
function resetQuery() {
|
||||
proxy.resetForm('queryForm')
|
||||
handleQuery()
|
||||
}
|
||||
/** 搜索按钮操作 */
|
||||
function handleQuery() {
|
||||
getList()
|
||||
}
|
||||
/** 删除按钮操作 */
|
||||
function handleDelete(row) {
|
||||
const Ids = row.customerFollowId || ids.value
|
||||
|
||||
ElMessageBox.confirm("是否确认删除?", "系统提示", {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
})
|
||||
.then(function () {
|
||||
return delCustomerFollow(Ids)
|
||||
})
|
||||
.then(() => {
|
||||
handleQuery()
|
||||
modal.msgSuccess("删除成功")
|
||||
})
|
||||
.catch(() => { })
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 修改
|
||||
function handleUpdate(row) {
|
||||
EditDialogVisible.value = true
|
||||
EditDialogRow.value = row
|
||||
}
|
||||
|
||||
// 详情
|
||||
function handleDetail(row) {
|
||||
DetailDialogVisible.value = true
|
||||
DetailDialogRow.value = row
|
||||
}
|
||||
|
||||
handleQuery()
|
||||
</script>
|
@ -42,11 +42,6 @@
|
||||
<el-input v-model="formData.tableDataSingleSource" placeholder="请输入单一来源理由(如有)" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-form-item :label-width="labelWidth" label="供应商名称" prop="tableDataSupplierName">
|
||||
<el-input v-model="formData.tableDataSupplierName" placeholder="请输入供应商名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-form-item :label-width="labelWidth" label="项目计价形式" prop="tableDataProjectPricingForm">
|
||||
<el-input v-model="formData.tableDataProjectPricingForm" placeholder="请输入项目计价形式" />
|
||||
@ -122,14 +117,20 @@
|
||||
<el-input v-model="formData.tableDataWinningBidde" placeholder="请输入中标人或候选人" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="中标金额" prop="tableDataBidWinningPrice">
|
||||
<el-input-number v-model.number="formData.tableDataBidWinningPrice" controls-position="right" :min="0"
|
||||
:precision="2" :step="0.1" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="供应商名称" prop="tableDataSupplierName">
|
||||
<el-input v-model="formData.tableDataSupplierName" placeholder="请输入供应商名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="中标金额" prop="tableDataBidWinningPrice">
|
||||
<el-input-number v-model.number="formData.tableDataBidWinningPrice" controls-position="right" :min="0"
|
||||
<el-form-item :label-width="labelWidth" label="供应商报价" prop="tableDataSupplierOffer">
|
||||
<el-input-number v-model.number="formData.tableDataSupplierOffer" controls-position="right" :min="0"
|
||||
:precision="2" :step="0.1" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -42,11 +42,6 @@
|
||||
<el-input v-model="formData.tableDataSingleSource" placeholder="请输入单一来源理由(如有)" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-form-item :label-width="labelWidth" label="供应商名称" prop="tableDataSupplierName">
|
||||
<el-input v-model="formData.tableDataSupplierName" placeholder="请输入供应商名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-form-item :label-width="labelWidth" label="项目计价形式" prop="tableDataProjectPricingForm">
|
||||
<el-input v-model="formData.tableDataProjectPricingForm" placeholder="请输入项目计价形式" />
|
||||
@ -122,14 +117,20 @@
|
||||
<el-input v-model="formData.tableDataWinningBidde" placeholder="请输入中标人或候选人" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="中标金额" prop="tableDataBidWinningPrice">
|
||||
<el-input-number v-model.number="formData.tableDataBidWinningPrice" controls-position="right" :min="0"
|
||||
:precision="2" :step="0.1" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="供应商名称" prop="tableDataSupplierName">
|
||||
<el-input v-model="formData.tableDataSupplierName" placeholder="请输入供应商名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="中标金额" prop="tableDataBidWinningPrice">
|
||||
<el-input-number v-model.number="formData.tableDataBidWinningPrice" controls-position="right" :min="0"
|
||||
<el-form-item :label-width="labelWidth" label="供应商报价" prop="tableDataSupplierOffer">
|
||||
<el-input-number v-model.number="formData.tableDataSupplierOffer" controls-position="right" :min="0"
|
||||
:precision="2" :step="0.1" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -42,11 +42,6 @@
|
||||
<el-input v-model="formData.tableDataSingleSource" placeholder="请输入单一来源理由(如有)" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-form-item :label-width="labelWidth" label="供应商名称" prop="tableDataSupplierName">
|
||||
<el-input v-model="formData.tableDataSupplierName" placeholder="请输入供应商名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-form-item :label-width="labelWidth" label="项目计价形式" prop="tableDataProjectPricingForm">
|
||||
<el-input v-model="formData.tableDataProjectPricingForm" placeholder="请输入项目计价形式" />
|
||||
@ -122,14 +117,20 @@
|
||||
<el-input v-model="formData.tableDataWinningBidde" placeholder="请输入中标人或候选人" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="24">
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="中标金额" prop="tableDataBidWinningPrice">
|
||||
<el-input-number v-model.number="formData.tableDataBidWinningPrice" controls-position="right" :min="0"
|
||||
:precision="2" :step="0.1" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="供应商名称" prop="tableDataSupplierName">
|
||||
<el-input v-model="formData.tableDataSupplierName" placeholder="请输入供应商名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :lg="12">
|
||||
<el-form-item :label-width="labelWidth" label="中标金额" prop="tableDataBidWinningPrice">
|
||||
<el-input-number v-model.number="formData.tableDataBidWinningPrice" controls-position="right" :min="0"
|
||||
<el-form-item :label-width="labelWidth" label="供应商报价" prop="tableDataSupplierOffer">
|
||||
<el-input-number v-model.number="formData.tableDataSupplierOffer" controls-position="right" :min="0"
|
||||
:precision="2" :step="0.1" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
Loading…
Reference in New Issue
Block a user