|
|
|
@ -420,13 +420,14 @@
|
|
|
|
|
<div class="BatchDelete"> |
|
|
|
|
<el-button type="primary" @click="newlyAdded(item.name)"> 新增 </el-button> |
|
|
|
|
<el-button |
|
|
|
|
v-if="TcTemp.length > 1" |
|
|
|
|
:disabled="ZcBtnDis" |
|
|
|
|
v-if="TcTemp.length > 0" |
|
|
|
|
type="primary" |
|
|
|
|
@click="BatchDelete(item.name)" |
|
|
|
|
> |
|
|
|
|
批量移除 |
|
|
|
|
</el-button> |
|
|
|
|
<!-- :disabled="ZcBtnDis"--> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<template v-for="(item, index) in TabTitle" :key="index"> |
|
|
|
|
<span> |
|
|
|
@ -476,18 +477,19 @@
|
|
|
|
|
:key="item.label" |
|
|
|
|
> |
|
|
|
|
<template #default="props"> |
|
|
|
|
<div :class="ElBtnClass" v-if="item.type === 3"> |
|
|
|
|
<el-button |
|
|
|
|
:disabled="props.row.checkbox" |
|
|
|
|
:link="ElButtonS[0].link" |
|
|
|
|
:class="ElButtonS[0].class" |
|
|
|
|
:auto-insert-space="ElButtonS[0].space" |
|
|
|
|
:size="ElButtonS[0].size" |
|
|
|
|
:icon="ElButtonS[0].icon" |
|
|
|
|
@click="DeleteEvent(props.row)" |
|
|
|
|
>移除</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<!-- <div :class="ElBtnClass" v-if="item.type === 3">--> |
|
|
|
|
<!--<!– <span>aaa</span>–>--> |
|
|
|
|
<!-- <el-button--> |
|
|
|
|
<!-- :disabled="props.row.checkbox"--> |
|
|
|
|
<!-- :link="ElButtonS[0].link"--> |
|
|
|
|
<!-- :class="ElButtonS[0].class"--> |
|
|
|
|
<!-- :auto-insert-space="ElButtonS[0].space"--> |
|
|
|
|
<!-- :size="ElButtonS[0].size"--> |
|
|
|
|
<!-- :icon="ElButtonS[0].icon"--> |
|
|
|
|
<!-- @click="DeleteEvent(props.row)"--> |
|
|
|
|
<!-- >移除</el-button--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<span v-if="item.type == 6">{{ |
|
|
|
|
props.row[item.prop] == 1 |
|
|
|
|
? '定制品' |
|
|
|
@ -644,16 +646,19 @@
|
|
|
|
|
<el-input v-model="TcTemp.length" disabled placeholder="已选择包件总数" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item :label="TcServices == '上楼' ? TcServices : '距离'"> |
|
|
|
|
<el-form-item :label="TcServices == '上楼' ? TcServices : '距离'" > |
|
|
|
|
<el-input |
|
|
|
|
v-if="TcServices == '上楼'" |
|
|
|
|
v-model="TcZcInput.floolNum" |
|
|
|
|
placeholder="请输入楼层" |
|
|
|
|
style="width: 200px" |
|
|
|
|
/> |
|
|
|
|
<el-input v-else v-model="TcZcInput.distance" placeholder="请输入距离" /> |
|
|
|
|
<el-input v-if="TcServices == '超区' " v-model="TcZcInput.distance" placeholder="请输入距离 单位:公里" style="width: 200px"/> |
|
|
|
|
|
|
|
|
|
<el-input v-if=" TcServices == '平移'" v-model="TcZcInput.distance" placeholder="请输入距离 单位:米" style="width: 200px"/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="费用:" width="120px"> |
|
|
|
|
<el-form-item label="费用:" width="200px"> |
|
|
|
|
<el-input v-model="TcZcInput.fee" placeholder="请输入费用" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
@ -1608,17 +1613,17 @@ const menuDataB1 = ref([
|
|
|
|
|
sortable: true, |
|
|
|
|
head: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: '', |
|
|
|
|
label: '操作', |
|
|
|
|
type: 3, |
|
|
|
|
values: '', |
|
|
|
|
width: '200', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: 'right', |
|
|
|
|
sortable: true, |
|
|
|
|
head: true, |
|
|
|
|
}, |
|
|
|
|
// { |
|
|
|
|
// prop: '', |
|
|
|
|
// label: '操作', |
|
|
|
|
// type: 3, |
|
|
|
|
// values: '', |
|
|
|
|
// width: '200', |
|
|
|
|
// checkarr: [], |
|
|
|
|
// fixed: 'right', |
|
|
|
|
// sortable: true, |
|
|
|
|
// head: true, |
|
|
|
|
// }, |
|
|
|
|
]); |
|
|
|
|
// 按钮样式风格切换 |
|
|
|
|
const btnClass = type => { |
|
|
|
|