是否自动赋码,单据处理

20240912_adapter_z
yewj 7 months ago
parent f1bcc1a802
commit 9627ed7d73

@ -55,11 +55,11 @@
</el-row>
<el-row :gutter="24" class="el-row">
<el-col :span="12" class="el-col">
<el-form-item label="管理设备:" prop="documentTypeCode" class="query-form-item">
<el-select v-model="formData.inoutType" style="width: 80%" placeholder="请选择是否管理设备"
<el-form-item label="管理设备:" prop="autoTag" class="query-form-item">
<el-select v-model="formData.autoTag" style="width: 80%" placeholder="请选择是否管理设备"
>
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="2"></el-option>
<el-option label="否" :value="0"></el-option>
</el-select>
</el-form-item>
</el-col>
@ -251,7 +251,8 @@ export default {
documentTypeCode: null,
orderCirType: 1,
warnType: 2,
workplaceType:3
workplaceType: 3,
autoTag: 0,
},
invList: [],
busTypes: [],

@ -215,9 +215,9 @@
<span>{{ workplaceTypeMap[scope.row.workplaceType] }}</span>
</template>
</el-table-column>
<el-table-column label="管理设备" prop="inoutType" width="100">
<el-table-column label="管理设备" prop="autoTag" width="100">
<template slot-scope="scope">
<span>{{ inoutTypes[scope.row.inoutType] }}</span>
<span>{{ autoTagTypes[scope.row.autoTag] }}</span>
</template>
</el-table-column>
<el-table-column label="计量单位 " prop="orderCirType" width="100">
@ -770,6 +770,10 @@ export default {
1: '是',
2: '否'
},
autoTagTypes: {
1: '是',
0: '否'
},
corpTypeMap: {
1: '客户',
2: '供应商',

@ -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) {

Loading…
Cancel
Save