This commit is contained in:
aihe 2024-09-01 10:30:12 +08:00
parent 3f35a8bba4
commit 00cebf6da4

View File

@ -76,7 +76,7 @@
<u-button @click="handleJinCang" :disabled="!submitParam.inNo" size="large" shape="circle"
custom-style="width: 260rpx;height:80rpx;font-size: 30rpx;" :plain="true" type="primary">进仓登记</u-button>
<u-button @click="goto(`todo/detail`)" :disabled="!submitParam.inNo" size="large" shape="circle"
<u-button @click="handleKaiDan" :disabled="!submitParam.inNo" size="large" shape="circle"
custom-style="width: 400rpx;height:80rpx;font-size: 30rpx;" type="primary">货齐开单</u-button>
</u-row>
</view>
@ -165,8 +165,13 @@
this.submitParam = {}
this.billInfo = {}
this.inNo = ''
},
handleKaiDan(){
let cpData = JSON.parse(JSON.stringify({
warehouseInNo: this.submitParam.inNo
}))
this.goto(`post/openorder?billCode=${this.billInfo.billCode}&defaultSubParams=${encodeURIComponent(JSON.stringify(cpData))}`)
}
}
}
</script>