This commit is contained in:
@fawn-nine
2023-10-31 16:19:09 +08:00
parent f15ee27255
commit a74981d153
4 changed files with 91 additions and 91 deletions

View File

@@ -237,7 +237,7 @@ export default {
// 普通发货
submit1() {
this.getNewProducts()
console.log(this.productsIdsList)
console.log(this.productsIdsList)
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
const loading = this.$loading({
@@ -263,9 +263,10 @@ export default {
this.beforeCloseDialog()
return this.$message.success('发货成功')
}
}).catch(({e}) => {
}).catch((e) => {
loading.close();
console.log('e',e)
this.$message.error('发货失败')
})
}else{
this.$message.error('请先选择物流公司')
@@ -314,7 +315,7 @@ export default {
});
this.$http({
// url: this.$http.adornUrl(`/book/buyOrder/blendSendFMS/${this.ruleForm.deliverLcd}`),
url: this.$http.adornUrl(`/book/buyOrder/delivery/`),
url: this.$http.adornUrl(`/book/buyOrder/delivery`),
method: 'post',
params: this.$http.adornParams({
// "shipperName" : this.ruleForm.dictValue