1.修复部分bug

purchase
x_z 3 years ago
parent 5fe9c76d1b
commit e062765db5

@ -504,7 +504,7 @@ export default {
this.getList();
},
detailHandleCurrentChange(val) {
this.query.page = val;
this.detailQuery.page = val;
this.getStockOrderDetailList();
},
//

@ -634,6 +634,7 @@ export default {
};
this.getList();
this.detailList = [];
this.detailTotal = 0;
this.haveDistributionVisible = false;
this.actDateRange = [];
},
@ -658,7 +659,7 @@ export default {
this.getList();
},
detailHandleCurrentChange(val) {
this.query.page = val;
this.detailQuery.page = val;
this.getStockOrderDetailList();
},
//

@ -613,7 +613,7 @@ export default {
this.getList();
},
detailHandleCurrentChange(val) {
this.query.page = val;
this.detailQuery.page = val;
this.getStockOrderDetailList();
},
//

@ -8,10 +8,12 @@
<el-form-item>
<el-button-group>
<el-button type="primary" icon="search" @click="onSubmit"
>查询</el-button
>查询
</el-button
>
<el-button type="primary" icon="search" @click="deleteDialog"
>删除</el-button
>删除
</el-button
>
</el-button-group>
</el-form-item>
@ -34,7 +36,7 @@
width="220"
show-overflow-tooltip
></el-table-column>
<el-table-column label="创建时间" prop="actDate" >
<el-table-column label="创建时间" prop="actDate">
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span>{{ scope.row.actDate }}</span>
@ -59,7 +61,7 @@ import {
deleteCodes,
} from "../../api/inout/order";
import draggable from "vuedraggable";
import { saveAs } from "file-saver";
import {saveAs} from "file-saver";
export default {
name: "idQuery",
@ -126,6 +128,10 @@ export default {
},
deleteDialog() {
if (this.multipleSelection.length < 1) {
this.$message.error("请选择需要删除的条码!")
return;
}
this.$confirm("是否删除所选条码?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
@ -134,12 +140,12 @@ export default {
.then(() => {
this.onDelete();
})
.catch(() => {});
.catch(() => {
});
},
onDelete() {
var selectData = this.multipleSelection;
var codeList = [];
selectData.forEach((obj, index) => {
codeList.push(obj.id);

@ -121,6 +121,8 @@
:visible.sync="codeDetailVisible"
width="85%"
v-if="codeDetailVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
>
<codeDetail
:idQuery="idQuery"

@ -517,7 +517,6 @@ export default {
});
},
storageChange(row) {
console.log(row);
this.formData.corpId = row.code;
this.formData.corpName = row.name;
},
@ -565,7 +564,6 @@ export default {
tQuery.editStatus = status;
tQuery.subErpOrders = this.codeArray;
// tQuery.billType = this.formData.bi;
console.log(tQuery);
inserThrOrderWeb(tQuery)
.then(response => {
this.loading = false;
@ -631,7 +629,6 @@ export default {
rData.forEach((obj, index) => {
this.codeArray.unshift(obj);
});
console.log(this.codeArray);
this.$refs.multipleTable.setCurrentRow(this.codeArray[0]);
this.currentRow = this.codeArray[0];
this.selectedIndex = 0;
@ -855,7 +852,6 @@ export default {
this.loading = true;
getThrOrderDetails(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
@ -889,7 +885,6 @@ export default {
this.formData.unitIdFk = event.erpId;
},
findMethod(query) {
console.log(query);
this.fromOptions = [];
let cQuery = {
key: query,
@ -932,7 +927,6 @@ export default {
}
},
actionChange(item) {
console.log(item);
this.curAction = this.getActionItem(item);
this.locInChange();
this.findMethod();

Loading…
Cancel
Save