Commit 4adbc644 authored by 徐来柯's avatar 徐来柯

update

parent 35f9d249
...@@ -194,12 +194,7 @@ export default { ...@@ -194,12 +194,7 @@ export default {
url:`/api/MaterialDelivery/MaterialDelivery_ScanCodeAdd?ScanCode=${value}`, url:`/api/MaterialDelivery/MaterialDelivery_ScanCodeAdd?ScanCode=${value}`,
}).then((res)=>{ }).then((res)=>{
console.log('扫码成功。。。') console.log('扫码成功。。。')
var postData = { var postData = this.resetData()
argKeyWord: this.formData.argKeyWord,
argWhere: this.formData.argWhere,
Stime: this.formData.dateValue ? this.$moment(this.formData.dateValue[0]).format('YYYY-MM-DD HH:mm:ss') : ' ',
Etime: this.formData.dateValue ? this.$moment(this.formData.dateValue[1]).format('YYYY-MM-DD HH:mm:ss') : ' '
}
this.searchData(this.postData) this.searchData(this.postData)
}).catch(() => { }).catch(() => {
console.log('扫码失败。。。') console.log('扫码失败。。。')
...@@ -256,6 +251,7 @@ export default { ...@@ -256,6 +251,7 @@ export default {
}, },
conserve (data) { conserve (data) {
var $this = this var $this = this
debugger
this.$axios({ this.$axios({
method:"post", method:"post",
url:`/api/MaterialDelivery/MaterialDelivery_WindowAddSave`, url:`/api/MaterialDelivery/MaterialDelivery_WindowAddSave`,
...@@ -269,12 +265,7 @@ export default { ...@@ -269,12 +265,7 @@ export default {
$this.popShow = false $this.popShow = false
} }
$this.deletetext = res.data.msg $this.deletetext = res.data.msg
var postData = { var postData = this.resetData()
argKeyWord: this.formData.argKeyWord,
argWhere: this.formData.argWhere,
Stime: $this.$refs.dateValue ? $this.$moment(this.dateValue[0]).format('YYYY-MM-DD HH:mm:ss') : ' ',
Etime: $this.$refs.dateValue ? $this.$moment(this.dateValue[1]).format('YYYY-MM-DD HH:mm:ss') : ' '
}
$this.searchData(postData) $this.searchData(postData)
}).catch(function(err){ }).catch(function(err){
console.log('err',err) console.log('err',err)
......
...@@ -205,12 +205,7 @@ export default { ...@@ -205,12 +205,7 @@ export default {
url:`/api/ProductDelivery/ProductDelivery_ScanCodeAdd?ScanCode=${value}`, url:`/api/ProductDelivery/ProductDelivery_ScanCodeAdd?ScanCode=${value}`,
}).then((res)=>{ }).then((res)=>{
console.log('扫码成功。。。') console.log('扫码成功。。。')
var postData = { var postData = this.resetData()
argKeyWord: this.formData.argKeyWord,
argWhere: this.formData.argWhere,
Stime: this.formData.dateValue ? this.$moment(this.formData.dateValue[0]).format('YYYY-MM-DD HH:mm:ss') : ' ',
Etime: this.formData.dateValue ? this.$moment(this.formData.dateValue[1]).format('YYYY-MM-DD HH:mm:ss') : ' '
}
this.searchData(this.postData) this.searchData(this.postData)
}).catch(() => { }).catch(() => {
console.log('扫码失败。。。') console.log('扫码失败。。。')
......
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