|
|
|
@ -135,7 +135,7 @@ |
|
|
|
<view class="content-list"> |
|
|
|
<view class="list-name">欠款</view> |
|
|
|
<view class="list-val"> |
|
|
|
<input type="number" :value="priceNo" disabled> |
|
|
|
<input type="number" :value="noPay" disabled> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="content-list"> |
|
|
|
@ -247,12 +247,13 @@ |
|
|
|
return { |
|
|
|
lsprice:0,//临时零售价 |
|
|
|
wholesalePrice:0, // 临时显示批发价 |
|
|
|
price: '0', //总金额 |
|
|
|
relPrice: '0', //已付金额 |
|
|
|
otherExpense: '0', // 其他费用 |
|
|
|
priceNo: '0', //未付金额 |
|
|
|
price: 0, //总金额 |
|
|
|
relPrice: 0, //实收金额 |
|
|
|
otherExpense: 0, // 其他费用 |
|
|
|
noPay: 0, //欠款 |
|
|
|
discountNum:10, //整体折扣 |
|
|
|
priceCurrent:'', |
|
|
|
priceCurrent:'', |
|
|
|
priceOk:'', //已收金额 |
|
|
|
value: '', |
|
|
|
priceItems:[{ |
|
|
|
value: '0', |
|
|
|
@ -315,7 +316,8 @@ |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
let that = this; |
|
|
|
this.khName = JSON.parse(JSON.stringify(this.khName)) || '' |
|
|
|
this.khName = JSON.parse(JSON.stringify(this.khName)) || '' |
|
|
|
console.log(this.khName) |
|
|
|
this.gysName = JSON.parse(JSON.stringify(this.gysName)) || '' |
|
|
|
this.wlName = JSON.parse(JSON.stringify(this.wlName)) || '' |
|
|
|
this.kdyName = JSON.parse(JSON.stringify(this.kdyName)) || '' |
|
|
|
@ -526,16 +528,17 @@ |
|
|
|
let obj = { |
|
|
|
orderByWorker: this.lbgName.workerId, |
|
|
|
transCompany: this.wlName.id, |
|
|
|
sale: { |
|
|
|
alreadyEarn: 100, //已付金额 |
|
|
|
realAmount: 100, //实际金额 |
|
|
|
noEarn: 0, //欠款 |
|
|
|
sale: { |
|
|
|
relPrice:this.relPrice, //实收金额 |
|
|
|
alreadyEarn: this.priceOk, //已付金额 |
|
|
|
realAmount: this.shouldPay, //总金额 |
|
|
|
noEarn: this.noPay, //欠款 |
|
|
|
totalAmount: this.totalAmount, //总数量 |
|
|
|
area: this.khName.area, |
|
|
|
city: this.khName.city, |
|
|
|
province: this.khName.province, |
|
|
|
payStatus: 1, |
|
|
|
receiveAddress: this.khName.receiveAddress, |
|
|
|
receiveAddress: this.khName.address, |
|
|
|
transportType: this.radioType, //this.radioType |
|
|
|
discount: this.discountNum, |
|
|
|
createBy: this.xsyId, |
|
|
|
|