Browse Source

no message

linwenxin 7 months ago
parent
commit
9bf4797499

+ 1 - 1
src/packageAttachment/pages/orderOfSales/details.vue

@@ -286,7 +286,7 @@ export default {
     confirmationDelivery() {
       this.$api
         .post('/app/worker/parts-sales/workerConfirmDelivery', {
-          id: this.info.salesId
+          id: this.info.id
         })
         .then(res => {
           uni.$emit('updateOrderOfSales')

+ 6 - 4
src/packageMaterial/pages/newSale/order.vue

@@ -45,7 +45,9 @@
       <view class="bottom-container">
         <view class="left">
           <view class="text">共{{ totalNum }}件,合计:</view>
-          <view class="price">¥{{ totalPrice | priceFilter }}</view>
+          <view class="price"
+            >¥{{ (Number(otherPrice) + Number(servicePrice) + Number(totalPrice)) | priceFilter }}</view
+          >
         </view>
         <view class="btn">
           <u-button
@@ -143,13 +145,13 @@ export default {
         remark: this.remark,
         userMobile: this.userMobile,
         workerOrderId: this.orderNo,
-        categoryId: this.categoryId || '',
-        categoryName: this.categoryName || '',
+        categoryId: this.categoryId || '123',
+        categoryName: this.categoryName || '123',
         websitId: this.websitId,
         websitName: this.websitName,
         workerOrderItems: this.goodsList,
         otherPrice: this.otherPrice,
-        servicePrice:this.servicePrice
+        servicePrice: this.servicePrice,
       }).then(res => {
         this.$navToPage({
           url: `/packageMaterial/pages/newSale/pay?handleOrderId=${res.data}&wbId=${this.wbId}`