Browse Source

修改标题显示

hella_online_20240829
lijuncheng 4 months ago
parent
commit
6151d9c306
  1. 10
      src/pages/productReceipt/job/ccProductReceiptDetail.vue

10
src/pages/productReceipt/job/ccProductReceiptDetail.vue

@ -139,9 +139,11 @@
}; };
}, },
onLoad(option) { onLoad(option) {
uni.setNavigationBarTitle({ setTimeout(res=>{
title: option.title+'详情' uni.setNavigationBarTitle({
}) title: option.title+'详情'
})
},50)
this.id = option.id; this.id = option.id;
this.scanedPackingNumber = option.scaned || ''; this.scanedPackingNumber = option.scaned || '';
@ -419,7 +421,7 @@
ccProductReceiptJobsubmit(params).then(res => { ccProductReceiptJobsubmit(params).then(res => {
uni.hideLoading() uni.hideLoading()
if (res.data) { if (res.data) {
this.showCommitSuccessMessage("提交成功<br>生成预生产收货记录<br>" + res.data, ) this.showCommitSuccessMessage("提交成功<br>生成装配收货记录<br>" + res.data )
} else { } else {
this.showErrorMessage("提交失败[" + res.msg + "]") this.showErrorMessage("提交失败[" + res.msg + "]")
} }

Loading…
Cancel
Save