diff --git a/src/views/distribution/inventory/distributionStockList.vue b/src/views/distribution/inventory/distributionStockList.vue index 20c88585..487f5534 100644 --- a/src/views/distribution/inventory/distributionStockList.vue +++ b/src/views/distribution/inventory/distributionStockList.vue @@ -72,7 +72,7 @@ - +
勾选数量: {{ selectionList.length }}
@@ -1090,6 +1090,7 @@ export default { query: { marketId: row.row.marketId, materialId: row.row.materialId, + incomingBatch: row.row.incomingBatch, name: row.row.descriptionGoods + ' — 明细', }, }); @@ -1286,6 +1287,6 @@ export default { .el-fy { flex: 1; display: flex; -align-items: flex-end; + align-items: flex-end; } diff --git a/src/views/distribution/inventory/distributionStockListDetails.vue b/src/views/distribution/inventory/distributionStockListDetails.vue index 23b7b1ed..ebd1af5d 100644 --- a/src/views/distribution/inventory/distributionStockListDetails.vue +++ b/src/views/distribution/inventory/distributionStockListDetails.vue @@ -129,7 +129,9 @@
- 导 出 + 导 出 { + stockInfoExport(row).then(res => { console.log(res.data); downloadXls(res.data, `${this.$route.query.name}库存品入库明细数据.xlsx`); }); - }, - + inputsc() {}, + timesc() {}, + btnsc() {}, + selectsc() {}, handleClick(tab, event) { console.log(tab, event); console.log(tab.props.name); @@ -790,7 +797,9 @@ export default { this.query.serviceType = this.queryOwn.serviceType; this.query.materialId = this.queryOwn.materialId; this.query.warehouseId = this.queryOwn.warehouseId; - this.query.storeId = !!this.queryOwn.storeId && this.queryOwn.storeId != '-1' ? this.queryOwn.storeId : null; + this.query.incomingBatch = this.$route.query.incomingBatch; + this.query.storeId = + !!this.queryOwn.storeId && this.queryOwn.storeId != '-1' ? this.queryOwn.storeId : null; if (!!this.queryOwn.pid) { this.query.pid = this.queryOwn.pid; } diff --git a/src/views/distribution/reservation/reservationAddFrom.vue b/src/views/distribution/reservation/reservationAddFrom.vue index 1d576f98..b8949ba3 100644 --- a/src/views/distribution/reservation/reservationAddFrom.vue +++ b/src/views/distribution/reservation/reservationAddFrom.vue @@ -1067,7 +1067,7 @@ export default { label: '订单自编号', type: 2, values: '', - width: '150', + width: '260', checkarr: [], fixed: false, sortable: true, @@ -2639,7 +2639,7 @@ export default { onSubmitOrder() { console.log('orderList-------------》', this.orderList); if (this.orderList.length === 0) return this.$message.warning('最少选择一条数据!!!'); - const list = this.orderList; + const list = [...this.orderList, ...this.orderData]; let _name = list[0].customerName; let _address = list[0].customerAddress; let _phone = list[0].customerTelephone; @@ -2678,7 +2678,6 @@ export default { ...this.orderData, ...this.orderList.filter(item => !_ids.includes(item.id)), ]; - this.orderShow = false; }, selectionClear() { @@ -2806,9 +2805,8 @@ export default { Object.assign(params, this.query) ); const { records, total } = res.data.data; - const _filterArr = records - - // this.stockArticleInfo = records; + + this.stockArticleInfo = records; console.log('this.stockArticleInfo :>> ', this.stockArticleInfo); this.stockArticleInfo.forEach((item, index) => { //检查订单是否冻结 @@ -2817,7 +2815,7 @@ export default { }); if (this.orderData.length !== 0) { const ids = this.orderData.map(val => val.id); - const _orderData = this.stockArticleInfo.filter(val => !ids.includes(val.id)); + this.stockArticleInfo = this.stockArticleInfo.filter(val => !ids.includes(val.id)); // this.orderSelectList = this.stockArticleInfo.filter(val => ids.includes(val.id)); console.log('orderSelectList :>> ', this.orderSelectList); }