8/29 损耗日志

20240912_adapter_z
wangwei 11 months ago
parent 618c85e722
commit 423ed6c527

@ -0,0 +1,18 @@
import axios from '@/utils/request'
export function desOrderPage(query) {
return axios({
url: "/udiwms/basic/collect/desOrder/filter",
method: "get",
params: query
});
}
export function getBizDetailList(query) {
return axios({
url: "/udiwms/basic/collect/desOrder/detail",
method: "get",
params: query
});
}

@ -72,9 +72,15 @@
<el-divider style="margin: 15px"></el-divider>
<el-table :data="erpList" style="width: 100%" highlight-current-row="true" border
<el-table :data="erpList" style="width: 100%" highlight-current-row="true" border ref="multipleTable" @row-click="handleRowClick"
v-loading="erpLloading" @current-change="handleErpChange" @selection-change="handleSelectionChange">
<el-table-column v-if="isImport" type="selection" width="55"></el-table-column>
<el-table-column v-if="isImport" type="selection" width="55" ></el-table-column>
<el-table-column label width="45" v-if="!isImport">
<template slot-scope="scope">
<el-radio :label="scope.row.id" v-model="chenck"><span></span></el-radio>
</template>
</el-table-column>
<!--<el-table-column v-if="!isImport" type="selection" width="55"></el-table-column>-->
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="物资编码" prop="code"></el-table-column>
<el-table-column label="物资名称" prop="name"></el-table-column>
@ -298,6 +304,7 @@ export default {
multipleUdiSelection: [],
thirdSys: [],
thirdSysFk: null,
chenck: '',
};
},
methods: {
@ -337,8 +344,15 @@ export default {
this.unionQuery.page = val;
this.getList();
},
handleErpChange(val) {
handleErpChange(val,currentRow, oldCurrentRow) {
if (!this.isImport){
this.chenck = val.id
this.currentRow = val;
}
},
handleRowClick(row){
row.isSelected = !row.isSelected;
this.$refs.multipleTable.toggleRowSelection(row);
},
hideSearch() {
this.showSearch = !this.showSearch;
@ -581,10 +595,6 @@ export default {
},
created() {
console.log("jjjjj",this.data)
if (this.data != null){
this.data.spec = this.data.bzgg
}
this.getBasicThirdSys();
this.erpQuery.code = this.intentThirdId;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save