Browse Source

出库单到SAP界面修改完成

branch_ccpg_220107
44673626 3 years ago
parent
commit
c7e0d7f56e
  1. 4
      vue/src/views/ux/basedata/Invoice/index.vue
  2. 138
      vue/src/views/ux/billManage/WMSOutputSumReport/index.vue
  3. 22
      vue/src/views/ux/vw/dataInput/hq_h_sparepart/index.vue

4
vue/src/views/ux/basedata/Invoice/index.vue

@ -37,9 +37,9 @@
<el-dropdown-item command="excel" icon="el-icon-plus" <el-dropdown-item command="excel" icon="el-icon-plus"
>导出Excel</el-dropdown-item >导出Excel</el-dropdown-item
> >
<el-dropdown-item command="csv" icon="el-icon-circle-plus" <!-- <el-dropdown-item command="csv" icon="el-icon-circle-plus"
>导出Csv</el-dropdown-item >导出Csv</el-dropdown-item
> > -->
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-input <el-input

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

@ -22,7 +22,7 @@
type="warning" type="warning"
icon="el-icon-plus" icon="el-icon-plus"
@click="handleCreate" @click="handleCreate"
>生成出库数据 >生成出库
</el-button> </el-button>
<el-button <el-button
class="filter-item" class="filter-item"
@ -32,10 +32,10 @@
@click="handleDownload()" @click="handleDownload()"
>导出Excel >导出Excel
</el-button> </el-button>
<!-- @change="SelectType" -->
<el-select <el-select
v-model="selectType" v-model="selectType"
@change="SelectType"
placeholder="请选择出库类型" placeholder="请选择出库类型"
style="width: 200px; margin-left: 8px" style="width: 200px; margin-left: 8px"
> >
@ -62,24 +62,57 @@
value="一轿手工出库(备件)" value="一轿手工出库(备件)"
></el-option> ></el-option>
</el-select> </el-select>
<!-- @change="selectState" -->
<!-- <el-select <el-select
v-model="listQuery.state" v-model="listQuery.state"
@change="selectState" placeholder="选择状态"
placeholder="请选择过滤状态" style="width: 100px; margin-left: 8px"
style="width: 200px; margin-left: 8px"
> >
<el-option label="新建" :value="0"></el-option> <el-option label="新建" :value="0"></el-option>
<el-option label="已申请" :value="1"></el-option> <el-option label="已申请" :value="1"></el-option>
<el-option label="成功" :value="2"></el-option> <el-option label="成功" :value="2"></el-option>
<el-option label="失败" :value="3"></el-option> <el-option label="失败" :value="3"></el-option>
</el-select> --> </el-select>
<el-select
v-model="listQuery.client"
placeholder="选择客户"
style="width: 100px; margin-left: 8px"
>
<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.materialGroup"
size="medium"
multiple
filterable
clearable
style="width: 280px; margin-right: 15px"
@change="valueChange"
placeholder="请选择"
>
<el-option
v-for="item in materialGroupList"
:key="item.value"
:label="item.value"
:value="item.value"
>
<span style="float: left">{{ item.label }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{
item.value
}}</span>
</el-option>
</el-select>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
size="small" size="small"
placeholder="按照结算单号搜索..." placeholder="结算单号"
style="width: 200px; margin-left: 8px" style="width: 200px; margin-left: 8px"
class="search-container" class="search-container"
@keyup.enter.native="handleFilter" @keyup.enter.native="handleFilter"
@ -100,13 +133,13 @@
>同步到SAP >同步到SAP
</el-button> </el-button>
<!--表格头组件filter查询--> <!--表格头组件filter查询-->
<c-r-m-table-head <!-- <c-r-m-table-head
ref="crmTableHead" ref="crmTableHead"
:crm-type="crmType" :crm-type="crmType"
@handle="handleHandle" @handle="handleHandle"
@filter="handleFilters" @filter="handleFilters"
> >
</c-r-m-table-head> </c-r-m-table-head> -->
</flexbox> </flexbox>
<!--表格渲染--> <!--表格渲染-->
<el-table <el-table
@ -215,22 +248,6 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<!-- <el-row>
<el-col :md="4" :xs="24">
<el-form-item label="过账日期" required />
</el-col>
<el-col :md="20" :xs="24">
<el-form-item prop="dataValue">
<el-date-picker
v-model="dataValue"
style="width: 188px"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
/>
</el-form-item>
</el-col>
</el-row> -->
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="text" @click="dialogFormVisible = false" <el-button type="text" @click="dialogFormVisible = false"
@ -272,7 +289,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :md="4" :xs="24">
<el-form-item label="出库类型" required /> <el-form-item label="出库类型" required />
</el-col> </el-col>
<el-col :md="8" :xs="24"> <el-col :md="8" :xs="24">
@ -429,6 +446,9 @@ export default {
state: undefined, state: undefined,
accountDate: undefined, accountDate: undefined,
type: "", type: "",
materialGroup: "",
client: "",
billNum: "",
}, },
listExportQuery: { listExportQuery: {
Filters: [ Filters: [
@ -447,6 +467,8 @@ export default {
userId: "", userId: "",
accountDate: undefined, accountDate: undefined,
}, },
materialGroupList: [],
getmaterialGroupValue: "",
page: 1, page: 1,
dialogFormVisible: false, dialogFormVisible: false,
dialogAccounDateVisible: false, dialogAccounDateVisible: false,
@ -469,6 +491,7 @@ export default {
// //
this.getAllVersionList(); this.getAllVersionList();
this.getJobVersionInfo(); this.getJobVersionInfo();
this.getMaterialGroup();
if (this.versionList == []) { if (this.versionList == []) {
this.getList(); this.getList();
} }
@ -536,6 +559,36 @@ export default {
}, },
}, },
methods: { methods: {
valueChange(data) {
this.getmaterialGroupValue = "";
this.getmaterialGroupValue += data + ",";
this.getmaterialGroupValue = this.getmaterialGroupValue.substring(
0,
this.getmaterialGroupValue.length - 1
);
},
//
getMaterialGroup() {
this.$axios
.posts("/api/settleaccount/CodeSetting/list", {
project: "物料组",
maxResultCount: 1000,
skipCount: 0,
sorting: "value ascending",
})
.then((response) => {
this.materialGroupList = [];
response.items.forEach((element) => {
let options = {};
options.value = element.description;
options.label = element.value;
this.materialGroupList.push(options);
});
})
.catch(() => {
this.listLoading = false;
});
},
// //
JobVersionValue(params) { JobVersionValue(params) {
// //
@ -827,18 +880,21 @@ export default {
/** 筛选操作 */ /** 筛选操作 */
handleFilter() { handleFilter() {
this.page = 1; this.page = 1;
this.getList(); // this.getList();
this.listQuery.Filters = []; // this.listQuery.Filters = [];
if (this.searchContent != "") { // if (this.searchContent != "") {
var column = "billNum"; // var column = "billNum";
let filter = { // let filter = {
logic: 0, // logic: 0,
column: column, // column: column,
action: 0, // action: 0,
value: this.searchContent, // value: this.searchContent,
}; // };
this.listQuery.Filters.push(filter); // this.listQuery.Filters.push(filter);
} // }
this.listQuery.billNum = this.searchContent; //
this.listQuery.materialGroup = this.getmaterialGroupValue; //7
this.listQuery.type = this.selectType; //
this.getList(); this.getList();
}, },
/** 多项筛选操作 */ /** 多项筛选操作 */

22
vue/src/views/ux/vw/dataInput/hq_h_sparepart/index.vue

@ -1158,27 +1158,7 @@ export default {
this.listLoading = false; this.listLoading = false;
}); });
}, },
//
// getMaterialGroup() {
// this.$axios
// .posts("/api/settleaccount/CodeSetting/list", {
// project: "",
// maxResultCount: 1000,
// skipCount: 0,
// })
// .then((response) => {
// this.materialGroupList = [];
// response.items.forEach((element) => {
// let options = {};
// options.value = element.description;
// options.label = element.value;
// this.materialGroupList.push(options);
// });
// })
// .catch(() => {
// this.listLoading = false;
// });
// },
// //
getMaterialGroup() { getMaterialGroup() {
this.$axios this.$axios

Loading…
Cancel
Save