Browse Source

no message

feature/v2.3
xpz2018 4 years ago
parent
commit
d8d2a2cf21
14 changed files with 131 additions and 80 deletions
  1. 6
      api/saas.js
  2. 24
      pages/home/factory-info/index.js
  3. 4
      pages/home/factory-info/index.wxml
  4. 7
      pages/index/index.js
  5. 20
      pages/login/index.js
  6. 48
      pages/process/order-add/index.js
  7. 6
      pages/process/order-add/index.wxml
  8. 13
      pages/process/order-info/index.js
  9. 1
      pages/process/order-info/index.json
  10. 17
      pages/process/order-info/index.wxml
  11. 17
      pages/process/payment/index.js
  12. 2
      pages/process/payment/index.wxml
  13. 36
      pages/storage/order-create/index.js
  14. 10
      pages/storage/order-settlement/index.wxml

6
api/saas.js

@ -18,6 +18,7 @@ const getBaseInfo = () => mGet(`/ztb-factory/get/self-enterprise-profile-detail`
const getBankList = () => mGet(`/ztb-factory/get/bank-list`, null, sconfig)
const getStatisticsInfo = (params) => mGet(`/ztb-factory/get/my-workbench-statistics-info`, params, sconfig)
const bindingFactory = (params) => mPost(`/recycle-user-center/bind/factory-admin`, params, sconfig)
const configFactory = (params) => mPost(`/recycle-user-center/save/factory-basic-config`, params, sconfig)
const getFactoryLicence = () => mGet(`/recycle-user-center/get/latest-factory-licence`, null, sconfig)
const getOrderList = (params) => mGet(`/ztb-factory/factory-customer/get/order-list`, params, sconfig)
const getReceiptList = (params) => mGet(`/ztb-factory/factory/get/order-receipt-proof-audit-list`, params, sconfig)
@ -25,6 +26,7 @@ const getPeymentList = (params) => mGet(`/ztb-factory/get/order-pay-list`, param
const getOrderInfo = (id) => mGet(`/ztb-factory/factory-customer/get/order-detail/${id}`, null, sconfig)
const pricingOrder = (params) => mPost(`/ztb-factory/factory/submit/order-price`, params, sconfig)
const cancelOrder = (id) => mPost(`/ztb-factory/factory/cancel/order/${id}`, null, sconfig)
const createInOrder = (params) => mPost(`/ztb-factory/save/scrap-paper-onside-receipt-order`, params, sconfig)
const repeatOrder = (id) => mPost(`/ztb-factory/factory/renew/empty-weight/${id}`, null, sconfig)
const repeatPrice = (id) => mPost(`/ztb-factory/factory/renew/order-price/${id}`, null, sconfig)
const checkingOrder = (params) => mPost(`/ztb-factory/factory/audit-pass/order`, params, sconfig)
@ -73,6 +75,7 @@ const closeOutOrder = (params) => mPost(`/ztb-factory/close/outbound-delivery-or
const auditOutOrder = (params) => mPost(`/ztb-factory/audit/outbount-delivery-order`, params, sconfig)
const receiptOutOrder = (params) => mPost(`/ztb-factory/confirm/outbound-delivery-order-receipt`, params, sconfig)
const createOutOrder = (params) => mPost(`/ztb-factory/relevancy/weight-note/and/outbound-delivery-order`, params, sconfig)
const recordOutOrder = (params) => mPost(`/ztb-factory/save/outbound-delivery-order`, params, sconfig)
const bindBankCard = (params) => mPost(`/ztb-factory/factory/binding/bank-card`, params, sconfig)
const getBankCardList = () => mGet(`/ztb-factory/get/factory-bank-card-list`, null, sconfig)
const deleteBankcard = (params) => mPost(`/ztb-factory/delete/factory-bank-card`, params, sconfig)
@ -99,6 +102,7 @@ export {
getBaseInfo,
getBankList,
getUserInfo,
configFactory,
bindingFactory,
getFactoryOrderList,
getFactoryOrderInfo,
@ -112,6 +116,7 @@ export {
pricingOrder,
paymentOrder,
cancelOrder,
createInOrder,
getPaperPrice,
getCategoryList,
getPaperInfo,
@ -148,6 +153,7 @@ export {
auditOutOrder,
receiptOutOrder,
createOutOrder,
recordOutOrder,
bindBankCard,
getBankCardList,
deleteBankcard,

24
pages/home/factory-info/index.js

@ -1,6 +1,6 @@
// pages/home/qrcode/index.js
import Scene from '../../index/scene'
import { getCustomerList } from "../../../api/saas"
import { configFactory } from "../../../api/saas"
const util = require('../../../utils/util')
const app = getApp()
@ -9,29 +9,37 @@ Scene({
* 页面的初始数据
*/
data: {
settlePriceType: '1',
settleType: '1',
paymentType: '1',
userInfo: {}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
this.setData({ userInfo: app.userInfo})
this.setData({ settlePriceType: String(app.userInfo.factory.settlePriceType), settleType: String(app.userInfo.factory.settleType)})
},
onTypeChange: function({detail}){
this.setData({ settleType: detail })
this.setData({ settlePriceType: detail })
},
onTypeClick(e) {
this.setData({ settleType: e.currentTarget.dataset.name })
this.setData({ settlePriceType: e.currentTarget.dataset.name })
},
onPaymentChange: function({detail}){
this.setData({ paymentType: detail })
this.setData({ settleType: detail })
},
onPaymentClick(e) {
this.setData({ paymentType: e.currentTarget.dataset.name })
this.setData({ settleType: e.currentTarget.dataset.name })
},
submitForm: function () {
wx.showLoading({ title: '处理中', mask: true })
var data = {settlePriceType: Number(this.data.settlePriceType), settleType: Number(this.data.settleType) }
configFactory(data).then(result => {
wx.hideLoading()
util.showBackToast('保存成功')
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
}
})

4
pages/home/factory-info/index.wxml

@ -7,7 +7,7 @@
<view style="height:30rpx;width:6rpx;background-image: linear-gradient(180deg, #007AFF 0%, #027BFF 15%, #5AABFF 45%, #CAF4FE 100%);"></view>
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">收货结算金额设置</view>
</view>
<van-radio-group value="{{ settleType }}" bind:change="onTypeChange">
<van-radio-group value="{{ settlePriceType }}" bind:change="onTypeChange">
<van-cell-group>
<van-cell title="正常保留两位小数(默认)" clickable data-name="1" bind:click="onTypeClick">
<van-radio slot="right-icon" name="1" />
@ -24,7 +24,7 @@
<view style="height:30rpx;width:6rpx;background-image: linear-gradient(180deg, #007AFF 0%, #027BFF 15%, #5AABFF 45%, #CAF4FE 100%);"></view>
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">客户支付方式</view>
</view>
<van-radio-group value="{{ paymentType }}" bind:change="onPaymentChange">
<van-radio-group value="{{ settleType }}" bind:change="onPaymentChange">
<van-cell-group>
<van-cell title="现金支付(默认)" clickable data-name="1" bind:click="onPaymentClick">
<van-radio slot="right-icon" name="1" />

7
pages/index/index.js

@ -165,6 +165,13 @@ Scene({
} else {
app.userInfo.type = element.factoryInfos[detail.index].type || ''
}
for (let nIndex = element.factoryInfos.length - 1; nIndex >= 0; nIndex--) {
const item = element.factoryInfos[nIndex]
if(item.factoryId == detail.id){
app.userInfo.factory = item
break
}
}
headerFactoryId(detail.id)
var pageView = this.selectComponent('#' + this.data.tabList[this.data.tabIndex].value)
if (pageView && this.data.tabIndex != 3) {

20
pages/login/index.js

@ -69,11 +69,11 @@ Page({
const item = element.factoryInfos[nIndex]
if(storageFactoryId){
if(item.factoryId == storageFactoryId){
return item.factoryId
return item
}
} else {
if(item.factoryId){
return item.factoryId
return item
}
}
}
@ -82,14 +82,18 @@ Page({
},
toIndex: function(){
var factoryId = storage.get('X-FACTORY-ID' + app.userInfo.userId)
var factory = null
if(factoryId){
// 有可能被移除了,缓存的factoryId还在,那要进行处理
factoryId = this.checkFactoryId(factoryId)
factory = this.checkFactoryId(factoryId)
if(factory) {
factoryId = factory.factoryId
}
}
if(!factoryId){
factoryId = this.checkFactoryId()
if(factoryId){
storage.put('X-FACTORY-ID' + app.userInfo.userId, factoryId)
factory = this.checkFactoryId()
if(factory) {
factoryId = factory.factoryId
}
}
if(!factoryId){
@ -98,6 +102,10 @@ Page({
})
return
}
if(factoryId){
storage.put('X-FACTORY-ID' + app.userInfo.userId, factoryId)
}
app.userInfo.factory = factory
app.userInfo.factoryId = factoryId
headerFactoryId(app.userInfo.factoryId)
if(this.data.path) {

48
pages/process/order-add/index.js

@ -1,5 +1,5 @@
import Scene from '../../index/scene'
import { checkingOrder, getFactoryOrderInfo, getPaperList} from "../../../api/saas"
import { createInOrder, getPaperList} from "../../../api/saas"
const event = require('../../../utils/event')
const util = require('../../../utils/util')
const math = require('../../../utils/math')
@ -12,7 +12,7 @@ Scene({
data: {
safeBottom: app.globalData.safeBottom,
paperList: null,
form: { deductType: 1 },
form: { deductType: 1, isWithoutTare: 0 },
paperList: [],
imageList: [],
focus: 0,
@ -116,8 +116,8 @@ Scene({
if(!util.isEmpty(this.data.form.deductWeight)){
this.data.form.settleWeight = math.minus(this.data.form.netWeight, this.data.form.deductWeight)
}
if(!util.isEmpty(this.data.form.unitPrice) && Number(this.data.form.unitPrice) > 0){
this.data.amout = math.times(this.data.form.settleWeight, this.data.form.unitPrice)
if(!util.isEmpty(this.data.form.settleUnitPrice) && Number(this.data.form.settleUnitPrice) > 0){
this.data.amout = math.times(this.data.form.settleWeight, this.data.form.settleUnitPrice)
} else {
this.data.amout = null
}
@ -129,7 +129,7 @@ Scene({
for (let index = 0; index < this.data.imageList.length; index++) {
imageUrls.push(this.data.imageList[index].url)
}
this.data.form.orderImageList = imageUrls
this.data.form.receiptImageList = imageUrls
},
checkOrder: function(){
if(util.isEmpty(this.data.form.factoryCustomerId)){
@ -148,12 +148,12 @@ Scene({
util.showToast('请选择纸品品类')
return
}
if(util.isEmpty(this.data.form.unitPrice) || Number(this.data.form.unitPrice) <= 0){
if(util.isEmpty(this.data.form.settleUnitPrice) || Number(this.data.form.settleUnitPrice) <= 0){
util.showToast('请输入单价')
return
}
if(this.data.nowItem){
if(this.data.nowItem.highestUnitPrice && Number(this.data.form.unitPrice) > Number(this.data.nowItem.highestUnitPrice)){
if(this.data.nowItem.highestUnitPrice && Number(this.data.form.settleUnitPrice) > Number(this.data.nowItem.highestUnitPrice)){
util.showToast('输入单价过高,价格范围:' + this.data.nowItem.lowestUnitPrice + '元/公斤-'+ this.data.nowItem.highestUnitPrice + '元/公斤')
return
}
@ -170,34 +170,20 @@ Scene({
util.showToast('扣点范围:0-100')
return
}
var data = {id: this.data.form.id}
if(Number(this.data.form.deductWeight) > 0){
data.deductWeight = Number(this.data.form.deductWeight)
this.data.form.deductWeight = Number(this.data.form.deductWeight)
}
if(Number(this.data.form.deductPercent) > 0){
data.deductPercent = Number(this.data.form.deductPercent)
this.data.form.deductPercent = Number(this.data.form.deductPercent)
}
data.plateNumber = this.data.form.plateNumber
data.productId = this.data.form.productId
data.deductType = this.data.form.deductType
data.unitPrice = Number(this.data.form.unitPrice)
var factoryCustomerId = this.data.form.factoryCustomerId
var that = this
wx.requestSubscribeMessage({
tmplIds: ['DJaSy0a5TNp9v_ICQ0ZY5-hkZ91dEXZuKq_hQVBTnOA', '4IWtlcg1HhLN7AFepB3VeZF-4D0b9gbjwWBruKMhAJM'],
complete(res) {
wx.showLoading({ title: '处理中', mask: true })
checkingOrder({ id: that.data.form.id, factoryCustomerId, editOrderPriceDto: data }).then(result => {
wx.hideLoading()
event.emit('OrderMessage', { what: 12, desc: 'checkingOrder' })
util.showBackToast('订单审核已通过')
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
}
wx.showLoading({ title: '处理中', mask: true })
createInOrder(this.data.form).then(result => {
wx.hideLoading()
event.emit('OrderMessage', { what: 12, desc: 'createInOrder' })
util.showBackToast('订单新增成功')
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
},
viewImage: function (e) {

6
pages/process/order-add/index.wxml

@ -45,7 +45,7 @@
<view class="{{form.productName ? 'text-black' : 'text-gray'}}">{{form.productName || '请选择废纸品类'}}</view>
</view>
</van-cell>
<van-field id="unitPrice" value="{{ form.unitPrice || '' }}" type="digit" placeholder="{{form.konePrice || '请输入单价'}}" clearable input-align="right" bind:change="bindInput">
<van-field id="settleUnitPrice" value="{{ form.settleUnitPrice || '' }}" type="digit" placeholder="{{form.konePrice || '请输入单价'}}" clearable input-align="right" bind:change="bindInput">
<view slot="label" class="flex text-black" style="width:200rpx">
<view class="text-red text-xl" style="line-height: 10px; padding-top: 12px">*</view>
<text>单价(元/公斤)</text>
@ -72,9 +72,9 @@
<view id="orderImage" class="bg-white" style="padding: 24rpx 32rpx 20rpx 32rpx">
<view class="flex flex-justify" style="padding-bottom: 24rpx">
<view class="flex flex-center text-black">订单凭证</view>
<text class="text-gray">2张以内,每张图片大小限制5M</text>
<text class="text-gray">3张以内,每张图片大小限制5M</text>
</view>
<van-uploader file-list="{{ imageList }}" multiple max-count="2" max-size="{{1024 * 1024 * 5}}" bind:file-change="fileChange" />
<van-uploader file-list="{{ imageList }}" multiple max-count="3" max-size="{{1024 * 1024 * 5}}" bind:file-change="fileChange" />
</view>
<submit-layout>

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

@ -16,7 +16,8 @@ Scene({
status: 0,
form: null,
agent: 0,
title: '过磅详情'
title: '过磅详情',
imageList: []
},
/**
* 生命周期函数--监听页面加载
@ -57,12 +58,20 @@ Scene({
result.data.paymentOrderInfo.lessPrice = 0.00
}
}
if(result.data.receiptImageList && result.data.receiptImageList.length){
this.data.imageList = []
for (let index = 0; index < result.data.receiptImageList.length; index++) {
const element = result.data.receiptImageList[index]
this.data.imageList.push({ url: element })
}
}
this.setData({
safeBottom: app.globalData.safeBottom,
form: result.data,
title: this.data.title,
admin: app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0,
agent: this.data.agent
agent: this.data.agent,
imageList: this.data.imageList
})
}).catch(err => {
wx.hideLoading()

1
pages/process/order-info/index.json

@ -6,6 +6,7 @@
"van-loading": "/components/loading/index",
"van-image": "/components/image/index",
"van-dialog": "/components/dialog/index",
"van-uploader": "/components/uploader/index",
"submit-layout": "/components/submit-layout/index",
"notification": "/pages/message/notification/index"
}

17
pages/process/order-info/index.wxml

@ -35,7 +35,8 @@
<image style="height:42rpx;width:42rpx" src="/assets/image/icon_close.png"></image>
<view class="text-white text-sg" style="margin-left:12rpx">已关闭</view>
</view>
<view class="flex flex-center" style="padding:4rpx 0rpx 4rpx 4rpx">
<view class="text-white" style="padding: 12rpx 0rpx 12rpx 12rpx" bindtap="priceOrder" wx:if="{{form.status == 3}}">重新定价</view>
<view class="flex flex-center" style="padding:4rpx 0rpx 4rpx 4rpx" wx:else>
<view class="text-white text-sm" style="margin-right:8rpx">查看订单日志</view>
<van-icon name="arrow" color="white"/>
</view>
@ -127,6 +128,12 @@
</view>
</view>
</van-cell>
<van-cell wx:if="{{ imageList.length}}">
<view slot="title" class="text-black">
<view style="margin-bottom: 12rpx;">订单凭证</view>
<van-uploader file-list="{{ imageList }}" deletable="{{false}}" show-upload="{{false}}" />
</view>
</van-cell>
<van-cell wx:if="{{form.inspectionRemark}}">
<view slot="title" class="text-black">
<view>备注</view>
@ -141,7 +148,7 @@
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">单价(元/公斤)</view>
<view class="text-gray">{{formate.formateAmount(form.settleUnitPrice)}}</view>
<view class="text-gray">{{formate.formateAmount(form.settleUnitPrice || form.unitPrice)}}</view>
</view>
</van-cell>
<van-cell>
@ -174,11 +181,15 @@
<submit-layout wx:if="{{form && form.status == 2 }}">
<van-button plain type="default" custom-style="height:88rpx;width:254rpx" bind:click="cancelOrder">取消订单</van-button>
</submit-layout>
<submit-layout wx:if="{{form && form.status == 3 && !agent }}">
<submit-layout wx:if="{{form && form.status == 3 && !agent && form.isHandworkOrder != 1 }}">
<van-button plain type="default" custom-style="height:88rpx;width:186rpx" bind:click="cancelOrder">取消订单</van-button>
<van-button type="warning" custom-style="margin-left:32rpx;height:88rpx;width:218rpx" bind:click="repeatOrder">重新过皮重</van-button>
<van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:218rpx" bind:click="checkOrder">通过审核</van-button>
</submit-layout>
<submit-layout wx:elif="{{form && form.status == 3 && !agent && form.isHandworkOrder == 1}}">
<van-button plain type="default" custom-style="height:88rpx;width:254rpx" bind:click="cancelOrder">取消订单</van-button>
<van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="checkOrder">通过审核</van-button>
</submit-layout>
<submit-layout wx:elif="{{form && form.status == 4 && !agent && admin }}">
<van-button plain type="default" custom-style="height:88rpx;width:254rpx" bind:click="cancelOrder">取消订单</van-button>
<van-button type="info" custom-style="margin-left:32rpx;height:88rpx;width:400rpx" bind:click="paymentOrder">进行支付</van-button>

17
pages/process/payment/index.js

@ -73,7 +73,11 @@ Scene({
result.data.productName = productName
result.data.settleWeight = settleWeight
result.data.settlePrice = this.data.amount
this.setData({ orderList: [result.data], amount: this.data.amount, orderStatus: result.data.orderStatus })
var settleType = app.userInfo.factory.settleType
if(settleType){
this.data.settleType = String(settleType)
}
this.setData({ orderList: [result.data], settleType: this.data.settleType, amount: this.data.amount, orderStatus: result.data.orderStatus })
this.fetchCustomerInfo(result.data)
}).catch(err => {
wx.hideLoading()
@ -85,7 +89,7 @@ Scene({
getCustomerInfo(orderInfo.factoryCustomerId).then(result => {
wx.hideLoading()
this.data.params.bankCardNo = result.data.bankCardNo
this.data.settleType = '' + result.data.defaultPaymentMethod
// this.data.settleType = '' + result.data.defaultPaymentMethod
this.data.params.ids = []
this.data.params.ids.push(orderInfo.scrapPaperReceiptId)
this.setData({ params: this.data.params })
@ -125,10 +129,10 @@ Scene({
this.setData({ settleType: detail })
},
onTypeClick(e) {
if(Number(e.currentTarget.dataset.name) == 2 && util.isEmpty(this.data.params.bankCardNo)){
util.showToast('暂无客户银行卡信息,无法进行银行卡转账')
return
}
// if(Number(e.currentTarget.dataset.name) == 2 && util.isEmpty(this.data.params.bankCardNo)){
// util.showToast('暂无客户银行卡信息,无法进行银行卡转账')
// return
// }
this.setData({ settleType: e.currentTarget.dataset.name })
},
onChange: function(e){
@ -160,7 +164,6 @@ Scene({
wx.showLoading({ title: '正在处理', mask: true })
this.data.requesting = true
this.data.params.settleType = Number(settleType)
paymentOrder(this.data.params).then(result => {
wx.hideLoading()
if(!util.isEmpty(result.message)){

2
pages/process/payment/index.wxml

@ -20,7 +20,7 @@
<van-radio slot="right-icon" name="1" />
</van-cell>
<van-cell title="{{params.bankCardNo ? '银行卡转账(' + params.bankCardNo + ')' : '银行卡转账' }}" clickable data-name="2" bind:click="onTypeClick">
<van-radio slot="right-icon" name="2" disabled="{{!params.bankCardNo}}" />
<van-radio slot="right-icon" name="2" />
</van-cell>
<van-cell title="微信支付" clickable data-name="4" bind:click="onTypeClick">
<van-radio slot="right-icon" name="4" />

36
pages/storage/order-create/index.js

@ -1,6 +1,6 @@
// pages/storage/index/index.js
import Scene from '../../index/scene'
import { getPoundInfo, getPaperList, createOutOrder } from "../../../api/saas"
import { getPoundInfo, getPaperList, createOutOrder, recordOutOrder } from "../../../api/saas"
const util = require('../../../utils/util')
const math = require('../../../utils/math')
const event = require('../../../utils/event')
@ -168,7 +168,7 @@ Scene({
for (let index = 0; index < this.data.imageList.length; index++) {
imageUrls.push(this.data.imageList[index].url)
}
this.data.form.orderImageList = imageUrls
this.data.form.weightNoteImageUrls = imageUrls
},
submitForm: function(){
if(util.isEmpty(this.data.form.consigneeName)){
@ -191,16 +191,28 @@ Scene({
util.showToast('净重不能小于零')
return
}
this.data.form.weightNoteId = this.data.poundInfo.id
wx.showLoading({ title: '正在处理', mask: true })
createOutOrder(this.data.form).then(result => {
wx.hideLoading()
util.showBackToast('处理成功')
event.emit('OrderMessage', { what: 20, desc: 'cancelOrder' })
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
if(this.data.poundInfo){
this.data.form.weightNoteId = this.data.poundInfo.id
wx.showLoading({ title: '正在处理', mask: true })
createOutOrder(this.data.form).then(result => {
wx.hideLoading()
util.showBackToast('处理成功')
event.emit('OrderMessage', { what: 20, desc: 'createOutOrder' })
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
} else {
wx.showLoading({ title: '正在处理', mask: true })
recordOutOrder(this.data.form).then(result => {
wx.hideLoading()
util.showBackToast('处理成功')
event.emit('OrderMessage', { what: 20, desc: 'recordOutOrder' })
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
}
},
viewImage: function (e) {
var imgList = []

10
pages/storage/order-settlement/index.wxml

@ -32,12 +32,12 @@
</van-field>
<van-field id="deductPercent" value="{{ form.deductPercent || '' }}" label="扣点(%)" maxlength="4" type="digit" placeholder="请输入扣点" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="settleWeight" value="{{ form.settleWeight || '' }}" label="结算重量(吨)" maxlength="8" type="digit" placeholder="请输入结算重量" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="otherFee" value="{{ form.otherFee || '' }}" label="其他费用(元)" maxlength="8" type="digit" placeholder="请输入其他费用" clearable input-align="right" bind:change="bindInput"></van-field>
<!-- <van-field id="otherFee" value="{{ form.otherFee || '' }}" label="其他费用(元)" maxlength="8" type="digit" placeholder="请输入其他费用" clearable input-align="right" bind:change="bindInput"></van-field> -->
<van-field id="settlePrice" value="{{ form.settlePrice || '' }}" label="结算金额(元)" maxlength="8" type="digit" placeholder="请输入结算金额" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="settlePrice" value="{{ form.settlePrice || '' }}" label="代卖费(元)" maxlength="8" type="digit" placeholder="请输入代卖费" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="settlePrice" value="{{ form.settlePrice || '' }}" label="运费(元)" maxlength="8" type="digit" placeholder="请输入运费" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="settlePrice" value="{{ form.settlePrice || '' }}" label="其他费用(元)" maxlength="8" type="digit" placeholder="请输入其他费用" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="settlePrice" value="{{ form.settlePrice || '' }}" label="补贴(元)" maxlength="8" type="digit" placeholder="请输入补贴" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="proxyPaySurcharge" value="{{ form.proxyPaySurcharge || '' }}" label="代卖费(元)" maxlength="8" type="digit" placeholder="请输入代卖费" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="freight" value="{{ form.freight || '' }}" label="运费(元)" maxlength="8" type="digit" placeholder="请输入运费" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="otherFee" value="{{ form.otherFee || '' }}" label="其他费用(元)" maxlength="8" type="digit" placeholder="请输入其他费用" clearable input-align="right" bind:change="bindInput"></van-field>
<van-field id="subsidy" value="{{ form.subsidy || '' }}" label="补贴(元)" maxlength="8" type="digit" placeholder="请输入补贴" clearable input-align="right" bind:change="bindInput"></van-field>
<view class="bg-white" style="padding: 24rpx 32rpx 20rpx 32rpx">
<view class="flex flex-justify" style="padding-bottom: 24rpx">

Loading…
Cancel
Save