Browse Source

no message

feature/v1.6
xpz2018 4 years ago
parent
commit
1a2117de86
5 changed files with 5 additions and 5 deletions
  1. 2
      components/uploader/index.js
  2. 2
      pages/process/order-info/index.js
  3. 2
      pages/process/outside-info/index.js
  4. 2
      pages/storage/order-info/index.js
  5. 2
      pages/storage/order-settlement/index.js

2
components/uploader/index.js

@ -13,7 +13,7 @@ VantComponent({
useBeforeRead: Boolean,
afterRead: null,
beforeRead: null,
previewSize: { type: null, value: 90 },
previewSize: { type: null, value: 100 },
name: { type: [Number, String], value: '' },
accept: { type: String, value: 'image' },
fileList: { type: Array, value: [], observer: 'formatFileList' },

2
pages/process/order-info/index.js

@ -73,7 +73,7 @@ Scene({
},
printOrder: function(){
wx.showLoading({ title: '正在处理', mask: true })
printOrder({id: this.data.form.id}).then(result => {
printOrder({id: this.data.form.id, printType: 1}).then(result => {
wx.hideLoading()
util.showToast('即将打印,请稍后')
}).catch(err => {

2
pages/process/outside-info/index.js

@ -59,7 +59,7 @@ Scene({
},
printOrder: function(){
wx.showLoading({ title: '正在处理', mask: true })
printOrder({id: this.data.id}).then(result => {
printOrder({id: this.data.id, printType: 2}).then(result => {
wx.hideLoading()
util.showToast('即将打印,请稍后')
}).catch(err => {

2
pages/storage/order-info/index.js

@ -90,7 +90,7 @@ Scene({
},
printOrderInfo: function(){
wx.showLoading({ title: '正在处理', mask: true })
printOrder({id: this.data.form.id, type: 2 }).then(result => {
printOrder({id: this.data.form.id, printType: 3 }).then(result => {
wx.hideLoading()
util.showToast('即将打印,请稍后')
}).catch(err => {

2
pages/storage/order-settlement/index.js

@ -179,7 +179,7 @@ Scene({
util.showToast('请输入结算重量')
return
}
var params = { id: this.data.form.id, categoryId: this.data.form.categoryId }
var params = { id: this.data.orderInfo.id, categoryId: this.data.form.categoryId }
params.otherFee = this.data.form.otherFee
params.unitPrice = this.data.form.unitPrice
params.estimatedAmount = this.data.form.estimatedAmount

Loading…
Cancel
Save