Browse Source

修改标题

wms3.0_pda
lijuncheng 12 months ago
parent
commit
3fee180576
  1. 2
      pages/count/job/countDetail.vue
  2. 2
      pages/customerReturn/job/returnDetail.vue
  3. 7
      pages/customerReturn/record/returnRecord.vue
  4. 2
      pages/customerReturn/request/customerReturnRequestDetail.vue
  5. 2
      pages/deliver/job/deliverDetail.vue
  6. 5
      pages/deliver/record/deliverRecord.vue
  7. 2
      pages/deliver/request/deliverRequestDetail.vue
  8. 8
      pages/inspect/coms/inspectComDetailCard.vue
  9. 10
      pages/inspect/job/inspectDetail.vue
  10. 1
      pages/inspect/request/inspectRequest.vue
  11. 2
      pages/inspect/request/inspectRequestDetail.vue
  12. 1
      pages/inventoryMove/job/inventoryMoveJob.vue
  13. 2
      pages/issue/record/issueRecord.vue
  14. 2
      pages/productPutaway/job/productPutawayDetail.vue
  15. 2
      pages/productPutaway/request/putawayRequestDetail.vue
  16. 2
      pages/productReceipt/job/productReceiptDetail.vue
  17. 2
      pages/productionReturn/job/returnDetail.vue
  18. 2
      pages/productionReturn/request/requestDetail.vue
  19. 1
      pages/purchaseReceipt/job/receiptDetail.vue
  20. 1
      pages/purchaseReturn/job/returnDetail.vue
  21. 6
      pages/purchaseReturn/record/returnRecord.vue
  22. 2
      pages/purchaseReturn/request/returnRequestDetail.vue
  23. 2
      pages/putaway/job/putawayDetail.vue
  24. 5
      pages/putaway/record/putawayRecord.vue
  25. 2
      pages/putaway/request/putawayRequestDetail.vue
  26. 2
      pages/repleinsh/job/repleinshDetail.vue
  27. 5
      pages/repleinsh/record/repleinshRecord.vue
  28. 5
      pages/scrap/record/scrapRecord.vue
  29. 2
      pages/scrap/request/scrapRequestDetail.vue
  30. 2
      pages/transfer/job/transferDetail.vue
  31. 2
      pages/unPlanned/job/receiptJobDetail.vue
  32. 10
      pages/unPlanned/record/issueRecord.vue
  33. 10
      pages/unPlanned/record/receiptRecord.vue
  34. 2
      pages/unPlanned/request/issueRequestDetail.vue
  35. 2
      pages/unPlanned/request/receiptRequestDetail.vue

2
pages/count/job/countDetail.vue

@ -47,7 +47,6 @@
import { import {
goHome, goHome,
updateTitle,
getPackingNumberAndBatch getPackingNumberAndBatch
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -164,7 +163,6 @@
that.fromLocationCode = that.jobContent.locationCode; that.fromLocationCode = that.jobContent.locationCode;
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailSource = that.getDataSource(that.detailList) that.detailSource = that.getDataSource(that.detailList)
updateTitle(that.jobContent.number);
} else { } else {
that.showErrorMessage('列表数据为0'); that.showErrorMessage('列表数据为0');
} }

2
pages/customerReturn/job/returnDetail.vue

@ -52,7 +52,6 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName, getInventoryStatusName,
@ -181,7 +180,6 @@
that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes) that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes)
that.getLocationInfo(that.toLocationCode); that.getLocationInfo(that.toLocationCode);
updateTitle(that.jobContent.number)
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

7
pages/customerReturn/record/returnRecord.vue

@ -51,7 +51,8 @@
getDirectoryItemArray getDirectoryItemArray
} from '@/common/directory.js'; } from '@/common/directory.js';
import { import {
goHome goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -95,9 +96,6 @@
detailList: [], //details detailList: [], //details
detailSource: [], // detailSource: [], //
scrollTop: 0, scrollTop: 0,
old: {
scrollTop: 0
},
locationTypeList: [], locationTypeList: [],
toLocationInfo: {}, toLocationInfo: {},
businessType: {}, businessType: {},
@ -116,6 +114,7 @@
}, },
onLoad(option) { onLoad(option) {
this.fromType = option.fromType this.fromType = option.fromType
if(this.fromType=="requestType"){ updateTitle("客户退货申请") }else { updateTitle("客户退货记录") }
var typeCode = "Customerreturn" var typeCode = "Customerreturn"
getBusinessType(typeCode, res => { getBusinessType(typeCode, res => {
if (res.success) { if (res.success) {

2
pages/customerReturn/request/customerReturnRequestDetail.vue

@ -26,7 +26,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -88,7 +87,6 @@
that.requestContent = res.data; that.requestContent = res.data;
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/deliver/job/deliverDetail.vue

@ -58,7 +58,6 @@
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch getPackingNumberAndBatch
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -180,7 +179,6 @@
that.tolocationTypeList = getLocationTypeArray(that.jobContent.toLocationTypes) that.tolocationTypeList = getLocationTypeArray(that.jobContent.toLocationTypes)
that.detailSource = getDataSource(that.detailList) that.detailSource = getDataSource(that.detailList)
that.getLocationInfo(that.toLocationCode); that.getLocationInfo(that.toLocationCode);
updateTitle(that.jobContent.number)
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

5
pages/deliver/record/deliverRecord.vue

@ -56,6 +56,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
updateTitle,
getInventoryStatusDesc, getInventoryStatusDesc,
getDirectoryItemArray getDirectoryItemArray
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -100,9 +101,6 @@
detailList: [], //details detailList: [], //details
detailSource: [], // detailSource: [], //
scrollTop: 0, scrollTop: 0,
old: {
scrollTop: 0
},
locationTypeList: [], locationTypeList: [],
toLocationInfo: {}, toLocationInfo: {},
businessTypeInfo: {}, businessTypeInfo: {},
@ -124,6 +122,7 @@
}, },
onLoad(option) { onLoad(option) {
this.fromType = option.fromType this.fromType = option.fromType
if(this.fromType=="requestType"){ updateTitle("制品发货申请") }else { updateTitle("制品发货记录") }
var typeCode = "Deliver" var typeCode = "Deliver"
getBusinessType(typeCode, res => { getBusinessType(typeCode, res => {
if (res.success) { if (res.success) {

2
pages/deliver/request/deliverRequestDetail.vue

@ -25,7 +25,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -90,7 +89,6 @@
res.fromLocationCode = res.toLocationCode res.fromLocationCode = res.toLocationCode
}) })
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

8
pages/inspect/coms/inspectComDetailCard.vue

@ -16,7 +16,7 @@
:right-options="item.scaned?scanOptions:detailOptions"> :right-options="item.scaned?scanOptions:detailOptions">
<recommend :detail="item" :record="item.record" :isShowPack="isShowPack" <recommend :detail="item" :record="item.record" :isShowPack="isShowPack"
:isShowBatch="isShowBatch" :isShowLocation="isShowLocation"></recommend> :isShowBatch="isShowBatch" :isShowLocation="isShowLocation"></recommend>
<view :class="item.scaned?'scan_view':''" style="font-size: 32rpx;padding-left: 3rpx;"> <view v-if="item.failedQty>0||item.crackQty>0" :class="item.scaned?'scan_view':''" style="font-size: 32rpx;padding-left: 3rpx;">
<view class="" > <view class="" >
不合格数量 {{item.failedQty}} 不合格数量 {{item.failedQty}}
</view> </view>
@ -149,6 +149,7 @@
item.notPassedQty = 0; item.notPassedQty = 0;
item.inspectResult ="" item.inspectResult =""
item.failedReason ="" item.failedReason =""
item.photos =""
this.$forceUpdate() this.$forceUpdate()
this.$emit('remove', item) this.$emit('remove', item)
} }
@ -159,6 +160,11 @@
}, },
getInspectResult(result){ getInspectResult(result){
this.dataContent.details[this.editIndex]= result; this.dataContent.details[this.editIndex]= result;
if (this.$refs.collapse1 != undefined) {
this.$nextTick(res => {
this.$refs.collapse1.resize()
})
}
this.$emit('updateData',) this.$emit('updateData',)
} }

10
pages/inspect/job/inspectDetail.vue

@ -83,10 +83,6 @@
jobContent: {}, // jobContent: {}, //
detailList: [], //details detailList: [], //details
detailSource: [], // detailSource: [], //
scrollTop: 0,
old: {
scrollTop: 0
},
toLocationInfo: {}, toLocationInfo: {},
businessTypeInfo: {}, businessTypeInfo: {},
locationTypeList: [], locationTypeList: [],
@ -177,6 +173,7 @@
that.jobContent = res.data; that.jobContent = res.data;
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailList.forEach(res => { that.detailList.forEach(res => {
res.batch =that.jobContent.batch
res.goodQty = 0; res.goodQty = 0;
res.failedQty = 0; res.failedQty = 0;
res.crackQty = 0; res.crackQty = 0;
@ -401,11 +398,6 @@
}, },
scroll: function(e) {
// console.log(e)
this.old.scrollTop = e.datacontent.scrollTop;
},
closeCommitMessage() { closeCommitMessage() {
setTimeout(() => { setTimeout(() => {
uni.navigateTo({ uni.navigateTo({

1
pages/inspect/request/inspectRequest.vue

@ -180,6 +180,7 @@
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
} }
this.loadingType = ""; this.loadingType = "";
updateTitle("检验单申请");
uni.hideLoading(); uni.hideLoading();
that.showMessage(error) that.showMessage(error)
}) })

2
pages/inspect/request/inspectRequestDetail.vue

@ -36,7 +36,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -102,7 +101,6 @@
// res.packingNumber =res.toPackingNumber // res.packingNumber =res.toPackingNumber
// res.batch =res.fromBatch // res.batch =res.fromBatch
// }) // })
updateTitle(this.jobContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

1
pages/inventoryMove/job/inventoryMoveJob.vue

@ -159,6 +159,7 @@
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
} }
this.loadingType = ""; this.loadingType = "";
updateTitle("库存转移");
uni.hideLoading(); uni.hideLoading();
that.showMessage(error) that.showMessage(error)
}) })

2
pages/issue/record/issueRecord.vue

@ -82,8 +82,8 @@
this.goScan() this.goScan()
}, },
onLoad(option) { onLoad(option) {
debugger
this.fromType = option.fromType this.fromType = option.fromType
if(this.fromType=="requestType"){ updateTitle("发料申请") }else { updateTitle("发料记录") }
}, },
methods: { methods: {
goScan() { goScan() {

2
pages/productPutaway/job/productPutawayDetail.vue

@ -54,7 +54,6 @@
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName, getInventoryStatusName,
@ -179,7 +178,6 @@
that.tolocationTypeList = getLocationTypeArray(that.jobContent.toLocationTypes) that.tolocationTypeList = getLocationTypeArray(that.jobContent.toLocationTypes)
that.detailSource = getDataSource(that.detailList) that.detailSource = getDataSource(that.detailList)
that.getLocationInfo(that.toLocationCode); that.getLocationInfo(that.toLocationCode);
updateTitle(that.jobContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/productPutaway/request/putawayRequestDetail.vue

@ -25,7 +25,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -87,7 +86,6 @@
that.requestContent = res.data; that.requestContent = res.data;
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/productReceipt/job/productReceiptDetail.vue

@ -48,7 +48,6 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -181,7 +180,6 @@
that.fromLocationTypeList = getDirectoryItemArray(that.jobContent.fromLocationTypes); that.fromLocationTypeList = getDirectoryItemArray(that.jobContent.fromLocationTypes);
that.locationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes) that.locationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes)
that.detailSource = getDataSource(that.detailList) that.detailSource = getDataSource(that.detailList)
updateTitle(that.jobContent.number)
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/productionReturn/job/returnDetail.vue

@ -45,7 +45,6 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch getPackingNumberAndBatch
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -184,7 +183,6 @@
that.fromLocationCode = that.detailList[0].fromLocationCode that.fromLocationCode = that.detailList[0].fromLocationCode
that.toLocationCode = that.detailList[0].toLocationCode that.toLocationCode = that.detailList[0].toLocationCode
that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes) that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes)
updateTitle(that.jobContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/productionReturn/request/requestDetail.vue

@ -24,7 +24,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -86,7 +85,6 @@
that.requestContent = res.data; that.requestContent = res.data;
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

1
pages/purchaseReceipt/job/receiptDetail.vue

@ -46,7 +46,6 @@
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
} from '@/common/basic.js'; } from '@/common/basic.js';

1
pages/purchaseReturn/job/returnDetail.vue

@ -54,7 +54,6 @@
goHome, goHome,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
getInventoryStatusName getInventoryStatusName

6
pages/purchaseReturn/record/returnRecord.vue

@ -45,6 +45,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -97,6 +98,11 @@
onLoad(option) { onLoad(option) {
this.fromType = option.fromType this.fromType = option.fromType
if(this.fromType=="requestType"){
updateTitle("采购退货申请")
}else {
updateTitle("采购退货记录")
}
var typeCode = "PurchaseReturn" var typeCode = "PurchaseReturn"
getBusinessType(typeCode, res => { getBusinessType(typeCode, res => {
if (res.success) { if (res.success) {

2
pages/purchaseReturn/request/returnRequestDetail.vue

@ -25,7 +25,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -90,7 +89,6 @@
res.fromLocationCode = res.toLocationCode res.fromLocationCode = res.toLocationCode
}) })
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/putaway/job/putawayDetail.vue

@ -51,7 +51,6 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -181,7 +180,6 @@
that.toLocationCode = that.detailList[0].toLocationCode that.toLocationCode = that.detailList[0].toLocationCode
that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes) that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes)
that.getLocationInfo(that.toLocationCode); that.getLocationInfo(that.toLocationCode);
updateTitle(this.jobContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');

5
pages/putaway/record/putawayRecord.vue

@ -43,6 +43,7 @@
<script> <script>
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
getInventoryStatusDesc, getInventoryStatusDesc,
@ -93,9 +94,6 @@
detailList: [], //details detailList: [], //details
detailSource: [], // detailSource: [], //
scrollTop: 0, scrollTop: 0,
old: {
scrollTop: 0
},
locationTypeList: [], locationTypeList: [],
toLocationInfo: {}, toLocationInfo: {},
businessTypeInfo: {}, businessTypeInfo: {},
@ -115,6 +113,7 @@
}, },
onLoad(option) { onLoad(option) {
this.fromType = option.fromType this.fromType = option.fromType
if(this.fromType=="requestType"){ updateTitle("采购上架申请") }else { updateTitle("采购上架记录") }
var typeCode = "PurchasePutaway" var typeCode = "PurchasePutaway"
getBusinessType(typeCode, res => { getBusinessType(typeCode, res => {
if (res.success) { if (res.success) {

2
pages/putaway/request/putawayRequestDetail.vue

@ -26,7 +26,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -88,7 +87,6 @@
that.requestContent = res.data; that.requestContent = res.data;
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/repleinsh/job/repleinshDetail.vue

@ -52,7 +52,6 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName, getInventoryStatusName,
@ -178,7 +177,6 @@
that.fromLocationCode = that.detailList[0].fromLocationCode that.fromLocationCode = that.detailList[0].fromLocationCode
that.toLocationCode = that.detailList[0].toLocationCode that.toLocationCode = that.detailList[0].toLocationCode
that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes) that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes)
updateTitle(that.jobContent.number);
that.getLocationInfo(that.toLocationCode); that.getLocationInfo(that.toLocationCode);
} else { } else {

5
pages/repleinsh/record/repleinshRecord.vue

@ -43,6 +43,7 @@
<script> <script>
import { import {
goHome, goHome,
updateTitle,
getInventoryStatusDesc, getInventoryStatusDesc,
getDirectoryItemArray getDirectoryItemArray
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -90,9 +91,6 @@
detailList: [], //details detailList: [], //details
detailSource: [], // detailSource: [], //
scrollTop: 0, scrollTop: 0,
old: {
scrollTop: 0
},
locationTypeList: [], locationTypeList: [],
toLocationInfo: {}, toLocationInfo: {},
businessTypeInfo: {}, businessTypeInfo: {},
@ -112,6 +110,7 @@
}, },
onLoad(option) { onLoad(option) {
this.fromType = option.fromType this.fromType = option.fromType
if(this.fromType=="requestType"){ updateTitle("补料申请") }else { updateTitle("补料记录") }
var typeCode = "Repleinment" var typeCode = "Repleinment"
getBusinessType(typeCode, res => { getBusinessType(typeCode, res => {
if (res.success) { if (res.success) {

5
pages/scrap/record/scrapRecord.vue

@ -52,6 +52,7 @@
<script> <script>
import { import {
goHome, goHome,
updateTitle,
getInventoryStatusDesc, getInventoryStatusDesc,
getDirectoryItemArray, getDirectoryItemArray,
getScarpReasonList getScarpReasonList
@ -95,9 +96,6 @@
detailList: [], //details detailList: [], //details
detailSource: [], // detailSource: [], //
scrollTop: 0, scrollTop: 0,
old: {
scrollTop: 0
},
locationTypeList: [], locationTypeList: [],
toLocationInfo: {}, toLocationInfo: {},
businessTypeInfo: {}, businessTypeInfo: {},
@ -117,6 +115,7 @@
}, },
onLoad(option) { onLoad(option) {
this.fromType = option.fromType this.fromType = option.fromType
if(this.fromType=="requestType"){ updateTitle("报废申请") }else { updateTitle("报废记录") }
this.reasonList = getScarpReasonList(); this.reasonList = getScarpReasonList();
var typeCode = "Scrap" var typeCode = "Scrap"
getBusinessType(typeCode, res => { getBusinessType(typeCode, res => {

2
pages/scrap/request/scrapRequestDetail.vue

@ -26,7 +26,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -87,7 +86,6 @@
that.requestContent = res.data; that.requestContent = res.data;
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
}} }}

2
pages/transfer/job/transferDetail.vue

@ -41,7 +41,6 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
updateTitle,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName getInventoryStatusName
@ -166,7 +165,6 @@
that.jobContent = res.data[0]; that.jobContent = res.data[0];
that.detailList = res.data[0].details; that.detailList = res.data[0].details;
that.detailSource = that.getDataSource(that.detailList) that.detailSource = that.getDataSource(that.detailList)
updateTitle(this.jobContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/unPlanned/job/receiptJobDetail.vue

@ -45,7 +45,6 @@
import { import {
goHome, goHome,
getCurrDateTime, getCurrDateTime,
updateTitle,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getDirectoryItemArray getDirectoryItemArray
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -155,7 +154,6 @@
that.locationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes); that.locationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes);
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailSource = that.getDataSource(that.detailList) that.detailSource = that.getDataSource(that.detailList)
updateTitle(this.jobContent.number);
} else { } else {
that.showErrorMessage('列表数据为0'); that.showErrorMessage('列表数据为0');
} }

10
pages/unPlanned/record/issueRecord.vue

@ -67,6 +67,11 @@
calcHandleQty calcHandleQty
} from '@/common/record.js'; } from '@/common/record.js';
import {
goHome,
updateTitle
} from '@/common/basic.js';
export default { export default {
components: { components: {
comEmptyView, comEmptyView,
@ -109,6 +114,11 @@
onLoad(option) { onLoad(option) {
this.fromType = option.fromType this.fromType = option.fromType
if (this.fromType == "requestType") {
updateTitle("计划外出库申请")
} else {
updateTitle("计划外出库记录")
}
}, },
methods: { methods: {

10
pages/unPlanned/record/receiptRecord.vue

@ -63,6 +63,11 @@
import { import {
getBusinessType, getBusinessType,
} from '@/common/record.js'; } from '@/common/record.js';
import {
goHome,
updateTitle,
} from '@/common/basic.js';
export default { export default {
components: { components: {
@ -108,6 +113,11 @@
onLoad(option) { onLoad(option) {
this.fromType = option.fromType this.fromType = option.fromType
if (this.fromType == "requestType") {
updateTitle("计划外入库申请")
} else {
updateTitle("计划外入库记录")
}
}, },
methods: { methods: {

2
pages/unPlanned/request/issueRequestDetail.vue

@ -25,7 +25,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -87,7 +86,6 @@
that.requestContent = res.data; that.requestContent = res.data;
that.detailList = res.data.subList; that.detailList = res.data.subList;
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
}else { }else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

2
pages/unPlanned/request/receiptRequestDetail.vue

@ -26,7 +26,6 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -91,7 +90,6 @@
res.fromLocationCode = res.toLocationCode res.fromLocationCode = res.toLocationCode
}) })
that.detailSource = getDataSource(that.detailList); that.detailSource = getDataSource(that.detailList);
updateTitle(this.requestContent.number);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
} }

Loading…
Cancel
Save