发货
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user