Commit 272edc75 authored by hubaoshan's avatar hubaoshan

日期bug

parent 9f7f990d
......@@ -345,7 +345,7 @@ export default {
qty: NewQty,
newPn: tooPn,
lot: newLot,
cheBzq: values[2],
cheBzq: this.formatCheBzq(values[2]),
cheBz: '',
cheUnit: values[4],
cheCjName: values[5],
......@@ -374,6 +374,9 @@ export default {
clearFormConfirmation() {
this.resetForm()
},
formatCheBzq(date) {
return date ? date.split(' ')[0].replace(/-/g, '/') : ''
},
/**
* @description: 获取单号
* @author: gaoyu
......
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