完善销售订单
This commit is contained in:
@@ -1027,10 +1027,10 @@ export default {
|
|||||||
billNo: '',
|
billNo: '',
|
||||||
shopName: '',
|
shopName: '',
|
||||||
shopSid: '',
|
shopSid: '',
|
||||||
createBySid: '',
|
createBySid: window.sessionStorage.getItem('userSid'),
|
||||||
createByName: '',
|
createByName: window.sessionStorage.getItem('name'),
|
||||||
useOrgSid: '',
|
useOrgSid: window.sessionStorage.getItem('orgSid'),
|
||||||
createOrgSid: '',
|
createOrgSid: window.sessionStorage.getItem('orgSid'),
|
||||||
remarks: '',
|
remarks: '',
|
||||||
deptSid: '',
|
deptSid: '',
|
||||||
deptName: '',
|
deptName: '',
|
||||||
@@ -1068,7 +1068,7 @@ export default {
|
|||||||
invoiceTitle: '',
|
invoiceTitle: '',
|
||||||
taxpayerNo: '',
|
taxpayerNo: '',
|
||||||
taxRate: '',
|
taxRate: '',
|
||||||
discountRate: '',
|
discountRate: '100',
|
||||||
coupon: '',
|
coupon: '',
|
||||||
discountAmount: '',
|
discountAmount: '',
|
||||||
amount: '',
|
amount: '',
|
||||||
@@ -1088,6 +1088,13 @@ export default {
|
|||||||
this.totalReceivables = ''
|
this.totalReceivables = ''
|
||||||
this.commodityData = []
|
this.commodityData = []
|
||||||
this.submitdisabled = false
|
this.submitdisabled = false
|
||||||
|
var nowDate = new Date()
|
||||||
|
var date = {
|
||||||
|
year: nowDate.getFullYear(),
|
||||||
|
month: nowDate.getMonth() + 1,
|
||||||
|
day: nowDate.getDate()
|
||||||
|
}
|
||||||
|
this.formobj.createTime = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day)
|
||||||
},
|
},
|
||||||
handleReturn(isreload) {
|
handleReturn(isreload) {
|
||||||
if (isreload === 'true') this.$emit('reloadlist')
|
if (isreload === 'true') this.$emit('reloadlist')
|
||||||
|
|||||||
Reference in New Issue
Block a user