pull/47/head^2
孙萌 2023-11-21 14:51:31 +08:00
parent b1ba00f9c2
commit 44c1c8e2fb
5 changed files with 87 additions and 16 deletions

View File

@ -2248,6 +2248,30 @@
align-items: center; align-items: center;
} }
.vrcode-textarea {
width: 100%;
margin-bottom: 15px;
}
.vrcode-textarea .title {
font-size: 16px;
font-family: Microsoft YaHei;
margin-bottom: 7px;
}
.vrcode-textarea textarea {
width: 680px;
height: 160px;
background: rgba(90, 210, 255, 0.25);
border: 2px solid rgba(86, 209, 255, 0.5);
padding: 15px;
color: #fff;
}
.vrcode-textarea textarea::placeholder {
color: #92B1D0;
}
.vrcode-table .vrcode-btn { .vrcode-table .vrcode-btn {
margin-bottom: 20px; margin-bottom: 20px;
} }
@ -2266,6 +2290,11 @@
text-align: center; text-align: center;
} }
.vrcode-table .vrcode-table-view.table-view :empty::before {
content: '--';
color: #fff;
}
.vrcode-table .vrcode-table-view.table-view .el-table .warning-row { .vrcode-table .vrcode-table-view.table-view .el-table .warning-row {
background: rgba(0, 180, 255, 0.2); background: rgba(0, 180, 255, 0.2);
} }
@ -2706,7 +2735,7 @@
.vrcode-model .el-dialog__body .vrcode-content .vrcode-view { .vrcode-model .el-dialog__body .vrcode-content .vrcode-view {
width: 100%; width: 100%;
padding: 30px 0 15px 0; padding: 20px 0 15px 0;
border-bottom: 1px solid rgba(0, 180, 255, 0.35); border-bottom: 1px solid rgba(0, 180, 255, 0.35);
display: flex; display: flex;
align-items: center; align-items: center;

File diff suppressed because one or more lines are too long

View File

@ -2397,6 +2397,27 @@
align-items: center; align-items: center;
} }
.vrcode-textarea{
width: 100%;
margin-bottom: 15px;
.title{
font-size: 16px;
font-family: Microsoft YaHei;
margin-bottom:7px;
}
textarea{
width: 680px;
height: 160px;
background: rgba(90,210,255,0.25);
border: 2px solid rgba(86,209,255,0.5);
padding: 15px;
color: #fff;
&::placeholder{
color: #92B1D0;
}
}
}
.vrcode-table{ .vrcode-table{
.vrcode-btn{ .vrcode-btn{
margin-bottom: 20px; margin-bottom: 20px;
@ -2413,7 +2434,10 @@
text-align: center; text-align: center;
} }
:empty::before{
content:'--';
color:#fff;
}
.el-table .warning-row { .el-table .warning-row {
background: rgba(0, 180, 255, 0.2); background: rgba(0, 180, 255, 0.2);
} }
@ -2849,7 +2873,7 @@ color: #FFFFFF;
.vrcode-view { .vrcode-view {
width: 100%; width: 100%;
padding: 30px 0 15px 0; padding: 20px 0 15px 0;
border-bottom: 1px solid rgba(0, 180, 255, .35); border-bottom: 1px solid rgba(0, 180, 255, .35);
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -167,6 +167,11 @@ export default {
var num = (data - 400) / 10 var num = (data - 400) / 10
return num return num
}, },
countType4(data) {
var num = (data - 1000) / 10
return num
},
// //
sendCountType1(data) { sendCountType1(data) {
var num = data + 400 var num = data + 400
@ -181,7 +186,11 @@ export default {
var num = (data * 10) + 400 var num = (data * 10) + 400
return num return num
}, },
sendCountType4(data) {
var num = (data* 10)+1000
return num
},
// //
handleCommand(command) { handleCommand(command) {
this.typeList.forEach((el, index) => { this.typeList.forEach((el, index) => {
@ -212,6 +221,9 @@ export default {
} else if (el.countType == 3) { } else if (el.countType == 3) {
this.inputData[20904 + (i * 5 + 2)] = this.countType3(this.inputData[20904 + (i * 5 + 2)]) this.inputData[20904 + (i * 5 + 2)] = this.countType3(this.inputData[20904 + (i * 5 + 2)])
this.inputData[20904 + (i * 5 + 4)] = this.countType3(this.inputData[20904 + (i * 5 + 4)]) this.inputData[20904 + (i * 5 + 4)] = this.countType3(this.inputData[20904 + (i * 5 + 4)])
} else if (el.countType == 4) {
this.inputData[20904 + (i * 5 + 2)] = this.countType4(this.inputData[20904 + (i * 5 + 2)])
this.inputData[20904 + (i * 5 + 4)] = this.countType4(this.inputData[20904 + (i * 5 + 4)])
} }
} }
@ -391,6 +403,8 @@ export default {
number1 = this.sendCountType2(number) number1 = this.sendCountType2(number)
} else if (el.countType == 3) { } else if (el.countType == 3) {
number1 = this.sendCountType3(number) number1 = this.sendCountType3(number)
} else if (el.countType == 4) {
number1 = this.sendCountType4(number)
} }
} }
}) })

View File

@ -129,18 +129,9 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
<div class="vrcode-radio"> <div class="vrcode-textarea">
<div class="radio-name">是否追溯</div> <div class="title">备注</div>
<div class="radio-sel"> <textarea placeholder="输入您的备注信息" name="" id="" cols="30" rows="10"></textarea>
<img v-if="modelisTrue" class="sel" src="../../assets/image/radio.png" alt="">
<div v-else @click="modelisTrue=true" class="no-sel"></div>
<span></span>
</div>
<div class="radio-sel">
<img v-if="!modelisTrue" class="sel" src="../../assets/image/radio.png" alt="">
<div v-else @click="modelisTrue=false" class="no-sel"></div>
<span></span>
</div>
</div> </div>
<div class="vrcode-selimage"> <div class="vrcode-selimage">
<div class="title">工作图片</div> <div class="title">工作图片</div>
@ -160,6 +151,19 @@
@change="handleImageChange" /> @change="handleImageChange" />
</div> </div>
</div> </div>
<div class="vrcode-radio">
<div class="radio-name">是否追溯</div>
<div class="radio-sel">
<img v-if="modelisTrue" class="sel" src="../../assets/image/radio.png" alt="">
<div v-else @click="modelisTrue=true" class="no-sel"></div>
<span></span>
</div>
<div class="radio-sel">
<img v-if="!modelisTrue" class="sel" src="../../assets/image/radio.png" alt="">
<div v-else @click="modelisTrue=false" class="no-sel"></div>
<span></span>
</div>
</div>
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">