仓库问题修改

dev-scheduling
zhangdi 3 weeks ago
parent 5a15020e04
commit f52a79c63e
  1. 2
      src/views/inboundOutboundManagement/glassCakeOutbound/index.vue
  2. 2
      src/views/inboundOutboundManagement/graphiteMoldOutbound/index.vue
  3. 62
      src/views/orderManagement/urgentUphold.vue

@ -211,7 +211,7 @@ export default {
}, },
{ {
label: '批次号', label: '批次号',
prop: 'batchCode', prop: 'piNo',
search: false, search: false,
width: 150, width: 150,
}, },

@ -428,7 +428,7 @@ export default {
// //
handleScrap(row) { handleScrap(row) {
this.rowItem = row; this.rowItem = row;
this.scrapForm.outboundNum = row.outQty; this.scrapForm.outboundNum = row.outedQuantity;
this.scrapForm.rlsId = row.rlsId; this.scrapForm.rlsId = row.rlsId;
this.scrapForm.woCode = row.woCode; this.scrapForm.woCode = row.woCode;
this.scarpTitle = `${row.goodsName}】物料报废需工艺员审批,审批通过后可出库`; this.scarpTitle = `${row.goodsName}】物料报废需工艺员审批,审批通过后可出库`;

@ -7,7 +7,6 @@
v-model="form" v-model="form"
v-model:page="page" v-model:page="page"
ref="crud" ref="crud"
@row-del="rowDel"
@search-change="searchChange" @search-change="searchChange"
@search-reset="searchReset" @search-reset="searchReset"
@selection-change="selectionChange" @selection-change="selectionChange"
@ -128,6 +127,10 @@ export default {
type: 'date', // type: 'date', //
format: 'YYYY-MM-DD', // format: 'YYYY-MM-DD', //
valueFormat: 'YYYY-MM-DD', // valueFormat: 'YYYY-MM-DD', //
startPlaceholder: '开始时间',
endPlaceholder: '结束时间',
searchRange: true,
searchOrder:20,
}, },
{ {
label: '到期日期', label: '到期日期',
@ -213,56 +216,6 @@ export default {
// return removePersonAbility(row.id); // return removePersonAbility(row.id);
}); });
}, },
rowSave(row, done, loading) {
// addPersonAbility(row).then(
// () => {
// this.onLoad(this.page);
// this.$message({
// type: 'success',
// message: '!',
// });
// done();
// },
// error => {
// window.console.log(error);
// loading();
// }
// );
},
rowUpdate(row, index, done, loading) {
// updatePersonAbility(row).then(
// () => {
// this.onLoad(this.page);
// this.$message({
// type: 'success',
// message: '!',
// });
// done();
// },
// error => {
// window.console.log(error);
// loading();
// }
// );
},
rowDel(row) {
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
})
.then(() => {
// return removePersonAbility(row.id);
})
.then(() => {
this.onLoad(this.page);
this.$message({
type: 'success',
message: '操作成功!',
});
});
},
searchReset() { searchReset() {
this.query = {}; this.query = {};
this.onLoad(this.page); this.onLoad(this.page);
@ -288,11 +241,16 @@ export default {
this.page.pageSize = pageSize; this.page.pageSize = pageSize;
}, },
refreshChange() { refreshChange() {
this.onLoad(this.page, this.query); this.onLoad(this.page, this.query);s
}, },
onLoad(page, params = {}) { onLoad(page, params = {}) {
this.loading = true; this.loading = true;
if (!!params.requireDate) {
this.query.requireDateStart = params.requireDate[0] + ' 00:00:00';
this.query.requireDateEnd = params.requireDate[1] + ' 23:59:59';
delete params.requireDate;
}
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
this.data = res.data.data.records; this.data = res.data.data.records;
this.loading = false; this.loading = false;

Loading…
Cancel
Save