图片放大查看

bozhou-古井贡酒
LAPTOP-S9HJSOEB\昊天 2 years ago
parent 50a8bc8351
commit 347db98551

@ -1395,7 +1395,7 @@ tr.ant-table-expanded-row:hover {background: #fbfbfb;}
.ant-tag-green-inverse {color: #fff;background: #52c41a;border-color: #52c41a;} .ant-tag-green-inverse {color: #fff;background: #52c41a;border-color: #52c41a;}
.ant-tag-blue {color: #1890ff;background: #e6f7ff;border-color: #91d5ff;} .ant-tag-blue {color: #1890ff;background: #e6f7ff;border-color: #91d5ff;}
.ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;} .ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;}
.ant-tag-geekblue {color: #2f54eb;background: color(~`colorPalette("@{text-color}", 2)`);border-color: #adc6ff;} .ant-tag-geekblue {color: #2f54eb;background: #f0f5ff;border-color: #adc6ff;}
.ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;} .ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;}
.ant-tag-purple {color: #722ed1;background: #f9f0ff;border-color: #d3adf7;} .ant-tag-purple {color: #722ed1;background: #f9f0ff;border-color: #d3adf7;}
.ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;} .ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;}

@ -13,6 +13,7 @@
<a-icon type="info-circle" v-if="status.row[index] === 1" style="color: #FFD700"/> <a-icon type="info-circle" v-if="status.row[index] === 1" style="color: #FFD700"/>
<a-icon type="close-circle" v-else-if="status.row[index] === 2" style="color: #d81e06"/> <a-icon type="close-circle" v-else-if="status.row[index] === 2" style="color: #d81e06"/>
<a-icon type="check-circle" v-else-if="status.row[index] === 3" style="color: #1afa29" /> <a-icon type="check-circle" v-else-if="status.row[index] === 3" style="color: #1afa29" />
<a-icon type="check-circle" v-else-if="status.row[index] === 4" style="color: #ede900" />
<a-icon type="exclamation-circle" v-else style="color: #909399" /> <a-icon type="exclamation-circle" v-else style="color: #909399" />
</span> </span>
</a-tab-pane> </a-tab-pane>
@ -243,6 +244,8 @@ export default {
color = '#1afa29' color = '#1afa29'
}else if(status == 1){ }else if(status == 1){
color = '#d81e06' color = '#d81e06'
}else if(status == 4){
color = '#ede900'
}else{ }else{
color = '#bfbfbf' color = '#bfbfbf'
} }

@ -86,13 +86,13 @@
<a-row type="flex" justify="space-around" style="height:300,margin-left:400"> <a-row type="flex" justify="space-around" style="height:300,margin-left:400">
<a-col :span="11"> <a-col :span="11">
<p>顶部图片1</p> <p>顶部图片1</p>
<viewer :images = "checkObj.topPic1"> <viewer :images = "pics">
<img class="historyImg" :src="checkObj.topPic1"/> <img class="historyImg" :src="checkObj.topPic1"/>
</viewer> </viewer>
</a-col> </a-col>
<a-col :span="11"> <a-col :span="11">
<p>顶部图片2</p> <p>顶部图片2</p>
<viewer :images = "checkObj.topPic2"> <viewer :images = "pics">
<img class="historyImg" :src="checkObj.topPic2"/> <img class="historyImg" :src="checkObj.topPic2"/>
</viewer> </viewer>
</a-col> </a-col>
@ -100,13 +100,13 @@
<a-row type="flex" gutter="16px" justify="space-around" align="middle" style="height:300"> <a-row type="flex" gutter="16px" justify="space-around" align="middle" style="height:300">
<a-col :span="11"> <a-col :span="11">
<p>侧面图片1</p> <p>侧面图片1</p>
<viewer :images = "checkObj.sidePic1"> <viewer :images = "pics">
<img class="historyImg" :src="checkObj.sidePic1"/> <img class="historyImg" :src="checkObj.sidePic1"/>
</viewer> </viewer>
</a-col> </a-col>
<a-col :span="11"> <a-col :span="11">
<p>侧面图片2</p> <p>侧面图片2</p>
<viewer :images = "checkObj.sidePic2"> <viewer :images = "pics">
<img class="historyImg" :src="checkObj.sidePic2"/> <img class="historyImg" :src="checkObj.sidePic2"/>
</viewer> </viewer>
</a-col> </a-col>
@ -114,13 +114,13 @@
<a-row type="flex" justify="space-around" align="middle" style="height:300"> <a-row type="flex" justify="space-around" align="middle" style="height:300">
<a-col :span="11"> <a-col :span="11">
<p>侧面图片3</p> <p>侧面图片3</p>
<viewer :images = "checkObj.sidePic3"> <viewer :images = "pics">
<img class="historyImg" :src="checkObj.sidePic3"/> <img class="historyImg" :src="checkObj.sidePic3"/>
</viewer> </viewer>
</a-col> </a-col>
<a-col :span="11"> <a-col :span="11">
<p>侧面图片4</p> <p>侧面图片4</p>
<viewer :images = "checkObj.sidePic4"> <viewer :images = "pics">
<img class="historyImg" :src="checkObj.sidePic4"/> <img class="historyImg" :src="checkObj.sidePic4"/>
</viewer> </viewer>
</a-col> </a-col>
@ -167,6 +167,7 @@ export default {
data() { data() {
return { return {
checkObj: {}, checkObj: {},
pics:[],
row: 1, row: 1,
column: 1, column: 1,
streetName: "", streetName: "",
@ -197,6 +198,7 @@ export default {
1: "盘点异常", 1: "盘点异常",
2: "核对正确", 2: "核对正确",
3: "人工核对正确", 3: "人工核对正确",
4: "需要人工核对",
}, },
}; };
}, },
@ -269,6 +271,12 @@ export default {
this.checkObj = res.data; this.checkObj = res.data;
this.checkObj.checkPic2 = this.checkObj.checkPic2 =
this.checkObj.checkPic + ".jpg"; this.checkObj.checkPic + ".jpg";
this.pics.push(this.checkObj.topPic1);
this.pics.push(this.checkObj.topPic2);
this.pics.push(this.checkObj.sidePic1);
this.pics.push(this.checkObj.sidePic2);
this.pics.push(this.checkObj.sidePic3);
this.pics.push(this.checkObj.sidePic4);
//this.shelveId = res.data.shelveId; //this.shelveId = res.data.shelveId;
//this.getScanAndCheck(); //this.getScanAndCheck();
} }
@ -384,6 +392,13 @@ export default {
this.streetName = res.data.streetName; this.streetName = res.data.streetName;
this.checkObj.checkPic2 = this.checkObj.checkPic2 =
this.checkObj.checkPic + ".jpg"; this.checkObj.checkPic + ".jpg";
this.pics.push(this.checkObj.topPic1);
this.pics.push(this.checkObj.topPic2);
this.pics.push(this.checkObj.sidePic1);
this.pics.push(this.checkObj.sidePic2);
this.pics.push(this.checkObj.sidePic3);
this.pics.push(this.checkObj.sidePic4);
} else { } else {
message.info("全部盘点已完成"); message.info("全部盘点已完成");
} }

@ -46,6 +46,13 @@
></a-tag> ></a-tag>
盘点正确 盘点正确
</span> </span>
<span class="info-text">
<a-tag
color="#ede900"
style="width: 30px; height: 20px; margin-right: 6px"
></a-tag>
需要人工盘点
</span>
<span class="info-text"> <span class="info-text">
<a-tag <a-tag
color="#bfbfbf" color="#bfbfbf"

@ -132,7 +132,7 @@ export default {
name: "historyCheck", name: "historyCheck",
data() { data() {
return { return {
statusMap: {0:"未盘点",1:"盘点异常",2:"核对正确",3:"人工核对正确"}, statusMap: {0:"未盘点",1:"盘点异常",2:"核对正确",3:"人工核对正确",4: "需要人工核对",},
queryParam: { queryParam: {
lotnum: '', lotnum: '',
side : '', side : '',

Loading…
Cancel
Save