货无忧
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.8 KiB

1 year ago
"use strict";const e=require("../../../common/vendor.js"),n=require("../../../api/user.js");if(require("../../../utils/request.js"),require("../../../store/index.js"),require("../../../utils/functions.js"),require("../../../utils/IDCardVerification.js"),require("../../../config/host.js"),require("../../../utils/base64.js"),require("../../../utils/md5.js"),!Array){(e.resolveComponent("u-navbar")+e.resolveComponent("uni-th")+e.resolveComponent("uni-tr")+e.resolveComponent("uni-td")+e.resolveComponent("uni-table"))()}Math||((()=>"../../../uni_modules/uview-plus/components/u-navbar/u-navbar.js")+(()=>"../../../uni_modules/uni-table/components/uni-th/uni-th.js")+(()=>"../../../uni_modules/uni-table/components/uni-tr/uni-tr.js")+(()=>"../../../uni_modules/uni-table/components/uni-td/uni-td.js")+(()=>"../../../uni_modules/uni-table/components/uni-table/uni-table.js")+t)();const t=()=>"../../../compoment/cus-selects-fan/cus-selects-fan.js",r=e.defineComponent({__name:"LoadingDetails",setup(t){let r=e.reactive({schanvalue:"",typearr:[{value:1,label:"齐套"},{value:2,label:"部分扫"},{value:3,label:"未扫"}],dataList:[],id:"",items:null,current:1,size:10});function u(e){""==e&&(r.schanvalue=""),r.typearr.map((n=>{n.value==e&&(r.schanvalue=n.label,console.log(r.schanvalue))}))}e.onLoad((e=>{r.items=JSON.parse(e.item),r.id=JSON.parse(e.item).id,async function(){let e={current:r.current,size:r.size,id:r.id},t=await n.deliverywrap(e);r.dataList=t.data.records}()}));const{schanvalue:i,typearr:a,dataList:l,items:s}=e.toRefs(r);return(n,t)=>{var r,o,d;return{a:e.p({title:"配车明细列表",placeholder:!0,border:"true",autoBack:!0,leftIconSize:"35"}),b:e.t(null==(r=e.unref(s))?void 0:r.vehicleStatus_name),c:e.t(null==(o=e.unref(s))?void 0:o.vehicleName),d:e.t(null==(d=e.unref(s))?void 0:d.driverName),e:e.p({width:"50",align:"center"}),f:e.p({width:"70",align:"center"}),g:e.p({width:"70",align:"center"}),h:e.p({width:"70",align:"center"}),i:e.f([1,2],((n,t,r)=>{var u,i,a,l,o,d;return{a:e.t(1==n?"计划":"完成"),b:"521be830-8-"+r+",521be830-7-"+r,c:e.t(1==n?null==(u=e.unref(s))?void 0:u.customersNumber:null==(i=e.unref(s))?void 0:i.loadCusNub),d:"521be830-9-"+r+",521be830-7-"+r,e:e.t(1==n?null==(a=e.unref(s))?void 0:a.orderNumber:null==(l=e.unref(s))?void 0:l.loadOrdNub),f:"521be830-10-"+r+",521be830-7-"+r,g:e.t(1==n?null==(o=e.unref(s))?void 0:o.deliveryNumber:null==(d=e.unref(s))?void 0:d.scannedNumber),h:"521be830-11-"+r+",521be830-7-"+r,i:"521be830-7-"+r+",521be830-1"}})),j:e.p({align:"center"}),k:e.p({align:"center"}),l:e.p({align:"center"}),m:e.p({align:"center"}),n:e.p({loading:!1,emptyText:"暂无更多数据"}),o:e.o(u),p:e.p({data:e.unref(a),value:e.unref(i),placeholder:"全部",arrLeft:5,size:"145",clearable:!0}),q:e.f(e.unref(l),((n,t,r)=>({a:e.t(n.stockArticleId),b:e.t(n.orderSelfNumbering),c:e.t(n.orderStatusStr)})))}}}});wx.createPage(r);