pages-todo-repair-repairDetail-repairDetailListEdit3-repairDetailListEdit3Progress-repairDetailListEdit3Progress.b5ea0a1c.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-todo-repair-repairDetail-repairDetailListEdit3-repairDetailListEdit3Progress-repairDetailListEdit3Progress"],{"07a0":function(t,e,i){"use strict";i.r(e);var a=i("7d4d"),n=i("2202");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1bc6");var s,r=i("f0c5"),c=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"2c991817",null,!1,a["a"],s);e["default"]=c.exports},"1bc6":function(t,e,i){"use strict";var a=i("1cf4"),n=i.n(a);n.a},"1cf4":function(t,e,i){var a=i("65e4");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("6d45a762",a,!0,{sourceMap:!1,shadowMode:!1})},2202:function(t,e,i){"use strict";i.r(e);var a=i("ec73"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},3389:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".gui-search[data-v-5dedde33]{background:#fff;border-radius:%?66?%;box-sizing:border-box;padding:0 %?10?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-webkit-align-items:center;align-items:center;overflow:hidden}.gui-search-icon[data-v-5dedde33]{text-align:center;-webkit-flex-shrink:0;flex-shrink:0}.gui-search-input[data-v-5dedde33]{width:%?600?%;margin:0 %?10?%;border:none;padding:0}",""]),t.exports=e},"3b3e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{height:{type:String,default:"60rpx"},background:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"28rpx"},iconWidth:{type:String,default:"60rpx"},iconColor:{type:String,default:"#A5A7B2"},iconFontSize:{type:String,default:"30rpx"},inputHeight:{type:String,default:"30rpx"},inputFontSize:{type:String,default:"26rpx"},placeholder:{type:String,default:"关键字"},kwd:{type:String,default:""}},data:function(){return{inputVal:""}},created:function(){this.inputVal=this.kwd},methods:{clearKwd:function(){this.inputVal="",this.$emit("clear","")},inputting:function(t){this.$emit("inputting",t.detail.value)},confirm:function(t){this.$emit("confirm",t.detail.value)}}};e.default=a},"618e":function(t,e,i){var a=i("3389");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("d6865264",a,!0,{sourceMap:!1,shadowMode:!1})},"65e4":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".input-bx[data-v-2c991817]{height:auto;background:#fff;padding:%?30?%}.btn-bx[data-v-2c991817]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:%?30?% 0}.btn-sub[data-v-2c991817]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#169bd5;font-size:%?32?%;color:#fff}.btn-res[data-v-2c991817]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff}.choose-bx[data-v-2c991817]{height:%?700?%;width:100%;background:#fff}.detail-bx[data-v-2c991817]{padding:%?0?% %?0?%;border:1px solid #acacac}.li-item[data-v-2c991817]{height:auto;border-bottom:%?1?% solid #ccc;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:%?10?% %?30?%;line-height:1.8;vertical-align:bottom;background:#fff}.li-title[data-v-2c991817]{font-size:%?30?%;color:#666;width:%?450?%}.li-date[data-v-2c991817]{font-size:%?30?%;color:#666}.detail-li[data-v-2c991817]{width:100%;height:auto;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;border-bottom:%?1?% solid #d3d3d3;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;box-sizing:border-box}.detli-tt[data-v-2c991817]{font-size:%?30?%;color:#666;display:inline-block;margin-left:%?40?%;height:auto;padding:%?10?% 0}.ipt-input[data-v-2c991817]{width:%?200?%;height:%?50?%;border:1px solid #acacac;font-size:%?30?%;color:#666;margin-top:%?20?%;display:inline-block}.btn-del[data-v-2c991817]{width:%?200?%;height:%?86?%;border-radius:%?10?%;background:#7ac749;font-size:%?32?%;color:#fff;position:absolute;right:0;bottom:%?10?%}.btn-bx[data-v-2c991817]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:100%;margin-top:%?80?%}.btn-sub[data-v-2c991817]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#169bd5;font-size:%?32?%;color:#fff}.btn-res[data-v-2c991817]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff}.li-item2[data-v-2c991817]{height:%?90?%;border-bottom:%?1?% solid #ccc;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin:%?0?% %?30?%;line-height:3;vertical-align:bottom}.li-hd2[data-v-2c991817]{font-size:%?30?%;color:#666;font-weight:700}.li-bd2[data-v-2c991817]{font-size:%?30?%;color:#666}.demo-msg[data-v-2c991817]{width:100%;padding:%?40?%;background:#fff}.close-btn[data-v-2c991817]{width:%?80?%;height:%?80?%;line-height:%?80?%;text-align:center;font-size:%?40?%;z-index:7}.grace-scroll-y[data-v-2c991817]{height:%?800?%;width:100%}",""]),t.exports=e},"6c9b":function(t,e,i){"use strict";i.r(e);var a=i("ad69"),n=i("9673");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9cfd");var s,r=i("f0c5"),c=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"5dedde33",null,!1,a["a"],s);e["default"]=c.exports},"7d4d":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"grace-list-items",staticStyle:{background:"#fff","margin-bottom":"16upx"}},[i("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[i("v-uni-text",{staticClass:"grace-icons icon-comments icon grace-blue"}),i("v-uni-text",{staticClass:"title grace-black"},[t._v("备件信息")])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("备件编号:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.dataValue.partCode))])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("备件名称:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.dataValue.eqName))])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("本次领用数量:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.amountY))])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("其他领用数量:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.amountQT))])],1),i("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[i("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("未出库数量:")]),i("v-uni-text",{staticClass:" grace-black5 grace-bold"},[t._v(t._s(t.amountLY))])],1)],1),i("v-uni-view",{staticClass:"g-line"}),i("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[i("v-uni-text",{staticClass:"grace-icons icon-article icon grace-blue"}),i("v-uni-text",{staticClass:"title grace-black"},[t._v("申购详情")])],1),i("v-uni-view",{staticClass:"input-bx"},[i("v-uni-view",{staticClass:"detail-bx"},[t._l(t.detailList,(function(e,a){return[i("v-uni-view",{staticClass:"detail-li"},[i("v-uni-view",[i("v-uni-text",{staticClass:"detli-tt"},[t._v("申购单号: "+t._s(e.orderNumber))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("申购数量: "+t._s(e.amount))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("申购部门: "+t._s(e.deptName))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("申购人: "+t._s(e.empName))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("申购时间: "+t._s(e.createTime))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("是否配单: "+t._s(e.buyStatu))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("配单号: "+t._s(e.matchCode))])],1)],1)]}))],2)],1),i("v-uni-view",{staticClass:"g-line"}),i("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[i("v-uni-text",{staticClass:"grace-icons icon-article icon grace-blue"}),i("v-uni-text",{staticClass:"title grace-black"},[t._v("采购详情")])],1),i("v-uni-view",{staticClass:"input-bx"},[i("v-uni-view",{staticClass:"detail-bx"},[t._l(t.detailList2,(function(e,a){return[i("v-uni-view",{staticClass:"detail-li"},[i("v-uni-view",[i("v-uni-text",{staticClass:"detli-tt"},[t._v("采购单号: "+t._s(e.buyeCode))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("采购数量: "+t._s(e.amount))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("入库数量: "+t._s(e.receiveAmount))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("配单号: "+t._s(e.matchCode))]),i("v-uni-text",{staticClass:"detli-tt"},[t._v("提交时间: "+t._s(e.buyerDate))])],1)],1)]}))],2)],1),i("v-uni-view",{staticClass:"btn-bx"},[i("v-uni-button",{staticClass:"btn-sub",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.on_cancel_tap.apply(void 0,arguments)}}},[t._v("返回")])],1)],1)},o=[]},9673:function(t,e,i){"use strict";i.r(e);var a=i("3b3e"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"9cfd":function(t,e,i){"use strict";var a=i("618e"),n=i.n(a);n.a},ad69:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"gui-search",style:{height:t.height,backgroundColor:t.background}},[i("v-uni-view",{staticClass:"gui-search-icon grace-icons icon-search",style:{color:t.iconColor,fontSize:t.iconFontSize,lineHeight:t.height,width:t.iconWidth}}),i("v-uni-input",{staticClass:"gui-search-input",style:{height:t.inputHeight,lineHeight:t.inputHeight,fontSize:t.inputFontSize},attrs:{type:"text",value:"",placeholder:t.placeholder,"confirm-type":"search"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputting.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}}),t.inputVal.length>0?i("v-uni-view",{staticClass:"gui-search-icon grace-icons icon-close",style:{color:t.iconColor,fontSize:t.iconFontSize,lineHeight:t.height,width:t.iconWidth},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearKwd.apply(void 0,arguments)}}}):t._e()],1)},o=[]},ec73:function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("3423")),o=a(i("3fe5")),s=a(i("2e9e")),r=a(i("ed72")),c=a(i("3bab")),l=a(i("6c9b")),d={data:function(){return{searchValue:"",g_username:"epans",g_employeName:"Epans",g_employeId:"2",today_now:"2019-12-01",amountY:"",amountQT:"",amountLY:"",useform:"",dataValue:{},detailList:[],detailList2:[]}},onLoad:function(t){var e=this,i=uni.getStorageSync("g_employeName"),a=uni.getStorageSync("g_pastureId");e.g_employeName=i,console.log(t);t.isbtn;e.isbtn=t.isbtn;var n=JSON.parse(t.all),o=JSON.parse(t.all2),s=t.code;console.log(n),this.dataValue=n,this.all=n,this.all2=o;var r=n.partCode,c=(n.eqName,n.contractId),l=n.date,d=(r=n.partCode,"/authdata/GetDataByName"),u={name:"getpartApply_mstatue",parammaps:{contractId:c,RUCode:s,pastureId:a}};e.ajax(d,u,"POST",e.get_dataValue_data);var f="/authdata/GetDataByName",b={name:"getpartApply_mstatueSG",parammaps:{partCode:r,createDate:l,pastureId:a}};e.ajax(f,b,"POST",e.get_detailList_data);var g={name:"getpartApply_mstatueCG",parammaps:{partCode:r,createDate:l,pastureId:a}};e.ajax(f,g,"POST",e.get_detailList_data2),e.road_name_id_time_data()},onBackPress:function(){var t=this,e=t.all,i=t.all2,a=e.id,n=t.isbtn;return url.navigateTo({url:"/pages/todo/repair/repairDetailListEdit3/repairDetailListEdit3?all="+JSON.stringify(i)+"&id="+a+"&isbtn="+n}),!0},methods:{road_name_id_time_data:function(t){var e=this,i=e.get_today_now(),a=uni.getStorageSync("g_username"),n=uni.getStorageSync("g_employeId");e.dataValue.g_username=a,e.g_username=a,e.g_employeId=n,e.today_now=i},onDetailListTap:function(t){var e=this,i=t.currentTarget.dataset.index,a=e.detailList;console.log("当前点击的数据",JSON.stringify(a[i]))},get_dataValue_data:function(t){var e=this;console.log("详情数据:",t),e.amountY=t.data.list[0].amountY,e.amountQT=t.data.list[0].amountQT,e.amountLY=t.data.list[0].amountLY,console.log("详情数据:",e.dataValue)},get_detailList_data:function(t){console.log("详情列表数据:",t),void 0==t.data.list?this.detailList=[]:this.detailList=t.data.list},get_detailList_data2:function(t){console.log("详情列表数据:",t),void 0==t.data.list?this.detailList2=[]:this.detailList2=t.data.list},on_cancel_tap:function(t){var e=this,i=e.all,a=e.all2,n=i.id,o=e.isbtn;uni.reLaunch({url:"/pages/todo/repair/repairDetail/repairDetailListEdit3/repairDetailListEdit3?all="+JSON.stringify(a)+"&id="+n+"&isbtn="+o})}},components:{gracePage:o.default,graceFlex:s.default,graceSelectImgAndUpload:r.default,graceNumberBox:n.default,graceShade:c.default,graceSearch:l.default}};e.default=d}}]);