|
|
|
@ -3,12 +3,12 @@
|
|
|
|
|
|
|
|
|
|
<el-card v-if="!changeViewDisabled">
|
|
|
|
|
|
|
|
|
|
<el-alert
|
|
|
|
|
style="margin-top: 1px;margin-bottom: 10px;font-size: 20px;"
|
|
|
|
|
:title="msgTip"
|
|
|
|
|
:closable="false"
|
|
|
|
|
type="warning">
|
|
|
|
|
</el-alert>
|
|
|
|
|
<!-- <el-alert-->
|
|
|
|
|
<!-- style="margin-top: 1px;margin-bottom: 10px;font-size: 20px;"-->
|
|
|
|
|
<!-- :title="msgTip"-->
|
|
|
|
|
<!-- :closable="false"-->
|
|
|
|
|
<!-- type="warning">-->
|
|
|
|
|
<!-- </el-alert>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form"
|
|
|
|
@ -225,12 +225,12 @@
|
|
|
|
|
|
|
|
|
|
<el-card v-if="changeViewDisabled">
|
|
|
|
|
|
|
|
|
|
<el-alert
|
|
|
|
|
style="margin-top: 1px;margin-bottom: 10px;font-size: 20px;"
|
|
|
|
|
:title="msgTip"
|
|
|
|
|
:closable="false"
|
|
|
|
|
type="warning">
|
|
|
|
|
</el-alert>
|
|
|
|
|
<!-- <el-alert-->
|
|
|
|
|
<!-- style="margin-top: 1px;margin-bottom: 10px;font-size: 20px;"-->
|
|
|
|
|
<!-- :title="msgTip"-->
|
|
|
|
|
<!-- :closable="false"-->
|
|
|
|
|
<!-- type="warning">-->
|
|
|
|
|
<!-- </el-alert>-->
|
|
|
|
|
|
|
|
|
|
<div style="min-height: 400px;">
|
|
|
|
|
<!-- 分割线 -->
|
|
|
|
@ -509,6 +509,12 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
handleClick(index) {
|
|
|
|
|
// this.$router.push({ path: '/tagCodeBlank', query: { workplaceId: this.list[index].workPlaceCode , billNo: this.list[index].billNo }});
|
|
|
|
|
|
|
|
|
|
let temp = this.list[index];
|
|
|
|
|
if (temp != null && temp.invAlert == 2) {
|
|
|
|
|
this.$message.warning("工位存量不足,请及时上货!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.$router.push({query: {...this.$route.query, billNo: this.list[index].billNo}, path: this.$route.path})
|
|
|
|
|
this.callParentMethod(index)
|
|
|
|
|
},
|
|
|
|
@ -518,7 +524,10 @@ export default {
|
|
|
|
|
this.$emit('parent-method', "DealOrder", url); // someData 是你想要传递给父组件的数据
|
|
|
|
|
},
|
|
|
|
|
linkPage(_this, row) {
|
|
|
|
|
|
|
|
|
|
if (row != null && row.invAlert == 2) {
|
|
|
|
|
_this.$message.warning("工位存量不足,请及时上货!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + row.workPlaceCode + "&billNo=" + row.billNo
|
|
|
|
|
window.open(url, '_blank');
|
|
|
|
|
},
|
|
|
|
@ -696,7 +705,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
if (this.$route.query.workplaceId != null) {
|
|
|
|
|