This commit is contained in:
aihe 2024-06-21 13:08:25 +08:00
parent 0ae9bc75a2
commit 87eeb99a25
6 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,8 @@
<u-row justify="between"> <u-row justify="between">
<u-row @click="setClipboardData(modelInfo.billCode)"> <u-row @click="setClipboardData(modelInfo.billCode)">
<view> <view>
<u-text :text="`运单号:${modelInfo.billCode}` " size="26"></u-text> <u-text v-if="modelInfo.billCode" :text="`运单号:${modelInfo.billCode}` " size="26"></u-text>
<u-text v-else :text="`订单号:${modelInfo.orderSn}` " size="26"></u-text>
</view> </view>
<view class="pl-10"> <view class="pl-10">
<u-icon name="file-text" size="32" custom-style=""></u-icon> <u-icon name="file-text" size="32" custom-style=""></u-icon>

View File

@ -100,7 +100,7 @@
methods: { methods: {
getRSDStaffList: apiService.getRSDStaffList, getRSDStaffList: apiService.getRSDStaffList,
initData() { initData() {
this.submitParam.billCode = this.queryOption.billCode || this.queryOption.orderSn this.submitParam.billCode = this.queryOption.billCode
}, },
async handleSubmit(val) { async handleSubmit(val) {
let extParam = {} let extParam = {}

View File

@ -83,7 +83,7 @@
}, },
methods: { methods: {
initData() { initData() {
this.submitParam.billCode = this.queryOption.billCode || this.queryOption.orderSn this.submitParam.billCode = this.queryOption.billCode
}, },
async handleSubmit(val) { async handleSubmit(val) {
let extParam = {} let extParam = {}

View File

@ -100,7 +100,7 @@
methods: { methods: {
getRSDStaffList: apiService.getRSDStaffList, getRSDStaffList: apiService.getRSDStaffList,
initData() { initData() {
this.submitParam.billCode = this.queryOption.billCode || this.queryOption.orderSn this.submitParam.billCode = this.queryOption.billCode
}, },
async handleSubmit(val) { async handleSubmit(val) {
let extParam = {} let extParam = {}

View File

@ -103,7 +103,7 @@
methods: { methods: {
getRSDStaffList: apiService.getRSDStaffList, getRSDStaffList: apiService.getRSDStaffList,
initData() { initData() {
this.submitParam.billCode = this.queryOption.billCode || this.queryOption.orderSn this.submitParam.billCode = this.queryOption.billCode
}, },
handleScanValChange: debounce(async function(val){ handleScanValChange: debounce(async function(val){
if(val) { if(val) {

View File

@ -96,7 +96,7 @@
methods: { methods: {
getRSDStaffList: apiService.getRSDStaffList, getRSDStaffList: apiService.getRSDStaffList,
initData() { initData() {
this.submitParam.billCode = this.queryOption.billCode || this.queryOption.orderSn this.submitParam.billCode = this.queryOption.billCode
this.curPageType = pageTypeMap[this.queryOption.type] this.curPageType = pageTypeMap[this.queryOption.type]
this.setNavigationBarTitle(this.curPageType.title) this.setNavigationBarTitle(this.curPageType.title)
}, },