Browse Source

新页面

master
常熟吴彦祖 1 month ago
parent
commit
db1329704c
  1. 17
      src/api/automatedWarehouse/notifyDetailQuery.js
  2. 643
      src/views/modules/automatedWarehouse/notifyDetailQuery.vue
  3. 46
      src/views/modules/noOrderIssue/newNoOrderIssueNotify.vue
  4. 38
      src/views/modules/noOrderIssue/noOrderNotification.vue
  5. 38
      src/views/modules/orderIssure/newSoIssueNotify.vue
  6. 8
      src/views/modules/orderIssure/searchIssureNotify.vue
  7. 19
      src/views/modules/shipment/shipmentIssue.vue
  8. 38
      src/views/modules/shipment/shipmentNotification.vue

17
src/api/automatedWarehouse/notifyDetailQuery.js

@ -0,0 +1,17 @@
/**
* 申请单明细通用查询API - rqrq
*/
import { createAPI } from "@/utils/httpRequest.js";
// ========== 查询相关 ========== - rqrq
/**
* 查询申请单订单列表分页- rqrq
*/
export const searchNotifyOrderList = data => createAPI('/automatedWarehouse/notifyDetailQuery/searchNotifyOrderList', 'post', data)
/**
* 查询申请单物料明细根据notify_no+site+item_no- rqrq
*/
export const searchMaterialListDetail = data => createAPI('/automatedWarehouse/notifyDetailQuery/searchMaterialListDetail', 'post', data)

643
src/views/modules/automatedWarehouse/notifyDetailQuery.vue

@ -0,0 +1,643 @@
<template>
<div class="mod-config yzz">
<!-- 查询条件 - rqrq -->
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;">
<el-form :inline="true" label-position="top" style="margin-top: 0px">
<el-form-item label="工厂">
<el-input v-model="searchData.site" style="width: 100px" disabled></el-input>
</el-form-item>
<el-form-item label="领料单号">
<el-input v-model="searchData.notifyNo" style="width: 140px" clearable></el-input>
</el-form-item>
<el-form-item label="订单号">
<el-input v-model="searchData.soorderNo" style="width: 140px" clearable></el-input>
</el-form-item>
<el-form-item label="订单类型">
<el-select v-model="searchData.orderType" placeholder="请选择" style="width: 120px">
<el-option label="全部" value=""></el-option>
<el-option label="shoporder" value="shoporder"></el-option>
<el-option label="shipment" value="shipment"></el-option>
<el-option label="slittingorder" value="slittingorder"></el-option>
</el-select>
</el-form-item>
<el-form-item label="推送WCS">
<el-select v-model="searchData.pushWmsFlag" placeholder="请选择" style="width: 100px">
<el-option label="全部" value=""></el-option>
<el-option label="是" value="Y"></el-option>
<el-option label="否" value="N"></el-option>
</el-select>
</el-form-item>
<el-form-item label="立库取出">
<el-select v-model="searchData.transportFlag" placeholder="请选择" style="width: 100px">
<el-option label="全部" value=""></el-option>
<el-option label="是" value="Y"></el-option>
<el-option label="否" value="N"></el-option>
</el-select>
</el-form-item>
<el-form-item :label="' '">
<el-button type="primary" @click="searchTable()">查询</el-button>
</el-form-item>
</el-form>
</el-form>
<!-- 主表 - 申请单订单列表 - rqrq -->
<el-table
:data="dataList"
@row-click="changeData"
:height="height"
border
highlight-current-row
ref="mainTable"
v-loading="dataListLoading"
style="width: 100%;">
<el-table-column
v-for="(item,index) in columnList1"
:key="index"
:sortable="item.columnSortable"
:prop="item.columnProp"
:header-align="item.headerAlign"
:show-overflow-tooltip="item.showOverflowTooltip"
:align="item.align"
:fixed="item.fixed==''?false:item.fixed"
:min-width="item.columnWidth"
:label="item.columnLabel">
<template slot-scope="scope">
<!-- 推送WCS特殊显示 - rqrq -->
<span v-if="item.columnProp === 'pushWmsFlag'" :style="{color: scope.row.pushWmsFlag === 'Y' ? '#67C23A' : '#909399'}">
{{ scope.row.pushWmsFlag === 'Y' ? '是' : '否' }}
</span>
<!-- 立库取出特殊显示 - rqrq -->
<span v-else-if="item.columnProp === 'transportFlag'" :style="{color: scope.row.transportFlag === 'Y' ? '#67C23A' : '#909399'}">
{{ scope.row.transportFlag === 'Y' ? '是' : '否' }}
</span>
<!-- 订单类型特殊显示 - rqrq -->
<span v-else-if="item.columnProp === 'orderType'" :style="{color: getOrderTypeColor(scope.row.orderType), fontWeight: 'bold'}">
{{ scope.row.orderType || '-' }}
</span>
<!-- 普通列显示 -->
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
</template>
</el-table-column>
</el-table>
<!-- 分页 - rqrq -->
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
:current-page="pageIndex"
:page-sizes="[20, 50, 100, 1000]"
:page-size="pageSize"
:total="totalPage"
layout="total, sizes, prev, pager, next, jumper">
</el-pagination>
<!-- 明细表 - 预留标签清单 - rqrq -->
<el-tabs style="font-size: 12px;min-height: 200px;margin-top:10px" class="customer-tab" v-model="activeName" type="border-card">
<el-tab-pane label="预留标签清单" name="labelDetail">
<el-table
:data="detailList"
:height="detailHeight"
border
v-loading="detailLoading"
style="width: 100%;">
<el-table-column
v-for="(item,index) in columnList2"
:key="index"
:sortable="item.columnSortable"
:prop="item.columnProp"
:header-align="item.headerAlign"
:show-overflow-tooltip="item.showOverflowTooltip"
:align="item.align"
:fixed="item.fixed==''?false:item.fixed"
:min-width="item.columnWidth"
:label="item.columnLabel">
<template slot-scope="scope">
<!-- 立库取出特殊显示 - rqrq -->
<span v-if="item.columnProp === 'outWcsFlag'" :style="{color: scope.row.outWcsFlag === 'Y' ? '#67C23A' : '#909399'}">
{{ scope.row.outWcsFlag === 'Y' ? '是' : '否' }}
</span>
<!-- 发料标志特殊显示 - rqrq -->
<span v-else-if="item.columnProp === 'issureFlag'" :style="{color: scope.row.issureFlag === 'Y' ? '#67C23A' : '#909399'}">
{{ scope.row.issureFlag === 'Y' ? '是' : '否' }}
</span>
<!-- 订单类型特殊显示 - rqrq -->
<span v-else-if="item.columnProp === 'orderType'" :style="{color: getOrderTypeColor(scope.row.orderType), fontWeight: 'bold'}">
{{ scope.row.orderType || '-' }}
</span>
<!-- 普通列显示 -->
<span v-else-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
</template>
</el-table-column>
</el-table>
</el-tab-pane>
</el-tabs>
</div>
</template>
<script>
import {
searchNotifyOrderList,
searchMaterialListDetail
} from '@/api/automatedWarehouse/notifyDetailQuery.js'
export default {
name: 'notifyDetailQuery',
data() {
return {
height: 200,
detailHeight: 200,
activeName: 'labelDetail',
dataListLoading: false,
detailLoading: false,
dataList: [],
detailList: [],
currentRow: null,
pageIndex: 1,
pageSize: 50,
totalPage: 0,
searchData: {
page: 1,
limit: 50,
site: this.$store.state.user.site,
notifyNo: '',
soorderNo: '',
orderType: '',
pushWmsFlag: '',
transportFlag: ''
},
// - rqrq
columnList1: [
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1NotifyNo',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'notifyNo',
headerAlign: 'center',
align: 'left',
columnLabel: '领料单号',
columnHidden: false,
columnImage: false,
columnSortable: true,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 140,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1ItemNo',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'itemNo',
headerAlign: 'center',
align: 'right',
columnLabel: '序号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 60,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1SoorderNo',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'soorderNo',
headerAlign: 'center',
align: 'left',
columnLabel: '订单号',
columnHidden: false,
columnImage: false,
columnSortable: true,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 140,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1OrderType',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'orderType',
headerAlign: 'center',
align: 'center',
columnLabel: '订单类型',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1FgPartNo',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'fgPartNo',
headerAlign: 'center',
align: 'left',
columnLabel: '工单物料',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1ReleaseNo',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'releaseNo',
headerAlign: 'center',
align: 'left',
columnLabel: '发布号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1SequenceNo',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'sequenceNo',
headerAlign: 'center',
align: 'left',
columnLabel: '序号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1NeedDate',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'needDate',
headerAlign: 'center',
align: 'center',
columnLabel: '要求发料时间',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 130,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1LocationNo',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'locationNo',
headerAlign: 'center',
align: 'left',
columnLabel: '配送站点',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1AreaDesc',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'areaDesc',
headerAlign: 'center',
align: 'left',
columnLabel: '配送区域',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1PushWmsFlag',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'pushWmsFlag',
headerAlign: 'center',
align: 'center',
columnLabel: '推送WCS',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table1TransportFlag',
tableId: '801001Table1',
tableName: '申请单订单列表',
columnProp: 'transportFlag',
headerAlign: 'center',
align: 'center',
columnLabel: '立库取出',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
showOverflowTooltip: true
}
],
// - rqrq
columnList2: [
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table2ItemNo',
tableId: '801001Table2',
tableName: '预留标签清单表',
columnProp: 'itemNo',
headerAlign: 'center',
align: 'right',
columnLabel: '订单序号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table2BomItemNo',
tableId: '801001Table2',
tableName: '预留标签清单表',
columnProp: 'bomItemNo',
headerAlign: 'center',
align: 'right',
columnLabel: '订单物料行号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table2SerialNo',
tableId: '801001Table2',
tableName: '预留标签清单表',
columnProp: 'serialNo',
headerAlign: 'center',
align: 'left',
columnLabel: '标签号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 150,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table2TaskRef',
tableId: '801001Table2',
tableName: '预留标签清单表',
columnProp: 'taskRef',
headerAlign: 'center',
align: 'left',
columnLabel: '立库任务号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table2TaskItem',
tableId: '801001Table2',
tableName: '预留标签清单表',
columnProp: 'taskItem',
headerAlign: 'center',
align: 'right',
columnLabel: '立库任务行号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table2TaskSeq',
tableId: '801001Table2',
tableName: '预留标签清单表',
columnProp: 'taskSeq',
headerAlign: 'center',
align: 'right',
columnLabel: '任务序号',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table2OrderType',
tableId: '801001Table2',
tableName: '预留标签清单表',
columnProp: 'orderType',
headerAlign: 'center',
align: 'center',
columnLabel: '订单类型',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100,
showOverflowTooltip: true
},
{
userId: this.$store.state.user.name,
functionId: 801001,
serialNumber: '801001Table2OutWcsFlag',
tableId: '801001Table2',
tableName: '预留标签清单表',
columnProp: 'outWcsFlag',
headerAlign: 'center',
align: 'center',
columnLabel: '立库取出',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
showOverflowTooltip: true
},
]
}
},
mounted() {
// - rqrq
this.height = (window.innerHeight - 280) / 2
this.detailHeight = (window.innerHeight - 280) / 2
},
methods: {
// - rqrq
getOrderTypeColor(orderType) {
switch (orderType) {
case 'shoporder':
return '#409EFF' //
case 'shipment':
return '#67C23A' // 绿
case 'slittingorder':
return '#E6A23C' //
default:
return '#909399' //
}
},
// - rqrq
searchTable() {
this.dataListLoading = true
this.searchData.page = this.pageIndex
this.searchData.limit = this.pageSize
searchNotifyOrderList(this.searchData).then(({ data }) => {
if (data && data.code === 0) {
this.dataList = data.page.list
this.totalPage = data.page.totalCount
} else {
this.dataList = []
this.totalPage = 0
}
}).catch(() => {
this.$message.error('查询失败')
}).finally(() => {
this.dataListLoading = false
})
},
// - rqrq
changeData(row) {
this.currentRow = JSON.parse(JSON.stringify(row))
this.getDetailList()
},
// - rqrq
getDetailList() {
if (!this.currentRow) {
this.detailList = []
return
}
this.detailLoading = true
const queryData = {
site: this.currentRow.site,
notifyNo: this.currentRow.notifyNo,
itemNo: this.currentRow.itemNo
}
searchMaterialListDetail(queryData).then(({ data }) => {
if (data && data.code === 0) {
this.detailList = data.rows || []
} else {
this.detailList = []
}
}).catch(() => {
this.$message.error('查询明细失败')
}).finally(() => {
this.detailLoading = false
})
},
// - rqrq
sizeChangeHandle(val) {
this.pageSize = val
this.pageIndex = 1
this.searchTable()
},
// - rqrq
currentChangeHandle(val) {
this.pageIndex = val
this.searchTable()
}
}
}
</script>
<style scoped>
/deep/ .customer-tab .el-tabs__content {
padding: 5px !important;
}
</style>

46
src/views/modules/noOrderIssue/newNoOrderIssueNotify.vue

@ -198,6 +198,8 @@
<el-table-column prop="applyQty" header-align="center" align="right" min-width="100" label="数量"></el-table-column> <el-table-column prop="applyQty" header-align="center" align="right" min-width="100" label="数量"></el-table-column>
<el-table-column prop="uom" header-align="center" align="center" min-width="80" label="单位"></el-table-column> <el-table-column prop="uom" header-align="center" align="center" min-width="80" label="单位"></el-table-column>
<el-table-column prop="isInWh" header-align="center" align="center" min-width="100" label="是否在立库"></el-table-column> <el-table-column prop="isInWh" header-align="center" align="center" min-width="100" label="是否在立库"></el-table-column>
<!-- rqrq - 新增可用库存列 -->
<el-table-column prop="availableQty" header-align="center" align="right" min-width="100" label="可用库存"></el-table-column>
<el-table-column fixed="right" header-align="center" align="center" width="80" label="操作"> <el-table-column fixed="right" header-align="center" align="center" width="80" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="danger" size="mini" plain style="height:14px; line-height:14px; padding:0 8px;" @click="deleteTempOrderRow(scope.$index)">删除</el-button> <el-button type="danger" size="mini" plain style="height:14px; line-height:14px; padding:0 8px;" @click="deleteTempOrderRow(scope.$index)">删除</el-button>
@ -236,6 +238,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="isInWh" header-align="center" align="center" min-width="80" label="是否在立库"> <el-table-column prop="isInWh" header-align="center" align="center" min-width="80" label="是否在立库">
</el-table-column> </el-table-column>
<!-- rqrq - 新增可用库存列 -->
<el-table-column prop="availableQty" header-align="center" align="right" min-width="80" label="可用库存">
</el-table-column>
</el-table> </el-table>
<el-pagination @size-change="handleAvailableSizeChange" @current-change="handleAvailableCurrentChange" <el-pagination @size-change="handleAvailableSizeChange" @current-change="handleAvailableCurrentChange"
:current-page="availableMaterialPage" :page-sizes="[50, 100]" :page-size="availableMaterialLimit" :current-page="availableMaterialPage" :page-sizes="[50, 100]" :page-size="availableMaterialLimit"
@ -265,6 +270,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="isInWh" header-align="center" align="center" min-width="80" label="是否在立库"> <el-table-column prop="isInWh" header-align="center" align="center" min-width="80" label="是否在立库">
</el-table-column> </el-table-column>
<!-- rqrq - 新增可用库存列 -->
<el-table-column prop="availableQty" header-align="center" align="right" min-width="80" label="可用库存">
</el-table-column>
</el-table> </el-table>
</el-main> </el-main>
</el-container> </el-container>
@ -825,6 +833,25 @@ export default {
fixed: false, fixed: false,
columnWidth: 110, columnWidth: 110,
}, },
{
// rqrq -
userId: this.$store.state.user.name,
functionId: 555001,
serialNumber: '555001Table2AvailableQty',
tableId: '555001Table2',
tableName: '查询工单及物料',
columnProp: 'availableQty',
headerAlign: 'center',
align: 'right',
columnLabel: '可用库存',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false,
columnWidth: 80,
},
], ],
columnList3: [ columnList3: [
{ {
@ -863,6 +890,25 @@ export default {
fixed: false, fixed: false,
columnWidth: 50, columnWidth: 50,
}, },
{
// rqrq -
userId: this.$store.state.user.name,
functionId: 555001,
serialNumber: '555001Table3AvailableQty',
tableId: '555001Table3',
tableName: '领料申请BOM子表',
columnProp: 'availableQty',
headerAlign: 'center',
align: 'right',
columnLabel: '可用库存',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false,
columnWidth: 80,
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: 555001, functionId: 555001,

38
src/views/modules/noOrderIssue/noOrderNotification.vue

@ -1295,6 +1295,25 @@ export default {
fixed: false, fixed: false,
columnWidth: 50, columnWidth: 50,
}, },
{
// rqrq -
userId: this.$store.state.user.name,
functionId: 555001,
serialNumber: '555001Table3AvailableQty',
tableId: '555001Table3',
tableName: '领料申请BOM子表',
columnProp: 'availableQty',
headerAlign: 'center',
align: 'right',
columnLabel: '可用库存',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false,
columnWidth: 80,
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: 555001, functionId: 555001,
@ -1946,13 +1965,13 @@ export default {
this.refreshCurrentTabTable() this.refreshCurrentTabTable()
}, },
//
// - rqrq
changeCurrentRow(row, oldRow) { changeCurrentRow(row, oldRow) {
// //
if (row) { if (row) {
this.currentRow = JSON.parse(JSON.stringify(row)) this.currentRow = JSON.parse(JSON.stringify(row))
//
this.getNotifyNoOrderDetailByType()
// Tab- rqrq
this.refreshCurrentTabTable()
} }
}, },
@ -1972,21 +1991,22 @@ export default {
} }
}, },
//
// - rqrq
inboundClickRow(row, column) { inboundClickRow(row, column) {
console.log('row', row) console.log('row', row)
this.currentRow = JSON.parse(JSON.stringify(row)) this.currentRow = JSON.parse(JSON.stringify(row))
//
this.getNotifyNoOrderDetailByType()
// - rqrq
this.refreshCurrentTabTable()
}, },
// table
// table - rqrq
refreshCurrentTabTable() { refreshCurrentTabTable() {
if (this.activeTable === 'inboundDetail') { if (this.activeTable === 'inboundDetail') {
this.getInboundDetail()
// - rqrq
this.getNotifyNoOrderDetailByType()
} else if (this.activeTable === 'labelDetail') { } else if (this.activeTable === 'labelDetail') {
// rqrq -
// - rqrq
this.searchMaterialListDetail() this.searchMaterialListDetail()
} }
}, },

38
src/views/modules/orderIssure/newSoIssueNotify.vue

@ -856,6 +856,25 @@ export default {
fixed: false, fixed: false,
columnWidth: 100, columnWidth: 100,
}, },
{
// rqrq -
userId: this.$store.state.user.name,
functionId: 555001,
serialNumber: '555001Table2AvailableQty',
tableId: '555001Table2',
tableName: '查询工单及物料',
columnProp: 'availableQty',
headerAlign: 'center',
align: 'right',
columnLabel: '可用库存',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false,
columnWidth: 80,
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: 555001, functionId: 555001,
@ -1095,6 +1114,25 @@ export default {
fixed: false, fixed: false,
columnWidth: 100, columnWidth: 100,
}, },
{
// rqrq -
userId: this.$store.state.user.name,
functionId: 555001,
serialNumber: '555001Table3AvailableQty',
tableId: '555001Table3',
tableName: '领料申请BOM子表',
columnProp: 'availableQty',
headerAlign: 'center',
align: 'right',
columnLabel: '可用库存',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false,
columnWidth: 80,
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: 555001, functionId: 555001,

8
src/views/modules/orderIssure/searchIssureNotify.vue

@ -341,6 +341,14 @@
width="100" width="100"
align="right"> align="right">
</el-table-column> </el-table-column>
<!-- rqrq - 新增可用库存列 -->
<el-table-column
prop="availableQty"
label="可用库存"
headerAlign="center"
width="100"
align="right">
</el-table-column>
<el-table-column <el-table-column
prop="qtyToIssue" prop="qtyToIssue"
label="本次申请数量" label="本次申请数量"

19
src/views/modules/shipment/shipmentIssue.vue

@ -886,6 +886,25 @@ export default {
fixed: '', fixed: '',
columnWidth: 120, columnWidth: 120,
}, },
{
// rqrq -
userId: this.$store.state.user.name,
functionId: 701001,
serialNumber: '701001Table2AvailableQty',
tableId: '701001Table2',
tableName: '查询派工单',
columnProp: 'availableQty',
headerAlign: 'center',
align: 'right',
columnLabel: '可用库存',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: 701001, functionId: 701001,

38
src/views/modules/shipment/shipmentNotification.vue

@ -1183,6 +1183,25 @@ export default {
fixed: '', fixed: '',
columnWidth: 80, columnWidth: 80,
}, },
{
// rqrq -
userId: this.$store.state.user.name,
functionId: 701001,
serialNumber: '701001Table3AvailableQty',
tableId: '701001Table3',
tableName: '领料申请BOM子表',
columnProp: 'availableQty',
headerAlign: 'center',
align: 'right',
columnLabel: '可用库存',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 80,
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: 701001, functionId: 701001,
@ -2029,13 +2048,13 @@ export default {
this.refreshCurrentTabTable() this.refreshCurrentTabTable()
}, },
//
// - rqrq
changeCurrentRow(row, oldRow) { changeCurrentRow(row, oldRow) {
// //
if (row) { if (row) {
this.currentRow = JSON.parse(JSON.stringify(row)) this.currentRow = JSON.parse(JSON.stringify(row))
//
this.getNotifyNoDetail()
// Tab- rqrq
this.refreshCurrentTabTable()
} }
}, },
@ -2055,21 +2074,22 @@ export default {
} }
}, },
//
// - rqrq
inboundClickRow(row, column) { inboundClickRow(row, column) {
console.log("row",row); console.log("row",row);
this.currentRow = JSON.parse(JSON.stringify(row)) this.currentRow = JSON.parse(JSON.stringify(row))
//
this.getNotifyNoDetail()
// - rqrq
this.refreshCurrentTabTable()
}, },
// table
// table - rqrq
refreshCurrentTabTable() { refreshCurrentTabTable() {
if (this.activeTable === 'inboundDetail') { if (this.activeTable === 'inboundDetail') {
this.getInboundDetail()
// SHIPMENT - rqrq
this.getNotifyNoDetail()
} else if (this.activeTable === 'labelDetail') { } else if (this.activeTable === 'labelDetail') {
// rqrq -
// - rqrq
this.searchMaterialListDetail() this.searchMaterialListDetail()
} }
}, },

Loading…
Cancel
Save