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

update

parent 35f9d249
......@@ -194,12 +194,7 @@ export default {
url:`/api/MaterialDelivery/MaterialDelivery_ScanCodeAdd?ScanCode=${value}`,
}).then((res)=>{
console.log('扫码成功。。。')
var postData = {
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') : ' '
}
var postData = this.resetData()
this.searchData(this.postData)
}).catch(() => {
console.log('扫码失败。。。')
......@@ -256,6 +251,7 @@ export default {
},
conserve (data) {
var $this = this
debugger
this.$axios({
method:"post",
url:`/api/MaterialDelivery/MaterialDelivery_WindowAddSave`,
......@@ -269,12 +265,7 @@ export default {
$this.popShow = false
}
$this.deletetext = res.data.msg
var postData = {
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') : ' '
}
var postData = this.resetData()
$this.searchData(postData)
}).catch(function(err){
console.log('err',err)
......
......@@ -205,12 +205,7 @@ export default {
url:`/api/ProductDelivery/ProductDelivery_ScanCodeAdd?ScanCode=${value}`,
}).then((res)=>{
console.log('扫码成功。。。')
var postData = {
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') : ' '
}
var postData = this.resetData()
this.searchData(this.postData)
}).catch(() => {
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