Browse Source

备件相关等出库单详细列表的查询操作

branch_ccpg_220107
44673626 3 years ago
parent
commit
f0da2b5199
  1. 4
      vue/src/router/modules/vw_menu.js
  2. 63
      vue/src/views/ux/billManage/WMSOutputSumReport/index.vue
  3. 21
      vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue
  4. 15
      vue/src/views/ux/billManage/sparepartOutOrder/detail.vue
  5. 19
      vue/src/views/ux/vw/dataInput/OnetimeSale/detail.vue
  6. 5
      vue/src/views/ux/vw/dataInput/hq_h/index.vue
  7. 13
      vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue
  8. 33
      vue/src/views/ux/vw/dataInput/hq_kb_output/detail.vue
  9. 21
      vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue
  10. 50
      vue/static/tableFieldForSearch.json

4
vue/src/router/modules/vw_menu.js

@ -202,7 +202,7 @@ const vwMenudataRouter = {
component: () => import('@/views/ux/billManage/sparePart'),
name: 'SparePartReport',//命名路由
meta: {
title: '大众备件结算输出',
title: '大众备件手工汇总',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '供货'
}
@ -212,7 +212,7 @@ const vwMenudataRouter = {
component: () => import('@/views/ux/billManage/sparePart90'),
name: 'SparePart90Report',//命名路由
meta: {
title: '备件数据调整输出',
title: '大众备件明细输出',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '工厂'
}

63
vue/src/views/ux/billManage/WMSOutputSumReport/index.vue

@ -34,6 +34,36 @@
</el-button>
<el-select
v-model="selectType"
@change="SelectType"
placeholder="请选择出库类型"
style="width: 200px; margin-left: 8px"
>
<el-option
label="大众备件汇总出库"
value="大众备件汇总出库"
></el-option>
<el-option
label="大众备件条码出库"
value="大众备件条码出库"
></el-option>
<el-option label="大众看板出库" value="大众看板出库"></el-option>
<el-option label="大众无看板出库" value="大众无看板出库"></el-option>
<el-option label="大众准时化出库" value="大众准时化出库"></el-option>
<el-option label="红旗手工出库" value="红旗手工出库"></el-option>
<el-option
label="红旗手工出库(备件)"
value="红旗手工出库(备件)"
></el-option>
<el-option label="一轿手工出库" value="一轿手工出库"></el-option>
<el-option
label="一轿手工出库(备件)"
value="一轿手工出库(备件)"
></el-option>
</el-select>
<!-- <el-select
v-model="listQuery.state"
@change="selectState"
placeholder="请选择过滤状态"
@ -43,14 +73,14 @@
<el-option label="已申请" :value="1"></el-option>
<el-option label="成功" :value="2"></el-option>
<el-option label="失败" :value="3"></el-option>
</el-select>
</el-select> -->
<el-input
v-model="searchContent"
clearable
size="small"
placeholder="按照结算单号搜索..."
style="width: 200px"
style="width: 200px; margin-left: 8px"
class="search-container"
@keyup.enter.native="handleFilter"
/>
@ -231,7 +261,7 @@
<el-col :md="4" :xs="24">
<el-form-item label="过账日期" required />
</el-col>
<el-col :md="8" :xs="24">
<el-col :md="20" :xs="24">
<el-form-item prop="dataValue">
<el-date-picker
v-model="dataValue"
@ -242,7 +272,7 @@
/>
</el-form-item>
</el-col>
<el-col :md="4" :xs="24">
<!-- <el-col :md="4" :xs="24">
<el-form-item label="出库类型" required />
</el-col>
<el-col :md="8" :xs="24">
@ -254,44 +284,44 @@
>
<el-option
label="大众备件汇总出库"
:value="大众备件汇总出库"
value="大众备件汇总出库"
></el-option>
<el-option
label="大众备件条码出库"
:value="大众备件条码出库"
value="大众备件条码出库"
></el-option>
<el-option
label="大众看板出库"
:value="大众看板出库"
value="大众看板出库"
></el-option>
<el-option
label="大众无看板出库"
:value="大众无看板出库"
value="大众无看板出库"
></el-option>
<el-option
label="大众准时化出库"
:value="大众准时化出库"
value="大众准时化出库"
></el-option>
<el-option
label="红旗手工出库"
:value="红旗手工出库"
value="红旗手工出库"
></el-option>
<el-option
label="红旗手工出库(备件)"
:value="红旗手工出库(备件)"
value="红旗手工出库(备件)"
></el-option>
<el-option
label="一轿手工出库"
:value="一轿手工出库"
value="一轿手工出库"
></el-option>
<el-option
label="一轿手工出库(备件)"
:value="一轿手工出库(备件)"
value="一轿手工出库(备件)"
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-col> -->
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
@ -517,6 +547,11 @@ export default {
this.listQuery.state = params;
this.getList();
},
SelectType(params) {
//
this.listQuery.type = params;
this.getList();
},
//
getAllVersionList() {
this.$axios

21
vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue

@ -61,7 +61,7 @@
@click="handleFilter"
>搜索
</el-button>
<el-button
<el-button
class="filter-item"
size="mini"
type="info"
@ -70,18 +70,20 @@
>全部导出
</el-button>
<!--表格头组件filter查询-->
<c-r-m-table-head
<!-- <c-r-m-table-head
ref="crmTableHead"
:crm-type="crmType"
@handle="handleHandle"
@filter="handleFilters"
>
</c-r-m-table-head>
</c-r-m-table-head> -->
<div v-if="this.resultData && this.resultData.errSize > 0">
<el-card shadow="always">
<!-- <i class="el-icon-error" /> -->
<p>
<span style="color:red">{{ this.resultData.successMessage }} </span>
<span style="color: red"
>{{ this.resultData.successMessage }}
</span>
<el-button type="text" @click="downloadErrData"
>下载错误数据</el-button
>
@ -283,6 +285,7 @@ export default {
SkipCount: 0,
MaxResultCount: 15,
billNum: "",
version: "",
},
listOutPutQuery: {
version: "",
@ -656,19 +659,19 @@ export default {
this.showExcelImport = false;
this.getList();
},
//
//
handleDownload(command) {
this.listLoading = true;
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
this.listQuery.version = this.customerInfo.version;
this.listQuery.billNum = this.customerInfo.parentId;
console.log(
"大众无条码看板出库单-导出:" + JSON.stringify(this.listOutPutQuery)
"大众无条码看板出库单-导出:" + JSON.stringify(this.listQuery)
);
this.$axios
.posts(
"/api/settleaccount/wmskanbanoutputextend/Export",
this.listOutPutQuery
this.listQuery
)
.then((res) => {
let fileNameOfProject = res;

15
vue/src/views/ux/billManage/sparepartOutOrder/detail.vue

@ -45,7 +45,7 @@
v-model="searchContent"
clearable
size="small"
placeholder="按照零件号搜索..."
placeholder="按照SAP号搜索..."
style="width: 230px"
class="search-container"
@keyup.enter.native="handleFilter"
@ -66,13 +66,13 @@
>全部导出
</el-button>
<!--表格头组件filter查询-->
<c-r-m-table-head
<!-- <c-r-m-table-head
ref="crmTableHead"
:crm-type="crmType"
@handle="handleHandle"
@filter="handleFilters"
>
</c-r-m-table-head>
</c-r-m-table-head> -->
</flexbox>
<!--表格渲染-->
<el-table
@ -259,6 +259,7 @@ export default {
SkipCount: 0,
MaxResultCount: 15,
billNum: "",
version: "",
},
listOutPutQuery: {
version: "",
@ -354,16 +355,16 @@ export default {
//
handleDownload(command) {
this.listLoading = true;
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
this.listQuery.version = this.customerInfo.version;
this.listQuery.billNum = this.customerInfo.parentId;
console.log(
"大众备件出库单导出:" + JSON.stringify(this.listOutPutQuery)
"大众备件出库单导出:" + JSON.stringify(this.listQuery)
);
this.$axios
.posts(
"/api/settleaccount/wmsSharePartoutput/Export",
this.listOutPutQuery
this.listQuery
)
.then((res) => {
let fileNameOfProject = res;

19
vue/src/views/ux/vw/dataInput/OnetimeSale/detail.vue

@ -33,11 +33,11 @@
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<!-- <el-input
<el-input
v-model="searchContent"
clearable
size="small"
placeholder="按照零件号搜索..."
placeholder="按照SAP号搜索..."
style="width: 230px"
class="search-container"
@keyup.enter.native="handleFilter"
@ -48,7 +48,7 @@
icon="el-icon-search"
@click="handleFilter"
>搜索
</el-button> -->
</el-button>
<el-button
class="filter-item"
size="mini"
@ -58,13 +58,13 @@
>全部导出
</el-button>
<!--表格头组件filter查询-->
<c-r-m-table-head
<!-- <c-r-m-table-head
ref="crmTableHead"
:crm-type="crmType"
@handle="handleHandle"
@filter="handleFilters"
>
</c-r-m-table-head>
</c-r-m-table-head> -->
</flexbox>
<!--表格渲染-->
<el-table
@ -251,6 +251,7 @@ export default {
SkipCount: 0,
MaxResultCount: 15,
billNum: "",
version: "",
},
listOutPutQuery: {
version: "",
@ -340,14 +341,14 @@ export default {
//
handleDownload(command) {
this.listLoading = true;
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
this.listQuery.version = this.customerInfo.version;
this.listQuery.billNum = this.customerInfo.parentId;
console.log(
"大众备件出库单导出:" + JSON.stringify(this.listOutPutQuery)
"一次性寄售销售出库单导出:" + JSON.stringify(this.listQuery)
);
this.$axios
.posts("/api/settleaccount/WmsOneTimeSaleOutput/Export", this.listOutPutQuery)
.posts("/api/settleaccount/WmsOneTimeSaleOutput/Export", this.listQuery)
.then((res) => {
let fileNameOfProject = res;
this.$axios

5
vue/src/views/ux/vw/dataInput/hq_h/index.vue

@ -271,6 +271,11 @@ export default {
width: 170,
});
tempsTabs.push({ label: "看板编号", prop: "kanbanNumber", width: 250 });
tempsTabs.push({
label: "外部看板编号",
prop: "externalKanbanNumber",
width: 180,
});
tempsTabs.push({
label: "物料凭证号",
prop: "materialVoucherNo",

13
vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue

@ -58,13 +58,13 @@
>全部导出
</el-button>
<!--表格头组件filter查询-->
<c-r-m-table-head
<!-- <c-r-m-table-head
ref="crmTableHead"
:crm-type="crmType"
@handle="handleHandle"
@filter="handleFilters"
>
</c-r-m-table-head>
</c-r-m-table-head> -->
</flexbox>
<!--表格渲染-->
@ -260,6 +260,7 @@ export default {
SkipCount: 0,
MaxResultCount: 1000,
billNum: "",
version: "",
},
listOutPutQuery: {
version: "",
@ -361,16 +362,16 @@ export default {
//
handleDownload(command) {
this.listLoading = true;
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
this.listQuery.version = this.customerInfo.version;
this.listQuery.billNum = this.customerInfo.parentId;
console.log(
"红旗H平台备件-出库单导出:" + JSON.stringify(this.listOutPutQuery)
"红旗H平台备件-出库单导出:" + JSON.stringify(this.listQuery)
);
this.$axios
.posts(
"/api/settleaccount/WmsHQHSharePartoutput/Export",
this.listOutPutQuery
this.listQuery
)
.then((res) => {
let fileNameOfProject = res;

33
vue/src/views/ux/vw/dataInput/hq_kb_output/detail.vue

@ -33,11 +33,11 @@
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<!-- <el-input
<el-input
v-model="searchContent"
clearable
size="small"
placeholder="按照零件号搜索..."
placeholder="按照SAP号搜索..."
style="width: 230px"
class="search-container"
@keyup.enter.native="handleFilter"
@ -48,7 +48,7 @@
icon="el-icon-search"
@click="handleFilter"
>搜索
</el-button> -->
</el-button>
<el-button
class="filter-item"
size="mini"
@ -58,13 +58,13 @@
>全部导出
</el-button>
<!--表格头组件filter查询-->
<c-r-m-table-head
<!-- <c-r-m-table-head
ref="crmTableHead"
:crm-type="crmType"
@handle="handleHandle"
@filter="handleFilters"
>
</c-r-m-table-head>
</c-r-m-table-head> -->
</flexbox>
<!--表格渲染-->
<el-table
@ -187,7 +187,7 @@ import { downloadFile } from "@/utils/crmindex.js";
import JobSelectVerson from "@/components/CreateCom/Job-Select.vue";
export default {
name: "sendUnsettledDiffReport",
name: "HQkboutput",
components: { Pagination, CRMTableHead, CRMTableHead, JobSelectVerson },
directives: { permission },
props: {
@ -200,7 +200,7 @@ export default {
},
data() {
return {
crmType: "sparepartOutOrder",
crmType: "hqkboutput",
rules: {
//
erpMaterialCode: [
@ -251,6 +251,7 @@ export default {
SkipCount: 0,
MaxResultCount: 15,
billNum: "",
version: "",
},
listOutPutQuery: {
version: "",
@ -330,7 +331,7 @@ export default {
prop: "materialDesc",
width: 220,
});
tempsTabs.push({ label: "是否备件", prop: "isBack", width: 100 });
tempsTabs.push({ label: "寄售库存", prop: "sockQty", width: 100 });
tempsTabs.push({ label: "结算数量", prop: "qty", width: 100 });
tempsTabs.push({
@ -346,14 +347,14 @@ export default {
//
handleDownload(command) {
this.listLoading = true;
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
this.listQuery.version = this.customerInfo.version;
this.listQuery.billNum = this.customerInfo.parentId;
console.log(
"大众备件出库单导出:" + JSON.stringify(this.listOutPutQuery)
"红旗一轿车库单导出:" + JSON.stringify(this.listQuery)
);
this.$axios
.posts("/api/settleaccount/WmsHQKBOutput/Export", this.listOutPutQuery)
.posts("/api/settleaccount/WmsHQKBOutput/Export", this.listQuery)
.then((res) => {
let fileNameOfProject = res;
this.$axios
@ -626,6 +627,12 @@ export default {
4: "取消出库",
}[row[column.property]];
}
if (column.property == "isBack") {
return {
0: "批量",
1: "备件",
}[row[column.property]];
}
return row[column.property] || "--";
},
importExcelData() {
@ -667,7 +674,7 @@ export default {
this.getList();
this.listQuery.Filters = [];
if (this.searchContent != "") {
var column = "materialCode";
var column = "sapMaterialCode";
let filter = {
logic: 0,
column: column,

21
vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue

@ -33,11 +33,12 @@
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input
v-model="searchContent"
clearable
size="small"
placeholder="按照零件号搜索..."
placeholder="按照SAP号搜索..."
style="width: 230px"
class="search-container"
@keyup.enter.native="handleFilter"
@ -58,13 +59,13 @@
>全部导出
</el-button>
<!--表格头组件filter查询-->
<c-r-m-table-head
<!-- <c-r-m-table-head
ref="crmTableHead"
:crm-type="crmType"
@handle="handleHandle"
@filter="handleFilters"
>
</c-r-m-table-head>
</c-r-m-table-head> -->
</flexbox>
<!--表格渲染-->
<el-table
@ -251,6 +252,7 @@ export default {
SkipCount: 0,
MaxResultCount: 15,
billNum: "",
version: "",
},
listOutPutQuery: {
version: "",
@ -340,17 +342,12 @@ export default {
//
handleDownload(command) {
this.listLoading = true;
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
this.listQuery.version = this.customerInfo.version;
this.listQuery.billNum = this.customerInfo.parentId;
console.log(
"一汽轿车出库单导出:" + JSON.stringify(this.listOutPutQuery)
);
console.log("一汽轿车出库单导出:" + JSON.stringify(this.listQuery));
this.$axios
.posts(
"/api/settleaccount/WmsHQCaroutput/Export",
this.listOutPutQuery
)
.posts("/api/settleaccount/WmsHQCaroutput/Export", this.listQuery)
.then((res) => {
let fileNameOfProject = res;
this.$axios

50
vue/static/tableFieldForSearch.json

@ -3009,6 +3009,23 @@
"fieldType": 1,
"fieldName": "materialGroup",
"setting": []
},
{
"fieldId": 2,
"formType": "select",
"isNull": 0,
"name": "状态",
"options": "",
"type": 3,
"value": "",
"fieldType": 0,
"fieldName": "state",
"setting": [
"新建,0",
"已申请,1",
"成功,2",
"失败,3"
]
}
]
},
@ -3203,6 +3220,39 @@
}
]
},
"hqkboutput": {
"id": "36",
"data": [
{
"fieldId": 3,
"formType": "text",
"name": "SAP编码",
"type": 1,
"value": "",
"fieldType": 1,
"fieldName": "sapMaterialCode",
"setting": []
},
{
"fieldId": 2,
"formType": "select",
"isNull": 0,
"name": "状态",
"options": "",
"type": 3,
"value": "",
"fieldType": 0,
"fieldName": "state",
"setting": [
"未处理,0",
"申请出库,1",
"确认出库,2",
"不能出库,3",
"取消出库,4"
]
}
]
},
"kanbanOutOrder": {
"id": "36",
"data": [

Loading…
Cancel
Save