Commit ea70c1a6 authored by yaobeibei's avatar yaobeibei

merge reset

parent 9e255061
......@@ -2117,10 +2117,7 @@ app.post('/entry', function(req, res) {
return console.log(err)
}
if (response.statusCode === 200) {
<<<<<<< HEAD
=======
console.log(response.body)
>>>>>>> reset
res.send({status: 200, datas: response.body})
}
if (response.statusCode === 204) {
......
......@@ -517,22 +517,8 @@
}).then(data => {
console.dir(data)
this.entryBillID = billID
<<<<<<< HEAD
let datas = JSON.parse(data.datas)
console.log(datas)
if (data.status === 200) {
if (entryButton) {
self.entryBtn = true
this.$message({
type: 'success',
message: '该订单已经被录入'
})
}
=======
let datas = JSON.parse(data.datas)
if (data.status === 200) {
>>>>>>> reset
this.formatEntry(datas)
} else {
this.$alert(data.message, '无法录入', {
......@@ -589,13 +575,7 @@
}).then(res => {
return res.json()
}).then(data => {
<<<<<<< HEAD
console.log(data)
let datas = JSON.parse(data.datas)
console.log(datas)
=======
let datas = JSON.parse(data.datas)
>>>>>>> reset
if (data.status === 200) {
if (datas.ok === 1) {
this.message({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment