|
|
@ -442,8 +442,9 @@ onMounted(async function () { |
|
|
|
|
|
|
|
<template> |
|
|
|
<div> |
|
|
|
|
|
|
|
<el-form :model="addRefund" ref="Ref" :rules="rules" label-width="auto" label-position="right" style="max-width: 750px" class="form-style"> |
|
|
|
<div class="userAndForm"> |
|
|
|
<el-form :model="addRefund" ref="Ref" :rules="rules" label-width="auto" label-position="right" |
|
|
|
style="max-width: 750px" class="form-style"> |
|
|
|
<el-form-item prop="jwcode" label="精网号"> |
|
|
|
<el-input v-model="addRefund.jwcode" style="width: 220px" @change="getGoods(addRefund.jwcode)"/> |
|
|
|
<el-button type="primary" @click="getUser(addRefund.jwcode)" style="margin-left: 20px">查询 |
|
|
@ -455,7 +456,8 @@ onMounted(async function () { |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="goodsName" label="商品名"> |
|
|
|
<el-select v-model="addRefund.goodsName" placeholder="请选择" style="width: 220px" @change="handleSelectionChange"> |
|
|
|
<el-select v-model="addRefund.goodsName" placeholder="请选择" style="width: 220px" |
|
|
|
@change="handleSelectionChange"> |
|
|
|
<el-option v-for="item in goodsName" :key="item.key" :label="item.label" :value="item"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -469,7 +471,8 @@ onMounted(async function () { |
|
|
|
|
|
|
|
<el-form-item prop="permanentGold" label="永久金币"> |
|
|
|
<el-input v-model="addRefund.permanentGold" style="width: 220px" |
|
|
|
:disabled="addRe.typeR === '0' ? true : false" @input="handlePermanentGoldInput($event)" type="number"> |
|
|
|
:disabled="addRe.typeR === '0' ? true : false" @input="handlePermanentGoldInput($event)" |
|
|
|
type="number"> |
|
|
|
</el-input> 个 |
|
|
|
</el-form-item> |
|
|
|
|
|
|
@ -483,7 +486,8 @@ onMounted(async function () { |
|
|
|
<div> |
|
|
|
<el-form-item prop="taskGold" label="任务金币"> |
|
|
|
<el-input v-model="addRefund.taskGold" style="float: left; width: 220px" |
|
|
|
:disabled="addRe.typeR === '0' ? true : false" @input="handleTaskGoldInput($event)" type="number" /> |
|
|
|
:disabled="addRe.typeR === '0' ? true : false" @input="handleTaskGoldInput($event)" |
|
|
|
type="number"/> |
|
|
|
个 |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
@ -506,8 +510,8 @@ onMounted(async function () { |
|
|
|
</el-form> |
|
|
|
|
|
|
|
<!-- 客户信息栏 --> |
|
|
|
<el-card v-if="user.jwcode" style="width: 800px" class="beautiful"> |
|
|
|
<el-form :model="user" label-width="auto" style="max-width: 1000px" label-position="left"> |
|
|
|
<el-card v-if="user.jwcode" style="max-width: 800px" class="beautiful"> |
|
|
|
<el-form :model="user" label-width="auto" style="max-width: 800px" label-position="left"> |
|
|
|
<el-text size="large" style="margin-left: 20px">客户信息</el-text> |
|
|
|
|
|
|
|
<!-- 第一行:姓名 + 历史金币 --> |
|
|
@ -575,20 +579,28 @@ onMounted(async function () { |
|
|
|
</el-form> |
|
|
|
</el-card> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<style scoped> |
|
|
|
|
|
|
|
p { |
|
|
|
margin: 0px; |
|
|
|
} |
|
|
|
|
|
|
|
.el-form-item { |
|
|
|
margin-left: 50px; |
|
|
|
} |
|
|
|
</style> |
|
|
|
.userAndForm { |
|
|
|
width: 90%; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
|
|
|
|
<style> |
|
|
|
} |
|
|
|
|
|
|
|
.beautiful { |
|
|
|
flex: 1; |
|
|
|
float: right; |
|
|
|
margin-left: 150px; |
|
|
|
} |
|
|
|
|
|
|
|
.form-style { |
|
|
|
margin-top: 50px; |
|
|
@ -596,30 +608,20 @@ p { |
|
|
|
float: left; |
|
|
|
} |
|
|
|
|
|
|
|
.form-style2 { |
|
|
|
max-width: 60%; |
|
|
|
} |
|
|
|
|
|
|
|
p { |
|
|
|
font-size: 13px; |
|
|
|
transform: scale(1); |
|
|
|
} |
|
|
|
|
|
|
|
.beautiful { |
|
|
|
width: 700px; |
|
|
|
float: right; |
|
|
|
margin-right: 300px; |
|
|
|
margin-top: 150px; |
|
|
|
.el-form-item { |
|
|
|
margin-left: 50px; |
|
|
|
} |
|
|
|
</style> |
|
|
|
|
|
|
|
<style> |
|
|
|
|
|
|
|
/* 上传图片的格式 */ |
|
|
|
.avatar-uploader .avatar { |
|
|
|
width: 50px; |
|
|
|
height: 50px; |
|
|
|
display: block; |
|
|
|
} |
|
|
|
|
|
|
|
.avatar-uploader .el-upload { |
|
|
|
border: 1px dashed var(--el-border-color); |
|
|
|
border-radius: 6px; |
|
|
@ -640,4 +642,13 @@ p { |
|
|
|
height: 50px; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.form-style2 { |
|
|
|
max-width: 60%; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
|