This commit is contained in:
parent
b0d60a8a67
commit
2c9274247f
|
|
@ -5,7 +5,7 @@
|
||||||
<li style="margin: 10px 0">
|
<li style="margin: 10px 0">
|
||||||
<span class="item_1_span"> {{ name }} </span>
|
<span class="item_1_span"> {{ name }} </span>
|
||||||
<span>({{ typeName }})</span>
|
<span>({{ typeName }})</span>
|
||||||
<!-- <span class="item_2_span"> 待租 </span> -->
|
<span class="item_2_span"> {{ statusText }} </span>
|
||||||
</li>
|
</li>
|
||||||
<li style="color: #b6b6b6; font-size: 14px">{{ company }}</li>
|
<li style="color: #b6b6b6; font-size: 14px">{{ company }}</li>
|
||||||
<li style="color: #b6b6b6; font-size: 14px">
|
<li style="color: #b6b6b6; font-size: 14px">
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
import { computed } from 'vue'
|
||||||
const props: any = defineProps({
|
const props: any = defineProps({
|
||||||
url: {
|
url: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
@ -58,6 +59,10 @@ const props: any = defineProps({
|
||||||
type: String,
|
type: String,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
|
ma_status: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: '',
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
const emit = defineEmits(['onClick'])
|
const emit = defineEmits(['onClick'])
|
||||||
|
|
@ -71,6 +76,24 @@ const cardClick = () => {
|
||||||
const onHandelLessee = () => {
|
const onHandelLessee = () => {
|
||||||
console.log('立即租赁')
|
console.log('立即租赁')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const statusText = computed(() => {
|
||||||
|
const code = Number(props.ma_status)
|
||||||
|
switch (code) {
|
||||||
|
case 1:
|
||||||
|
return '在库中'
|
||||||
|
case 2:
|
||||||
|
return '租赁中(自用)'
|
||||||
|
case 3:
|
||||||
|
return '租赁中(共享)'
|
||||||
|
case 4:
|
||||||
|
return '已退役'
|
||||||
|
case 5:
|
||||||
|
return '维修中'
|
||||||
|
default:
|
||||||
|
return '未知'
|
||||||
|
}
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.equipCard {
|
.equipCard {
|
||||||
|
|
|
||||||
|
|
@ -36,31 +36,9 @@
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<span>{{ val.name }}</span>
|
<span>{{ val.name }}</span>
|
||||||
<!-- <span v-else>
|
|
||||||
{{ val.name }}
|
|
||||||
{{
|
|
||||||
index == 0
|
|
||||||
? ''
|
|
||||||
: val.maCount
|
|
||||||
? `(${val.maCount})`
|
|
||||||
: '(0)'
|
|
||||||
}}
|
|
||||||
</span> -->
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- <div v-if="i == 3" style="display: flex; align-items: center">-->
|
|
||||||
<!-- <el-input v-model="startPrice" style="width: 60px" size="small" />-->
|
|
||||||
<!-- <span style="margin: 0 5px">-</span>-->
|
|
||||||
<!-- <el-input v-model="endPrice" style="width: 60px" size="small" />-->
|
|
||||||
<!-- <el-button-->
|
|
||||||
<!-- @click.stop="onConfirmPrice"-->
|
|
||||||
<!-- size="small"-->
|
|
||||||
<!-- type="primary"-->
|
|
||||||
<!-- style="margin-left: 20px"-->
|
|
||||||
<!-- >确定</el-button-->
|
|
||||||
<!-- >-->
|
|
||||||
<!-- </div>-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -137,6 +115,7 @@
|
||||||
:company="v.companyName"
|
:company="v.companyName"
|
||||||
:personPhone="v.personPhone"
|
:personPhone="v.personPhone"
|
||||||
:typeName="v.typeName"
|
:typeName="v.typeName"
|
||||||
|
:ma_status="v.maStatus || v.ma_status"
|
||||||
@click="onHandleDetails(v.maId)"
|
@click="onHandleDetails(v.maId)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -29,19 +29,19 @@
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<div>租期</div>
|
<div>租期</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<!-- <el-col :span="2">-->
|
||||||
<div>日租金/元</div>
|
<!-- <div>日租金/元</div>-->
|
||||||
</el-col>
|
<!-- </el-col>-->
|
||||||
<el-col :span="2">
|
<el-col :span="3">
|
||||||
<div>天数</div>
|
<div>天数</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<el-col :span="3">
|
||||||
<div>数量</div>
|
<div>数量</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<!-- <el-col :span="2">-->
|
||||||
<div>总金额/元</div>
|
<!-- <div>总金额/元</div>-->
|
||||||
</el-col>
|
<!-- </el-col>-->
|
||||||
<el-col :span="2">
|
<el-col :span="3">
|
||||||
<div>操作</div>
|
<div>操作</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
@ -108,17 +108,17 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<!-- <el-col :span="2">-->
|
||||||
<div class="red-font">
|
<!-- <div class="red-font">-->
|
||||||
{{ item.dayLeasePrice }}
|
<!-- {{ item.dayLeasePrice }}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</el-col>
|
<!-- </el-col>-->
|
||||||
<el-col :span="2">
|
<el-col :span="3">
|
||||||
<div class="red-font" style="color: #0062ff">
|
<div class="red-font" style="color: #0062ff">
|
||||||
{{ item.days }}
|
{{ item.days }}
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<el-col :span="3">
|
||||||
<div>
|
<div>
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="item.num"
|
v-model="item.num"
|
||||||
|
|
@ -129,12 +129,12 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<!-- <el-col :span="2">-->
|
||||||
<div class="red-font" style="margin-left: 20px">
|
<!-- <div class="red-font" style="margin-left: 20px">-->
|
||||||
{{ item.num * item.dayLeasePrice * item.days }}
|
<!-- {{ item.num * item.dayLeasePrice * item.days }}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</el-col>
|
<!-- </el-col>-->
|
||||||
<el-col :span="2">
|
<el-col :span="3">
|
||||||
<div>
|
<div>
|
||||||
<el-button
|
<el-button
|
||||||
@click="onDeleteGoods(index)"
|
@click="onDeleteGoods(index)"
|
||||||
|
|
@ -186,14 +186,14 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row style="display: flex; align-items: center">
|
<el-row style="display: flex; align-items: center">
|
||||||
<el-col :span="16">
|
<el-col :span="16">
|
||||||
<div class="checkbox-container">
|
<!-- <div class="checkbox-container">-->
|
||||||
<el-checkbox v-model="protocolChecked">
|
<!-- <el-checkbox v-model="protocolChecked">-->
|
||||||
我已阅读并同意签署
|
<!-- 我已阅读并同意签署-->
|
||||||
</el-checkbox>
|
<!-- </el-checkbox>-->
|
||||||
<a @click.stop="handleViewWord()">
|
<!-- <a @click.stop="handleViewWord()">-->
|
||||||
《{{ orderList[0]?.companyName }}公司租赁服务合同》
|
<!-- 《{{ orderList[0]?.companyName }}公司租赁服务合同》-->
|
||||||
</a>
|
<!-- </a>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="3">
|
<el-col :span="3">
|
||||||
<div>
|
<div>
|
||||||
|
|
@ -204,11 +204,11 @@
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="3">
|
<el-col :span="3">
|
||||||
<div class="red-font">
|
<!-- <div class="red-font">-->
|
||||||
订单总金额:<span style="color: #ff4800; font-weight: bold"
|
<!-- 订单总金额:<span style="color: #ff4800; font-weight: bold"-->
|
||||||
>{{ orderAmountPice }} 元</span
|
<!-- >{{ orderAmountPice }} 元</span-->
|
||||||
>
|
<!-- >-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue