|
@@ -690,6 +690,32 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
+
|
|
|
|
+ <el-tab-pane label="强制修改运输订单状态" name="fifteenth">
|
|
|
|
+ <div class="admin2">
|
|
|
|
+ <div class="poundNo from">
|
|
|
|
+ <span class="text">运输订单号:</span>
|
|
|
|
+ <el-input v-model="orderNumber3"></el-input>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="poundNo from">
|
|
|
|
+ <span class="text">原订单状态:</span>
|
|
|
|
+ <el-input v-model="orderStatus3"></el-input>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="poundNo from">
|
|
|
|
+ <span class="text">修改订单状态:</span>
|
|
|
|
+ <el-input v-model="toOrderStatus3"></el-input>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="button_box">
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ @click="modifyOrderStatus"
|
|
|
|
+ :disabled="disabled"
|
|
|
|
+ >确认</el-button
|
|
|
|
+ >
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
+
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -794,7 +820,10 @@ export default {
|
|
transferMap: {},
|
|
transferMap: {},
|
|
transferList: [],
|
|
transferList: [],
|
|
orderNumber1: null,
|
|
orderNumber1: null,
|
|
- orderNumber2: null
|
|
|
|
|
|
+ orderNumber2: null,
|
|
|
|
+ orderNumber3: null,
|
|
|
|
+ orderStatus3: null,
|
|
|
|
+ toOrderStatus3: null
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -1004,10 +1033,10 @@ export default {
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
this.$message.success('修改成功')
|
|
this.$message.success('修改成功')
|
|
|
|
+ this.$router.go(0)
|
|
} else {
|
|
} else {
|
|
this.$message.error(res.data.data)
|
|
this.$message.error(res.data.data)
|
|
}
|
|
}
|
|
- this.$router.go(0)
|
|
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1247,10 +1276,10 @@ export default {
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
this.$message.success('修改成功')
|
|
this.$message.success('修改成功')
|
|
|
|
+ this.$router.go(0)
|
|
} else {
|
|
} else {
|
|
this.$message.error(res.data.data)
|
|
this.$message.error(res.data.data)
|
|
}
|
|
}
|
|
- this.$router.go(0)
|
|
|
|
})
|
|
})
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
this.$message({
|
|
this.$message({
|
|
@@ -1259,6 +1288,31 @@ export default {
|
|
})
|
|
})
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+ },
|
|
|
|
+ modifyOrderStatus(){
|
|
|
|
+ if (
|
|
|
|
+ this.orderNumber3 != null &&
|
|
|
|
+ this.orderNumber3 != '' &&
|
|
|
|
+ this.orderStatus3 != null &&
|
|
|
|
+ this.orderStatus3 != '' &&
|
|
|
|
+ this.toOrderStatus3 != null &&
|
|
|
|
+ this.toOrderStatus3 != ''
|
|
|
|
+ ){
|
|
|
|
+ this.axios
|
|
|
|
+ .post('/api/v1/bp/modifyOrderStatus', {
|
|
|
|
+ orderNumber: this.orderNumber3,
|
|
|
|
+ orderStatus: this.orderStatus3,
|
|
|
|
+ toOrderStatus: this.toOrderStatus3
|
|
|
|
+ })
|
|
|
|
+ .then(res => {
|
|
|
|
+ if (res.data.code == 200) {
|
|
|
|
+ this.$message.success('修改成功')
|
|
|
|
+ this.$router.go(0)
|
|
|
|
+ } else {
|
|
|
|
+ this.$message.error(res.data.data)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|