Browse Source

完善销售订单

master
yunuo970428 10 months ago
parent
commit
1fb893f3fc
  1. 17
      src/views/sales/salesOrder/salesOrderAdd.vue

17
src/views/sales/salesOrder/salesOrderAdd.vue

@ -1027,10 +1027,10 @@ export default {
billNo: '',
shopName: '',
shopSid: '',
createBySid: '',
createByName: '',
useOrgSid: '',
createOrgSid: '',
createBySid: window.sessionStorage.getItem('userSid'),
createByName: window.sessionStorage.getItem('name'),
useOrgSid: window.sessionStorage.getItem('orgSid'),
createOrgSid: window.sessionStorage.getItem('orgSid'),
remarks: '',
deptSid: '',
deptName: '',
@ -1068,7 +1068,7 @@ export default {
invoiceTitle: '',
taxpayerNo: '',
taxRate: '',
discountRate: '',
discountRate: '100',
coupon: '',
discountAmount: '',
amount: '',
@ -1088,6 +1088,13 @@ export default {
this.totalReceivables = ''
this.commodityData = []
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) {
if (isreload === 'true') this.$emit('reloadlist')

Loading…
Cancel
Save