diff --git a/src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue b/src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue index c114eba0..6d19ebcc 100644 --- a/src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue +++ b/src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue @@ -48,9 +48,6 @@ 开始提货 - - 取消提货 - 提货完成 @@ -63,6 +60,9 @@ 取消结算 + + 取消提货 + @@ -1195,7 +1195,18 @@ export default { if (this.selectionList.length > 1) return this.$message.error('暂时只支持单条数据操作'); - this.$confirm('确定将选择数据提货完成?', { + let content = ''; + + const contentObj = { + 1: '确认开始提货', + 2: '确认提货完成', + 3: '确认取消完成提货', + 4: '确认结算', + 5: '确认取消结算', + 6: '确认取消提货', + }; + + this.$confirm(contentObj[type], { confirmButtonText: '确定', cancelButtonText: '取消', type: 'success', diff --git a/src/views/distribution/inventory/arteryDistrilbutionBillLadingListDetails.vue b/src/views/distribution/inventory/arteryDistrilbutionBillLadingListDetails.vue index 72196750..f2fb8a32 100644 --- a/src/views/distribution/inventory/arteryDistrilbutionBillLadingListDetails.vue +++ b/src/views/distribution/inventory/arteryDistrilbutionBillLadingListDetails.vue @@ -259,7 +259,7 @@ export default { return { columnList: [ { - prop: 'reservationCode', + prop: '', label: '序号', type: 12, values: '', @@ -269,7 +269,7 @@ export default { head: false, }, { - prop: 'reservationCode', + prop: 'billadingCode', label: '提货批次', type: 2, values: '', @@ -280,7 +280,7 @@ export default { head: false, }, { - prop: 'trainNumber', + prop: 'waybillNo', label: '运单号', type: 13, values: '', @@ -291,7 +291,7 @@ export default { head: false, }, { - prop: 'mallName', + prop: 'createTime', label: '开单日期', type: 4, values: '', @@ -302,7 +302,7 @@ export default { head: false, }, { - prop: 'consignee', + prop: 'goodsName', label: '货物名称', type: 2, values: '', @@ -312,7 +312,7 @@ export default { sortable: true, }, { - prop: 'deliveryPhone', + prop: 'realNum', label: '提货件数', type: 10, values: '', @@ -323,7 +323,7 @@ export default { isshowSummary: true, }, { - prop: 'deliveryAddress', + prop: 'realWeight', label: '提货重量', type: 10, values: '', @@ -334,7 +334,7 @@ export default { isshowSummary: true, }, { - prop: 'receivingUnit', + prop: 'realVolume', label: '提货体积', type: 10, values: '', @@ -501,16 +501,19 @@ export default { data: [], }; }, - watch: { - '$route.data': { - handler(newVal, oldVal) { - console.log(newVal, oldVal); - this.onLoad(this.page); - }, - deep: true, - immediate: true, - }, - }, + // watch: { + // '$route.data': { + // handler(newVal, oldVal) { + // // if ($route.fullpath.indexOf('/delivery/delivery') > -1 + // console.log('this.$route :>> ', this.$route); + + // console.log(newVal, oldVal); + // this.onLoad(this.page); + // }, + // deep: true, + // immediate: true, + // }, + // }, mounted() { var bodyContent = document.querySelectorAll('.maboxhi'); bodyContent.forEach(val => { @@ -519,6 +522,7 @@ export default { }); }, created() { + this.onLoad(this.page); // //查询字典 // this.queryDictionary(); }, diff --git a/src/views/distribution/inventory/delivery/distributionStockArticle.vue b/src/views/distribution/inventory/delivery/distributionStockArticle.vue index 5631a170..529b4cf3 100644 --- a/src/views/distribution/inventory/delivery/distributionStockArticle.vue +++ b/src/views/distribution/inventory/delivery/distributionStockArticle.vue @@ -441,6 +441,8 @@ import { exportBlob } from '@/api/common'; import { getToken } from '@/utils/auth'; import { downloadXls } from '@/utils/util'; import { columnList } from '@/option/distribution/distributionStockArticleSelf'; +import { deepClone } from '@/utils/util.js'; +const _newCol = deepClone(columnList); export default { data() { @@ -472,7 +474,7 @@ export default { }, ], }, - columnList, + columnList: _newCol, // columnList: [ // { // prop: '', diff --git a/src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue b/src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue index 182f44a7..55979501 100644 --- a/src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue +++ b/src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue @@ -392,11 +392,13 @@ import { getDictionaryBiz } from '@/api/system/dict'; import dayjs from 'dayjs'; import { downloadXls } from '@/utils/util'; import { columnList } from '@/option/distribution/distributionStockArticleSelf'; +import { deepClone } from '@/utils/util.js'; +const _newCol = deepClone(columnList); export default { data() { return { - columnList, + columnList: _newCol, columnListedit: [], drawerShow: false, height: 0, diff --git a/src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue b/src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue index b50526e3..64fdbcbd 100644 --- a/src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue +++ b/src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue @@ -419,11 +419,13 @@ import { getDictionaryBiz } from '@/api/system/dict'; import dayjs from 'dayjs'; import { downloadXls } from '@/utils/util'; import { columnList } from '@/option/distribution/distributionStockArticleSelf'; +import { deepClone } from '@/utils/util.js'; +const _newCol = deepClone(columnList); export default { data() { return { - columnList, + columnList:_newCol, columnListedit: [], drawerShow: false, height: 0, diff --git a/src/views/distribution/inventory/delivery/distributionStockArticleSelf.vue b/src/views/distribution/inventory/delivery/distributionStockArticleSelf.vue index 42e3cd05..3585be53 100644 --- a/src/views/distribution/inventory/delivery/distributionStockArticleSelf.vue +++ b/src/views/distribution/inventory/delivery/distributionStockArticleSelf.vue @@ -526,11 +526,13 @@ import dayjs from 'dayjs'; import { getListMaterial } from '@/api/basic/basicMaterial'; import { downloadXls } from '@/utils/util'; import { columnList } from '@/option/distribution/distributionStockArticleSelf'; +import { deepClone } from '@/utils/util.js'; +const _newCol = deepClone(columnList); export default { data() { return { - columnList, + columnList: _newCol, columnListedit: [], drawerShow: false, diff --git a/src/views/distribution/turndelivery/deliveryDiscuss.vue b/src/views/distribution/turndelivery/deliveryDiscuss.vue index 9f678af4..db16fce3 100644 --- a/src/views/distribution/turndelivery/deliveryDiscuss.vue +++ b/src/views/distribution/turndelivery/deliveryDiscuss.vue @@ -327,7 +327,7 @@ ? 'static-class' : '' " - >{{ props.row[item.prop]!=null ? props.row[item.prop] : '/' }}{{ props.row[item.prop] != null ? props.row[item.prop] : '/' }} @@ -404,15 +404,21 @@
- 已选择:{{dataInfo.length}}条 - + 已选择:{{ dataInfo.length }}条 +
合计: - 订单总件数: {{Totalnumberoforders}} - - 在库总件数: {{Totalnumberofitemsinstock}} -
-
+ 订单总件数: + {{ Totalnumberoforders }} + + + 在库总件数: + {{ Totalnumberofitemsinstock }} +
+