|
|
|
@ -2,6 +2,15 @@
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
<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-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form"
|
|
|
|
|
size="mini" label-width="100px">
|
|
|
|
|
<el-row style=" display:flex; flex-wrap: wrap; ">
|
|
|
|
@ -215,6 +224,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<div style="min-height: 400px;">
|
|
|
|
|
<!-- 分割线 -->
|
|
|
|
|
<el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" :inline="true"
|
|
|
|
@ -367,6 +384,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {findInvRemindByBillNo} from "@/api/inout/splitCode";
|
|
|
|
|
import addOrder from "@/views/inout/DialogCreateOrder";
|
|
|
|
|
import errOrder from "@/views/inout/IoCreateErrorOrder";
|
|
|
|
|
import {executeFuc, getHead} from "@/utils/customConfig";
|
|
|
|
@ -399,6 +417,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
msgTip: "库存预警提醒:",
|
|
|
|
|
isLinkDisabled: false,
|
|
|
|
|
changeViewDisabled: true,
|
|
|
|
|
userInfo: {
|
|
|
|
@ -474,6 +493,17 @@ export default {
|
|
|
|
|
addOrder, errOrder, bindWorkDialog, prescribeOriginPanel, prescribeOriginDiPanel
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
changeInvRemind(val) {
|
|
|
|
|
let post = {
|
|
|
|
|
workPlaceCode: val
|
|
|
|
|
}
|
|
|
|
|
findInvRemindByBillNo(post).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.msgTip = response.data
|
|
|
|
|
}
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
changeView() {
|
|
|
|
|
this.changeViewDisabled = !this.changeViewDisabled
|
|
|
|
|
},
|
|
|
|
@ -578,6 +608,10 @@ export default {
|
|
|
|
|
this.loading = false
|
|
|
|
|
this.list = res.data.list || []
|
|
|
|
|
this.total = res.data.total || 0
|
|
|
|
|
if (this.filterQuery.workPlaceCode != null){
|
|
|
|
|
this.changeInvRemind(this.filterQuery.workPlaceCode)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
this.loading = false
|
|
|
|
|
this.list = []
|
|
|
|
|