diff --git a/src/api/distribution/addTripartiteTransfer.js b/src/api/distribution/addTripartiteTransfer.js index 73e3d915..94cc84e6 100644 --- a/src/api/distribution/addTripartiteTransfer.js +++ b/src/api/distribution/addTripartiteTransfer.js @@ -67,7 +67,7 @@ export const postSaveNewTripartiteTransfer = data => { }; /** - * 新增配载计划 + * 编辑配载计划 */ export const postUpdateTripartiteTransfer = data => { return request({ diff --git a/src/views/distribution/artery/addTripartiteTransfer.vue b/src/views/distribution/artery/addTripartiteTransfer.vue index 2d0ba683..f400992b 100644 --- a/src/views/distribution/artery/addTripartiteTransfer.vue +++ b/src/views/distribution/artery/addTripartiteTransfer.vue @@ -1167,6 +1167,7 @@ const back = () => { const addSubmit = async () => { const submitData = { ...form.value, + driverMobile: '11', addCarsLoadLineList: [ { nodeType: '1', @@ -1211,6 +1212,7 @@ const addSubmit = async () => { const editSubmit = async () => { const submitData = { ...form.value, + driverMobile: '11', addCarsLoadLineList: [ { nodeType: '1', diff --git a/src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue b/src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue index 9dd2218b..d81b908a 100644 --- a/src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue +++ b/src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue @@ -168,7 +168,7 @@ @size-change="sizeChange" @current-change="currentChange" :current-page="page.currentPage" - :page-sizes="[30, 50, 80, 120,200]" + :page-sizes="[30, 50, 80, 120, 200]" :page-size="page.pageSize" layout="total, sizes, prev, pager, next, jumper" :total="page.total" @@ -467,18 +467,19 @@ import { getObjType, handleClearTableQuery, handleSelectQuery, + handleTranslationDataSeclect, } from '@/utils/util'; import { columnList } from '@/option/distribution/distributionStockArticleSelf'; import { deepClone, hanleTextLineFeed } from '@/utils/util.js'; import { ElMessage, ElMessageBox } from 'element-plus'; const _newCol = deepClone(columnList); -for (let i = 0; i < _newCol.length; i++) { - const val = _newCol[i]; +// for (let i = 0; i < _newCol.length; i++) { +// const val = _newCol[i]; - if (val.label !== '超时状态') continue; - _newCol.splice(i, 1); - break; -} +// if (val.label !== '超时状态') continue; +// _newCol.splice(i, 1); +// break; +// } export default { data() { return { @@ -1297,10 +1298,9 @@ export default { item.transferQuantity = nuMap[item.transferQuantity] || item.transferQuantity; item.availableQuantity = nuMap[item.availableQuantity] || item.availableQuantity; item.notReceived = parseInt(item.totalNumber) - parseInt(item.incomingNum); - item.isZeroName = Number(item.isZero) === 0 ? '否' : '是'; - - item.completeSetName = Number(item.completeSet) === 2 ? '已齐套' : '未齐套'; } + + handleTranslationDataSeclect(this.data, this.columnList); this.selectionClear(); } catch (error) { console.log('error :>> ', error);