Commit e431a905 by 张超军

Merge branch 'dev_zwpt' of http://47.92.108.28/changchao/founder_vue into dev_zwpt

parents d037b011 ab537164
...@@ -21,7 +21,10 @@ ...@@ -21,7 +21,10 @@
@click.native.prevent="clickitemdataType(2)" @click.native.prevent="clickitemdataType(2)"
>案件</el-radio> >案件</el-radio>
</el-radio-group> --> </el-radio-group> -->
<div class="headLeft" style="display: flex;"> <div
class="headLeft"
style="display: flex;"
>
<div class='search barcode'> <div class='search barcode'>
<div class='item'> 条码号:</div> <div class='item'> 条码号:</div>
<el-input <el-input
...@@ -94,7 +97,7 @@ ...@@ -94,7 +97,7 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<!-- <div class="search sjxz"> <div class="search sjxz">
<div class="item">时间选择:</div> <div class="item">时间选择:</div>
<el-date-picker <el-date-picker
@keyup.enter.native="search" @keyup.enter.native="search"
...@@ -107,10 +110,15 @@ ...@@ -107,10 +110,15 @@
}" }"
> >
</el-date-picker> </el-date-picker>
</div> --> </div>
</div> </div>
<div class="headRight"> <div class="headRight">
<el-button <el-button
v-show="barcode!=''||ruleForm.logicDatabase!=''||taskNumber!=''||status!=null||startEndDate!=null"
type="text"
@click="clear"
>清空</el-button>
<el-button
class="sx" class="sx"
@click="search" @click="search"
>筛选</el-button> >筛选</el-button>
...@@ -188,16 +196,31 @@ ...@@ -188,16 +196,31 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<!-- <div class='search sjxz'> <div class='search sjxz'>
<div class='item'> 时间选择:</div> <div class='item'> 时间选择:</div>
<el-date-picker <el-date-picker
@keyup.enter.native="search"
v-model="startEndDate" v-model="startEndDate"
type="datetimerange" type="daterange"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
:picker-options="{
disabledDate: disabledDate,
}"
> >
</el-date-picker> </el-date-picker>
</div> --> </div>
<div class="headRight">
<el-button
v-show="barcode!=''||queryType!=''||logicDatabase!=''||status!=null||startEndDate!=null"
type="text"
@click="clear"
>清空</el-button>
<el-button
class="sx"
@click="search"
>筛选</el-button>
</div>
</div> </div>
<!-- 二 --> <!-- 二 -->
<div class="buttons"> <div class="buttons">
...@@ -598,8 +621,10 @@ ...@@ -598,8 +621,10 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;flex-direction: row;"> <div style="display: flex;flex-direction: row;">
<div v-if="scope.row.srcBarcode && scope.row.destBarcode !== ''" <div
style="margin-top:6px;margin-right: 5px;"> v-if="scope.row.srcBarcode && scope.row.destBarcode !== ''"
style="margin-top:6px;margin-right: 5px;"
>
<div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div> <div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div>
<div style="width: 1px;height: 15px;background: #D8D8D8;margin-left: 3px;"></div> <div style="width: 1px;height: 15px;background: #D8D8D8;margin-left: 3px;"></div>
<div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div> <div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div>
...@@ -621,8 +646,10 @@ ...@@ -621,8 +646,10 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;flex-direction: row;"> <div style="display: flex;flex-direction: row;">
<div v-if="scope.row.srcLogicName && scope.row.destLogicName !== ''" <div
style="margin-top:6px;margin-right: 5px;"> v-if="scope.row.srcLogicName && scope.row.destLogicName !== ''"
style="margin-top:6px;margin-right: 5px;"
>
<div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div> <div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div>
<div style="width: 1px;height: 15px;background: #D8D8D8;margin-left: 3px;"></div> <div style="width: 1px;height: 15px;background: #D8D8D8;margin-left: 3px;"></div>
<div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div> <div style="width: 7px;height: 7px;background: #FFFFFF;border: 1px solid #006AFF;border-radius: 50%;"></div>
...@@ -940,7 +967,7 @@ export default { ...@@ -940,7 +967,7 @@ export default {
this.selectBoo = false// 是否批量操作 this.selectBoo = false// 是否批量操作
this.isShowTip = false; this.isShowTip = false;
this.multipleSelection = []; this.multipleSelection = [];
this.search(); // this.search();
this.clear() this.clear()
}, },
}, },
...@@ -1137,6 +1164,7 @@ export default { ...@@ -1137,6 +1164,7 @@ export default {
this.status = null; // 状态 this.status = null; // 状态
this.barcode = ""; // 条码号 this.barcode = ""; // 条码号
this.ruleForm.logicDatabase = "";// 逻辑分库 this.ruleForm.logicDatabase = "";// 逻辑分库
this.logicDatabase = ''; // 逻辑分库
this.queryType = "";// 类型 this.queryType = "";// 类型
this.startEndDate = null;// 时间 this.startEndDate = null;// 时间
this.search() this.search()
...@@ -1600,9 +1628,9 @@ export default { ...@@ -1600,9 +1628,9 @@ export default {
}, },
}, },
mounted () { mounted () {
this.search();
//console.log(this.$route.query.id, 'this.$route.query.id') //console.log(this.$route.query.id, 'this.$route.query.id')
this.showType = this.$route.query.id || "1"; this.showType = this.$route.query.id || "1";
// this.search();
}, },
}; };
...@@ -1668,7 +1696,7 @@ export default { ...@@ -1668,7 +1696,7 @@ export default {
font-family: HarmonyOS_Sans_SC; font-family: HarmonyOS_Sans_SC;
color: #ffffff; color: #ffffff;
line-height: 22px; line-height: 22px;
border:none border: none;
} }
/deep/.el-radio-button .el-radio-button__inner { /deep/.el-radio-button .el-radio-button__inner {
...@@ -1764,6 +1792,7 @@ export default { ...@@ -1764,6 +1792,7 @@ export default {
} }
.sjxz { .sjxz {
margin-left: 24px; margin-left: 24px;
width: 370px;
.item { .item {
width: 80px; width: 80px;
font-size: 14px; font-size: 14px;
...@@ -1786,7 +1815,7 @@ export default { ...@@ -1786,7 +1815,7 @@ export default {
margin-bottom: 16px; margin-bottom: 16px;
.left { .left {
margin-top: 24px; margin-top: 24px;
.el-radio-group{ .el-radio-group {
.el-radio { .el-radio {
width: 86px; width: 86px;
height: 32px; height: 32px;
...@@ -1809,14 +1838,12 @@ export default { ...@@ -1809,14 +1838,12 @@ export default {
/deep/ .el-radio__input { /deep/ .el-radio__input {
display: none; display: none;
} }
} }
/deep/ .is-checked { /deep/ .is-checked {
background-color: #ddebff; background-color: #ddebff;
} }
} }
} }
} }
.options { .options {
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
</div> </div>
<div class="right"> <div class="right">
<el-button <el-button
v-show="formInline.barcode!=''||formInline.inspectionFlag!=null||formInline.codeDwCode!=''||formInline.nysj!=null"
type="text" type="text"
@click="clear" @click="clear"
>清空</el-button> >清空</el-button>
......
...@@ -467,7 +467,7 @@ export default { ...@@ -467,7 +467,7 @@ export default {
let self = this; let self = this;
this.$axios this.$axios
.post( .post(
"/api/png/plainByBarcode/barcode", "/api/png/plain/barcode",
{ barcode: this.rowData.barcode }, { barcode: this.rowData.barcode },
// { loading: false } // { loading: false }
) )
...@@ -502,7 +502,7 @@ export default { ...@@ -502,7 +502,7 @@ export default {
let self = this; let self = this;
this.$axios this.$axios
.post( .post(
"/api/png/rollByBarcode/barcode", "/api/png/roll/barcode",
{ barcode: this.rowData.barcode }, { barcode: this.rowData.barcode },
// { loading: false } // { loading: false }
) )
...@@ -790,7 +790,7 @@ export default { ...@@ -790,7 +790,7 @@ export default {
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 50%; top: 50%;
transform:translate(-50%,-50%); transform: translate(-50%, -50%);
margin-top: -48px; /* 高度的一半 */ margin-top: -48px; /* 高度的一半 */
margin-left: -66px; /* 宽度的一半 */ margin-left: -66px; /* 宽度的一半 */
width: 132px; width: 132px;
...@@ -876,7 +876,7 @@ export default { ...@@ -876,7 +876,7 @@ export default {
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 50%; top: 50%;
transform:translate(-50%,-50%); transform: translate(-50%, -50%);
margin-top: -48px; /* 高度的一半 */ margin-top: -48px; /* 高度的一半 */
margin-left: -66px; /* 宽度的一半 */ margin-left: -66px; /* 宽度的一半 */
width: 132px; width: 132px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment