更新
This commit is contained in:
parent
0d683c4414
commit
d28da96914
@ -5,19 +5,28 @@
|
||||
<span>客户统计</span>
|
||||
</div>
|
||||
</template>
|
||||
<div style="height:40px">
|
||||
<el-date-picker v-model="year" @change='getCustom' value-format="YYYY" type="year" style="float:right"
|
||||
placeholder="年份选择" />
|
||||
</div>
|
||||
|
||||
|
||||
<div style="display: flex;justify-content: space-around;">
|
||||
<div v-for=" item in customList" :key="item" style="text-align: center;">
|
||||
<div>{{ item.value }}</div>
|
||||
<div>{{ item.name }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="customNum" class="chart"></div>
|
||||
<div id="customNum" class="chart" v-if="showChart"></div>
|
||||
</el-card>
|
||||
</template>
|
||||
<script setup>
|
||||
import * as echarts from 'echarts';
|
||||
import { apistatisticscustoms } from '@/api/statistics'
|
||||
|
||||
const year = ref('')
|
||||
const showChart = ref(true)
|
||||
|
||||
const customList = reactive([
|
||||
{
|
||||
name: "客户总数",
|
||||
@ -76,7 +85,10 @@ const setHistogramOption = (legend, xAxisData, series) => {
|
||||
}
|
||||
|
||||
const getCustom = async () => {
|
||||
let res = await apistatisticscustoms()
|
||||
showChart.value = false
|
||||
let res = await apistatisticscustoms({ year: year.value })
|
||||
showChart.value = true
|
||||
await nextTick()
|
||||
initChart("customNum", setHistogramOption({ data: [res.series.name] }, res.column
|
||||
, [{
|
||||
name: res.series.name,
|
||||
|
@ -5,6 +5,8 @@
|
||||
<span> 项目立项</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<div style="display: flex;justify-content: space-around;">
|
||||
<div v-for=" item in customList" :key="item" style="text-align: center;">
|
||||
<div>{{ item.value }}</div>
|
||||
|
@ -5,19 +5,27 @@
|
||||
<span>项目回款</span>
|
||||
</div>
|
||||
</template>
|
||||
<div style="height:40px">
|
||||
<el-date-picker v-model="year" @change='getCustom' value-format="YYYY" type="year" style="float:right"
|
||||
placeholder="年份选择" />
|
||||
</div>
|
||||
|
||||
<div style="display: flex;justify-content: space-around;">
|
||||
<div v-for=" item in customList" :key="item" style="text-align: center;">
|
||||
<div>{{ item.value }}</div>
|
||||
<div>{{ item.name }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ProjectPayment" class="chart"></div>
|
||||
<div id="ProjectPayment" class="chart" v-if="showChart"></div>
|
||||
</el-card>
|
||||
</template>
|
||||
<script setup>
|
||||
import * as echarts from 'echarts';
|
||||
import { apistatisticsprojectRefund } from '@/api/statistics'
|
||||
|
||||
const year = ref('')
|
||||
const showChart = ref(true)
|
||||
|
||||
const customList = reactive([
|
||||
{
|
||||
name: "年度开票金额",
|
||||
@ -49,8 +57,11 @@ const initChart = (id, opt) => {
|
||||
|
||||
|
||||
const getCustom = async () => {
|
||||
let res = await apistatisticsprojectRefund()
|
||||
showChart.value = false
|
||||
|
||||
let res = await apistatisticsprojectRefund()
|
||||
showChart.value = true
|
||||
await nextTick()
|
||||
var option4 = {
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
|
@ -5,19 +5,25 @@
|
||||
<span>项目付款统计</span>
|
||||
</div>
|
||||
</template>
|
||||
<div style="height:40px">
|
||||
<el-date-picker v-model="year" @change='getCustom' value-format="YYYY" type="year" style="float:right"
|
||||
placeholder="年份选择" />
|
||||
</div>
|
||||
|
||||
<div style="display: flex;justify-content: space-around;">
|
||||
<div v-for=" item in customList" :key="item" style="text-align: center;">
|
||||
<div>{{ item.value }}</div>
|
||||
<div>{{ item.name }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ProjectWithdraw" class="chart"></div>
|
||||
<div id="ProjectWithdraw" class="chart" v-if="showChart"></div>
|
||||
</el-card>
|
||||
</template>
|
||||
<script setup>
|
||||
import * as echarts from 'echarts';
|
||||
import { apistatisticsprojectPayment } from '@/api/statistics'
|
||||
|
||||
const year = ref('')
|
||||
const showChart = ref(true)
|
||||
const customList = reactive([
|
||||
{
|
||||
name: "年度回票金额",
|
||||
@ -49,8 +55,10 @@ const initChart = (id, opt) => {
|
||||
|
||||
|
||||
const getCustom = async () => {
|
||||
showChart.value = false
|
||||
let res = await apistatisticsprojectPayment()
|
||||
console.log(res)
|
||||
showChart.value = true
|
||||
await nextTick()
|
||||
|
||||
var option4 = {
|
||||
tooltip: {
|
||||
|
@ -5,19 +5,28 @@
|
||||
<span>采购合同</span>
|
||||
</div>
|
||||
</template>
|
||||
<div style="height:40px">
|
||||
<el-date-picker v-model="year" @change='getCustom' value-format="YYYY" type="year" style="float:right"
|
||||
placeholder="年份选择" />
|
||||
</div>
|
||||
|
||||
<div style="display: flex;justify-content: space-around;">
|
||||
<div v-for=" item in customList" :key="item" style="text-align: center;">
|
||||
<div>{{ item.value }}</div>
|
||||
<div>{{ item.name }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="PurchaseContracts" class="chart"></div>
|
||||
<div id="PurchaseContracts" class="chart" v-if="showChart"></div>
|
||||
</el-card>
|
||||
</template>
|
||||
<script setup>
|
||||
import * as echarts from 'echarts';
|
||||
import { apistatisticsprocurementContract } from '@/api/statistics'
|
||||
|
||||
const year = ref('')
|
||||
const showChart = ref(true)
|
||||
|
||||
|
||||
const customList = reactive([
|
||||
{
|
||||
name: "合同总数",
|
||||
@ -84,7 +93,10 @@ const setHistogramOption = (legend, xAxisData, series) => {
|
||||
}
|
||||
|
||||
const getCustom = async () => {
|
||||
showChart.value = false
|
||||
let res = await apistatisticsprocurementContract()
|
||||
showChart.value = true
|
||||
await nextTick()
|
||||
initChart("PurchaseContracts", setHistogramOption({ data: [res.series.name] }, res.column
|
||||
, [{
|
||||
name: res.series.name,
|
||||
|
@ -5,19 +5,26 @@
|
||||
<span>分包合同</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<div style="height:40px">
|
||||
<el-date-picker v-model="year" @change='getCustom' value-format="YYYY" type="year" style="float:right"
|
||||
placeholder="年份选择" />
|
||||
</div>
|
||||
|
||||
<div style="display: flex;justify-content: space-around;">
|
||||
<div v-for=" item in customList" :key="item" style="text-align: center;">
|
||||
<div>{{ item.value }}</div>
|
||||
<div>{{ item.name }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="Subcontract" class="chart"></div>
|
||||
<div id="Subcontract" class="chart" v-if="showChart"></div>
|
||||
</el-card>
|
||||
</template>
|
||||
<script setup>
|
||||
import * as echarts from 'echarts';
|
||||
import { apistatisticssubcontractingContract } from '@/api/statistics'
|
||||
|
||||
const year = ref('')
|
||||
const showChart = ref(true)
|
||||
const customList = reactive([
|
||||
{
|
||||
name: "总金额",
|
||||
@ -88,7 +95,10 @@ const setHistogramOption = (legend, xAxisData, series) => {
|
||||
}
|
||||
|
||||
const getCustom = async () => {
|
||||
showChart.value = false
|
||||
let res = await apistatisticssubcontractingContract()
|
||||
showChart.value = true
|
||||
await nextTick()
|
||||
initChart("Subcontract", setHistogramOption({ data: [res.series.name] }, res.column
|
||||
, [{
|
||||
name: res.series.name,
|
||||
|
@ -5,19 +5,25 @@
|
||||
<span>项目合同</span>
|
||||
</div>
|
||||
</template>
|
||||
<div style="height:40px">
|
||||
<el-date-picker v-model="year" @change='getCustom' value-format="YYYY" type="year" style="float:right"
|
||||
placeholder="年份选择" />
|
||||
</div>
|
||||
|
||||
<div style="display: flex;justify-content: space-around;">
|
||||
<div v-for=" item in customList" :key="item" style="text-align: center;">
|
||||
<div>{{ item.value }}</div>
|
||||
<div>{{ item.name }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="main3" class="chart"></div>
|
||||
<div id="main3" class="chart" v-if="showChart"></div>
|
||||
</el-card>
|
||||
</template>
|
||||
<script setup>
|
||||
import * as echarts from 'echarts';
|
||||
import { apistatisticscontracts } from '@/api/statistics'
|
||||
|
||||
const year = ref('')
|
||||
const showChart = ref(true)
|
||||
const customList = reactive([
|
||||
{
|
||||
name: "合同金额",
|
||||
@ -88,7 +94,10 @@ const setHistogramOption = (legend, xAxisData, series) => {
|
||||
}
|
||||
|
||||
const getCustom = async () => {
|
||||
showChart.value = false
|
||||
let res = await apistatisticscontracts()
|
||||
showChart.value = true
|
||||
await nextTick()
|
||||
initChart("main3", setHistogramOption({ data: [res.series.name] }, res.column
|
||||
, [{
|
||||
name: res.series.name,
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -18,7 +18,7 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="是否中标" prop="is_successful">
|
||||
<el-select v-model="formData.is_successful" clearable placeholder="请选择是否中标">
|
||||
<el-select v-model="formData.is_successful" clearable placeholder="请选择是否中标" class="w-[400px]">
|
||||
<el-option v-for="(item, index) in dictData.is_successful" :key="index" :label="item.name"
|
||||
:value="parseInt(item.value)" />
|
||||
</el-select>
|
||||
|
@ -57,7 +57,7 @@
|
||||
<el-col :span="8">
|
||||
<el-button @click="showDialog2 = true" type="primary">选择待付款计划</el-button>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-col :span="8">
|
||||
<el-form-item label="付款日期" prop="pay_date"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.pay_date" clearable
|
||||
|
@ -19,7 +19,8 @@
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="合同类型" prop="contract_cate">
|
||||
<el-select v-model="formData.contract_cate" placeholder="请选择" @change="resetFormData">
|
||||
<el-select v-model="formData.contract_cate" placeholder="请选择" @change="resetFormData"
|
||||
class="flex-1">
|
||||
<el-option label="采购合同" :value="1"></el-option>
|
||||
<el-option label="分包合同" :value="2"></el-option>
|
||||
</el-select>
|
||||
|
@ -18,7 +18,8 @@
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="合同类型" prop="contract_cate">
|
||||
<el-select v-model="formData.contract_cate" placeholder="请选择" @change="resetFormData">
|
||||
<el-select v-model="formData.contract_cate" placeholder="请选择" @change="resetFormData"
|
||||
class="w-[400px]">
|
||||
<el-option label="采购合同" :value="1"></el-option>
|
||||
<el-option label="分包合同" :value="2"></el-option>
|
||||
</el-select>
|
||||
@ -89,7 +90,8 @@
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="发票税率" prop="invoice_tax_rate">
|
||||
<el-select v-model="formData.invoice_tax_rate" placeholder="请选择" @change="amountinput">
|
||||
<el-select v-model="formData.invoice_tax_rate" placeholder="请选择" @change="amountinput"
|
||||
class="w-[400px]">
|
||||
<el-option :label="item.name" :value="item.value"
|
||||
v-for="item in dictData.tax_rate"></el-option>
|
||||
</el-select>
|
||||
|
@ -19,7 +19,8 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="合同类型" prop="contract_cate"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.contract_cate" placeholder="请选择" @change="resetFormData">
|
||||
<el-select v-model="formData.contract_cate" placeholder="请选择" @change="resetFormData"
|
||||
class="flex-1">
|
||||
<el-option label="采购合同" :value="1"></el-option>
|
||||
<el-option label="分包合同" :value="2"></el-option>
|
||||
</el-select>
|
||||
|
@ -9,7 +9,8 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="材料大类" prop="first_level"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.first_level" clearable placeholder="请选择材料大类" @change="firstChange">
|
||||
<el-select class="flex-1" v-model="formData.first_level" clearable placeholder="请选择材料大类"
|
||||
@change="firstChange">
|
||||
<el-option v-for="(item, index) in firstList" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -19,7 +20,7 @@
|
||||
<el-form-item label="材料中类" prop="second_level">
|
||||
|
||||
|
||||
<el-select v-model="formData.second_level" clearable placeholder="请选择材料中类"
|
||||
<el-select class="flex-1" v-model="formData.second_level" clearable placeholder="请选择材料中类"
|
||||
@change="secondChange">
|
||||
<el-option v-for="(item, index) in secondList" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
@ -30,7 +31,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="材料小类" prop="three_level">
|
||||
<!-- <el-input v-model="formData.three_level" clearable placeholder="材料小类" /> -->
|
||||
<el-select v-model="formData.three_level" clearable placeholder="请选择材料小类">
|
||||
<el-select class="flex-1" v-model="formData.three_level" clearable placeholder="请选择材料小类">
|
||||
<el-option v-for="(item, index) in threedList" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -7,7 +7,7 @@
|
||||
@click="showDialog = true" />
|
||||
</el-form-item>
|
||||
<el-form-item label="发票类型" prop="invoice_type">
|
||||
<el-select v-model="formData.invoice_type" placeholder="请选择">
|
||||
<el-select v-model="formData.invoice_type" placeholder="请选择" class="flex-1">
|
||||
<el-option :label="item.name" :value="item.value" v-for="item in dictData.invoice_type"></el-option>
|
||||
</el-select>
|
||||
|
||||
@ -16,14 +16,14 @@
|
||||
<el-input v-model="formData.invoice_sn" clearable placeholder="请输入发票号" />
|
||||
</el-form-item>
|
||||
<el-form-item label="发票税率" prop="tax_rate">
|
||||
<el-select v-model="formData.tax_rate" placeholder="请选择">
|
||||
<el-select v-model="formData.tax_rate" placeholder="请选择" class="flex-1">
|
||||
<el-option :label="item.name" :value="item.value" v-for="item in dictData.tax_rate"></el-option>
|
||||
</el-select>
|
||||
|
||||
</el-form-item>
|
||||
<el-form-item label="发票形式" prop="invoice_form">
|
||||
|
||||
<el-select v-model="formData.invoice_form" placeholder="请选择">
|
||||
<el-select v-model="formData.invoice_form" placeholder="请选择" class="flex-1">
|
||||
<el-option :label="item.name" :value="item.value" v-for="item in dictData.invoice_form"></el-option>
|
||||
</el-select>
|
||||
|
||||
|
@ -84,8 +84,8 @@
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="下次回访日期" prop="next_follow_up_date">
|
||||
<el-date-picker v-model="formData.next_follow_up_date" clearable type="date"
|
||||
value-format="YYYY-MM-DD" placeholder="选择下次回访日期">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.next_follow_up_date" clearable
|
||||
type="date" value-format="YYYY-MM-DD" placeholder="选择下次回访日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,7 @@
|
||||
@click="showDialog = true" />
|
||||
</el-form-item>
|
||||
<el-form-item label="工种" prop="job_type_id">
|
||||
<el-select v-model="formData.job_type_id">
|
||||
<el-select v-model="formData.job_type_id" class="flex-1">
|
||||
<el-option :label="item.type_name" :value="item.id" v-for="item in jobList"></el-option>
|
||||
</el-select>
|
||||
<!-- <el-input v-model="formData.job_type_id" clearable placeholder="请输入工种id" /> -->
|
||||
|
@ -6,21 +6,21 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="项目名称" prop="project_id" @click="showDialog = true"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="project_name" clearable placeholder="请输入项目名称" />
|
||||
<el-input class="w-[220px]" v-model="project_name" clearable placeholder="请输入项目名称" />
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="项目编码" prop="project_id">
|
||||
<el-input v-model="project_code" clearable placeholder="请输入项目编码" />
|
||||
<el-input class="w-[220px]" v-model="project_code" clearable placeholder="请输入项目编码" />
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="姓名" prop="project_person_id" @click="showDialog1 = true"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="person_name" clearable placeholder="请选择项目人员" />
|
||||
<el-input class="w-[220px]" v-model="person_name" clearable placeholder="请选择项目人员" />
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="身份证号" prop="project_person_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="idcard" clearable placeholder="系统自动填写" />
|
||||
<el-input class="w-[220px]" v-model="idcard" clearable placeholder="系统自动填写" />
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="合同类型" prop="contract_type"
|
||||
@ -88,10 +88,10 @@
|
||||
</el-date-picker>
|
||||
</el-form-item> </el-col><el-col :span="8">
|
||||
<el-form-item label="解除原因" prop="release_reason">
|
||||
<el-input v-model="formData.release_reason" clearable placeholder="请输入合同名称" />
|
||||
<el-input class="w-[220px]" v-model="formData.release_reason" clearable placeholder="请输入合同名称" />
|
||||
</el-form-item> </el-col><el-col :span="8">
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="formData.remark" clearable placeholder="请输入合同名称" />
|
||||
<el-input class="w-[220px]" v-model="formData.remark" clearable placeholder="请输入合同名称" />
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="合同附件" prop="field127">
|
||||
|
@ -16,7 +16,7 @@
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.theme" clearable placeholder="请输入节点名称" />
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="24">
|
||||
<el-col :span="8">
|
||||
<el-form-item label="联系人" prop="contacts">
|
||||
<el-input v-model="formData.contacts" clearable placeholder="请输入联系人" />
|
||||
</el-form-item> </el-col>
|
||||
@ -46,10 +46,6 @@
|
||||
<el-form-item label="执行人" prop="executor">
|
||||
<el-input v-model="formData.executor" clearable placeholder="请输入排序号" />
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="日志详情" prop="content">
|
||||
<el-input v-model="formData.content" type="textarea" clearable placeholder="请输入日志详情" />
|
||||
</el-form-item> </el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="下次回访日期" prop="next_follow_up_date">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.next_follow_up_date" clearable
|
||||
@ -57,6 +53,11 @@
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="日志详情" prop="content">
|
||||
<el-input v-model="formData.content" type="textarea" clearable placeholder="请输入日志详情" />
|
||||
</el-form-item> </el-col>
|
||||
|
||||
|
||||
</el-row>
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
||||
<el-form-item label="项目开始日期" prop="start_date"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-date-picker v-model="formData.start_date" clearable type="date" value-format="YYYY-MM-DD"
|
||||
placeholder="选择项目开始日期">
|
||||
placeholder="选择项目开始日期" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -88,7 +88,7 @@
|
||||
<el-form-item label="项目交付日期" prop="delivery_date"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-date-picker v-model="formData.delivery_date" clearable type="date"
|
||||
value-format="YYYY-MM-DD " placeholder="选择项目交付日期">
|
||||
value-format="YYYY-MM-DD " placeholder="选择项目交付日期" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
|
||||
</el-form-item>
|
||||
|
@ -66,7 +66,7 @@
|
||||
</el-col> -->
|
||||
<el-col :span="8">
|
||||
<el-form-item label="预算调整数量" prop="num">
|
||||
<el-input v-model="formData.num" clearable placeholder="请输入预算调整数量" />
|
||||
<el-input v-model="formData.num" clearable placeholder="请输入预算调整数量" class="w-[220px]" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
|
@ -41,7 +41,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="工种" prop="work_type"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-select v-model="formData.work_type" clearable placeholder="请选择工种">
|
||||
<el-select v-model="formData.work_type" clearable placeholder="请选择工种" class="flex-1">
|
||||
<el-option v-for="(item, index) in allJobType" :key="index" :label="item.type_name"
|
||||
:value="parseInt(item.id)" />
|
||||
</el-select>
|
||||
@ -54,7 +54,7 @@
|
||||
<el-input v-model="formData.unit_price" clearable placeholder="请输入人工单价" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-col :span="8">
|
||||
<el-form-item label="每日生活费" prop="daily_living_expenses"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.daily_living_expenses" clearable placeholder="请输入每日生活费" />
|
||||
|
@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="edit-popup">
|
||||
<popup ref="popupRef" :title="popupTitle" :async="true" width="550px" @confirm="handleSubmit" @close="handleClose">
|
||||
<el-form ref="formRef" :model="formData" label-width="90px" :rules="formRules">
|
||||
<el-form ref="formRef" :model="formData" label-width="110px" :rules="formRules">
|
||||
<el-form-item label="差旅报销单号" prop="travel_reimbursement_id">
|
||||
<el-input v-model="formData.trip_reimbursement_code" clearable placeholder="点击选则"
|
||||
@click="showDialog = true" readonly />
|
||||
</el-form-item>
|
||||
<el-form-item label="发票类型" prop="invoice_type">
|
||||
<el-select v-model="formData.invoice_type" placeholder="请选择">
|
||||
<el-select v-model="formData.invoice_type" placeholder="请选择" class="flex-1">
|
||||
<el-option :label="item.name" :value="item.value" v-for="item in dictData.invoice_type"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@ -15,12 +15,12 @@
|
||||
<el-input v-model="formData.invoice_sn" clearable placeholder="请输入发票号" />
|
||||
</el-form-item>
|
||||
<el-form-item label="发票税率" prop="tax_rate">
|
||||
<el-select v-model="formData.tax_rate" placeholder="请选择">
|
||||
<el-select v-model="formData.tax_rate" placeholder="请选择" class="flex-1">
|
||||
<el-option :label="item.name" :value="item.value" v-for="item in dictData.tax_rate"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="发票形式" prop="invoice_form">
|
||||
<el-select v-model="formData.invoice_form" placeholder="请选择">
|
||||
<el-select v-model="formData.invoice_form" placeholder="请选择" class="flex-1">
|
||||
<el-option :label="item.name" :value="item.value" v-for="item in dictData.invoice_form"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="交通工具" prop="traffic">
|
||||
<!-- <el-input v-model="formData.traffic" clearable placeholder="请输入交通工具" /> -->
|
||||
<el-select v-model="formData.traffic" placeholder="请选择">
|
||||
<el-select v-model="formData.traffic" placeholder="请选择" class="flex-1">
|
||||
<el-option :label="item.name" :value="item.value" v-for="item in dictData.traffic"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -6,17 +6,22 @@
|
||||
<el-form ref="formRef" :model="formData" label-width="auto" :rules="formRules">
|
||||
<el-row :gutter="10">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name" :value="item.id" />
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name" :value="item.id" />
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -41,7 +46,8 @@
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="创建日期" prop="date">
|
||||
<el-date-picker v-model="formData.date" clearable type="date" value-format="YYYY-MM-DD" placeholder="选择创建日期">
|
||||
<el-date-picker v-model="formData.date" clearable type="date" value-format="YYYY-MM-DD"
|
||||
placeholder="选择创建日期" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -55,7 +56,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="计划开始时间" prop="scheduled_start_time">
|
||||
<el-date-picker v-model="formData.scheduled_start_time" clearable type="date"
|
||||
value-format="YYYY-MM-DD" placeholder="选择计划开始时间">
|
||||
value-format="YYYY-MM-DD" placeholder="选择计划开始时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
|
||||
</el-form-item>
|
||||
@ -63,7 +64,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="计划结束时间" prop="scheduled_end_time">
|
||||
<el-date-picker v-model="formData.scheduled_end_time" clearable type="date"
|
||||
value-format="YYYY-MM-DD" placeholder="选择计划结束时间">
|
||||
value-format="YYYY-MM-DD" placeholder="选择计划结束时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -75,7 +76,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="实际开始时间" prop="actual_start_time">
|
||||
<el-date-picker v-model="formData.actual_start_time" clearable type="date"
|
||||
value-format="YYYY-MM-DD" placeholder="选择实际开始时间">
|
||||
value-format="YYYY-MM-DD" placeholder="选择实际开始时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
|
||||
</el-form-item>
|
||||
@ -83,7 +84,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="实际结束时间" prop="actual_end_time">
|
||||
<el-date-picker v-model="formData.actual_end_time" clearable type="date"
|
||||
value-format="YYYY-MM-DD" placeholder="选择实际结束时间">
|
||||
value-format="YYYY-MM-DD" placeholder="选择实际结束时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -45,7 +46,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="发生时间" prop="happen_date">
|
||||
<el-date-picker v-model="formData.happen_date" clearable type="date" value-format="YYYY-MM-DD"
|
||||
placeholder="选择发生时间">
|
||||
placeholder="选择发生时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -6,17 +6,22 @@
|
||||
<el-form ref="formRef" :model="formData" label-width="auto" :rules="formRules">
|
||||
<el-row :gutter="10">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name" :value="item.id" />
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name" :value="item.id" />
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -24,7 +29,8 @@
|
||||
|
||||
|
||||
<el-col :span="24">
|
||||
<el-form-item label="分类名称" prop="classify_name" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="分类名称" prop="classify_name"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.classify_name" clearable placeholder="请输入分类名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -46,7 +47,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="发布时间" prop="release_date">
|
||||
<el-date-picker v-model="formData.release_date" clearable type="date" value-format="YYYY-MM-DD"
|
||||
placeholder="选择发布时间">
|
||||
placeholder="选择发布时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -32,7 +32,7 @@
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="报价日期" prop="quotation_date">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.quotation_date" clearable type="date"
|
||||
<el-date-picker v-model="formData.quotation_date" clearable type="date"
|
||||
value-format="YYYY-MM-DD" placeholder="选择报价日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -44,7 +45,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="发生时间" prop="require">
|
||||
<el-date-picker v-model="formData.happen_date" clearable type="date" value-format="YYYY-MM-DD"
|
||||
placeholder="选择发生时间">
|
||||
placeholder="选择发生时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -44,7 +45,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="发生时间" prop="require">
|
||||
<el-date-picker v-model="formData.happen_date" clearable type="date" value-format="YYYY-MM-DD"
|
||||
placeholder="选择发生时间">
|
||||
placeholder="选择发生时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -44,7 +45,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="发生时间" prop="require">
|
||||
<el-date-picker v-model="formData.happen_time" clearable type="date" value-format="YYYY-MM-DD"
|
||||
placeholder="选择发生时间">
|
||||
placeholder="选择发生时间" class="flex-1 !flex" style="width:400px">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -44,7 +45,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="发生时间" prop="require">
|
||||
<el-date-picker v-model="formData.happen_date" clearable type="date" value-format="YYYY-MM-DD"
|
||||
placeholder="选择发生时间">
|
||||
placeholder="选择发生时间" class="flex-1 !flex">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -8,7 +8,8 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="组织名称" prop="org_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt">
|
||||
<el-select v-model="formData.org_id" clearable placeholder="请选择组织" @change="deptrmt"
|
||||
class="flex-1">
|
||||
<el-option v-for="(item, index) in list1" :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
@ -18,7 +19,7 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="部门名称" prop="dept_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门">
|
||||
<el-select v-model="formData.dept_id" clearable placeholder="请选择部门" class="flex-1">
|
||||
<el-option v-for="( item, index ) in list2 " :key="index" :label="item.name"
|
||||
:value="item.id" />
|
||||
</el-select>
|
||||
|
@ -19,7 +19,7 @@
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="性别" prop="sex">
|
||||
<el-select v-model="formData.sex" clearable placeholder="请选择性别">
|
||||
<el-select v-model="formData.sex" clearable placeholder="请选择性别" class="flex-1">
|
||||
<el-option v-for="(item, index) in dictData.sex" :key="index" :label="item.name"
|
||||
:value="parseInt(item.value)" />
|
||||
</el-select>
|
||||
@ -27,12 +27,12 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="出生日期" prop="birthday">
|
||||
<el-date-picker v-model="formData.birthday" format="YYYY-MM-DD" value-format="YYYY-MM-DD"
|
||||
placeholder="请输入出生日期" clearable></el-date-picker>
|
||||
placeholder="请输入出生日期" clearable class="flex-1 !flex"></el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="联系人分类" prop="contacts_type">
|
||||
<el-select v-model="formData.contacts_type" clearable placeholder="请选择联系人分类">
|
||||
<el-select class="flex-1" v-model="formData.contacts_type" clearable placeholder="请选择联系人分类">
|
||||
<el-option v-for="(item, index) in dictData.contacts_type" :key="index" :label="item.name"
|
||||
:value="parseInt(item.value)" />
|
||||
</el-select>
|
||||
@ -53,7 +53,7 @@
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="联系人类型" prop="contacts_cate">
|
||||
<el-select v-model="formData.contacts_cate" clearable placeholder="请选择联系人类型">
|
||||
<el-select class="flex-1" v-model="formData.contacts_cate" clearable placeholder="请选择联系人类型">
|
||||
<el-option v-for="(item, index) in dictData.contacts_cate" :key="index" :label="item.name"
|
||||
:value="parseInt(item.value)" />
|
||||
</el-select>
|
||||
@ -104,7 +104,7 @@
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="证件类型" prop="id_type">
|
||||
<el-select v-model="formData.id_type" clearable placeholder="请选择证件类型">
|
||||
<el-select class="flex-1" v-model="formData.id_type" clearable placeholder="请选择证件类型">
|
||||
<el-option v-for="(item, index) in dictData.id_type" :key="index" :label="item.name"
|
||||
:value="parseInt(item.value)" />
|
||||
</el-select>
|
||||
|
Loading…
x
Reference in New Issue
Block a user