pages-index-applyForBuy-applyForBuyDetail-applyForBuyDetail.f983b344.js 13 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-applyForBuy-applyForBuyDetail-applyForBuyDetail"],{"2c7b":function(t,a,e){"use strict";var i;e.d(a,"b",(function(){return s})),e.d(a,"c",(function(){return c})),e.d(a,"a",(function(){return i}));var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"page"},[e("v-uni-view",{staticClass:"grace-list-items",staticStyle:{background:"#fff","margin-bottom":"16upx"}},[e("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[e("v-uni-text",{staticClass:"grace-icons icon-comments icon grace-blue"}),e("v-uni-text",{staticClass:"title grace-black"},[t._v("申购单号:"+t._s(t.dataValue.orderNumber))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[e("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("牧场:")]),e("v-uni-text",{staticClass:" grace-black5 "},[t._v(t._s(t.dataValue.pastureName))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[e("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("申购部门:")]),e("v-uni-text",{staticClass:" grace-black5 "},[t._v(t._s(t.dataValue.departmentName))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[e("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("申购人:")]),e("v-uni-text",{staticClass:" grace-black5 "},[t._v(t._s(t.dataValue.empname))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[e("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("申购日期:")]),e("v-uni-text",{staticClass:" grace-black5 "},[t._v(t._s(t.dataValue.inputTime))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row",staticStyle:{padding:"0 20upx"}},[e("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("审核状态:")]),4==t.dataValue.statue||6==t.dataValue.statue||8==t.dataValue.statue?e("v-uni-text",{staticClass:" grace-black5 "},[t._v("未通过")]):t._e(),2==t.dataValue.statue||3==t.dataValue.statue||5==t.dataValue.statue?e("v-uni-text",{staticClass:" grace-black5 "},[t._v("审核中")]):t._e(),7==t.dataValue.statue?e("v-uni-text",{staticClass:" grace-black5 "},[t._v("已通过")]):t._e()],1)],1),e("v-uni-view",{staticClass:"g-line"}),e("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[e("v-uni-text",{staticClass:"grace-icons icon-article icon grace-blue"}),e("v-uni-text",{staticClass:"title grace-black"},[t._v("备件信息")])],1),e("v-uni-view",{staticClass:"detail-bx"},[t._l(t.detailList,(function(a,i){return[e("v-uni-view",{staticClass:"detail-li"},[e("v-uni-view",{staticStyle:{width:"100%",position:"relative"}},[e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("备件编号:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.partCode))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("备件名称:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.partName))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("规格:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.specification))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("品牌:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.brandName))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("单价:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.price))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("单位:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.unit))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("现有库存:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.storageAmount))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("申购数量:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.amount))])],1),e("v-uni-view",{staticClass:"grace-nowrap g-title-bx-row"},[e("v-uni-text",{staticClass:" grace-black5 g-card-w"},[t._v("备注:")]),e("v-uni-text",{staticClass:" grace-black5"},[t._v(t._s(a.purpose))])],1)],1)],1)]}))],2),e("v-uni-view",{staticClass:"g-line"}),e("v-uni-view",{staticClass:"grace-list-items",staticStyle:{background:"#fff","margin-bottom":"16upx"}},[e("v-uni-view",{staticClass:"grace-title grace-border-b",staticStyle:{margin:"0 20upx"}},[e("v-uni-text",{staticClass:"grace-icons icon-article icon grace-blue"}),e("v-uni-text",{staticClass:"title grace-black"},[t._v("审核情况")])],1),e("v-uni-view",{staticClass:" g-title-bx-row",staticStyle:{padding:"0 20upx","word-wrap":"break-word",height:"auto"}},[e("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("库管审核:")]),e("v-uni-text",{staticClass:" grace-black5 "},[t._v(t._s(t.status1))])],1),e("v-uni-view",{staticClass:" g-title-bx-row",staticStyle:{padding:"0 20upx","word-wrap":"break-word",height:"auto"}},[e("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("技术助理审核:")]),e("v-uni-text",{staticClass:" grace-black5 "},[t._v(t._s(t.status2))])],1),e("v-uni-view",{staticClass:" g-title-bx-row",staticStyle:{padding:"0 20upx","word-wrap":"break-word",height:"auto"}},[e("v-uni-text",{staticClass:" grace-black9 g-card-w"},[t._v("采购审核:")]),e("v-uni-text",{staticClass:" grace-black5 "},[t._v(t._s(t.status3))])],1)],1),e("v-uni-view",{staticClass:"btn-bx"},[e("v-uni-button",{staticClass:"btn-res",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.formCancel.apply(void 0,arguments)}}},[t._v("返回")])],1)],1)},c=[]},5286:function(t,a,e){"use strict";var i=e("5d3f"),s=e.n(i);s.a},"5d3f":function(t,a,e){var i=e("ec10");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=e("4f06").default;s("f0da03e4",i,!0,{sourceMap:!1,shadowMode:!1})},"8fd1":function(t,a,e){"use strict";var i=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=i(e("3423")),c=i(e("3fe5")),o=i(e("2e9e")),r=i(e("3bab")),n=i(e("ed72")),l={data:function(){return{searchValue:"",g_username:"epans",g_employeName:"Epans",g_employeId:"2",today_now:"2019-12-01",id:"",orderNumber:"",dataValue:{},detailList:[],status1:"",status2:"",status3:""}},onLoad:function(t){var a=this;console.log(t);var e=t.name;a.orderNumber=e;var i=t.id;this.id=i;var s=JSON.parse(t.all);this.all=s,this.dataValue=s,console.log(s);var c=uni.getStorageSync("g_employeName");a.g_employeName=c;uni.getStorageSync("g_pastureId");var o=a.get_today_now(),r=uni.getStorageSync("g_username"),n=uni.getStorageSync("g_employeId");a.dataValue.g_username=r,a.g_username=r,a.g_employeId=n,a.today_now=o;var l={name:"getpartpurchaseBybig",parammaps:{id:i}};a.ajax("/authdata/GetDataByName",l,"POST",a.get_detailList_data1);var d={name:"getSHstatueSG",parammaps:{id:i}};a.ajax("/authdata/GetDataByName",d,"POST",a.get_examstatus_data)},onBackPress:function(){return uni.navigateTo({url:"/pages/index/applyForBuy/applyForBuy"}),!0},methods:{get_detailList_data1:function(t){console.log("详情列表数据:",t);var a=t.data.list;this.detailList=null==a?[]:a},get_examstatus_data:function(t){console.log("审核状态:",t),this.status1=t.data.list[0]["库管审核"],this.status2=t.data.list[0]["技术助理审核"],this.status3=t.data.list[0]["采购审核"]},formCancel:function(t){uni.navigateTo({url:"/pages/index/applyForBuy/applyForBuy"})}},components:{gracePage:c.default,graceFlex:o.default,graceSelectImgAndUpload:n.default,graceNumberBox:s.default,graceShade:r.default}};a.default=l},ac9a:function(t,a,e){"use strict";e.r(a);var i=e("2c7b"),s=e("f79d");for(var c in s)"default"!==c&&function(t){e.d(a,t,(function(){return s[t]}))}(c);e("5286");var o,r=e("f0c5"),n=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"7502b31f",null,!1,i["a"],o);a["default"]=n.exports},ec10:function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,".input-bx[data-v-7502b31f]{height:auto;background:#fff;padding:0 %?30?%}.input-item[data-v-7502b31f]{margin-bottom:%?20?%;padding:%?0?% %?30?%}.ipt-title[data-v-7502b31f]{font-size:%?32?%;color:#333;margin-bottom:%?20?%}.ipt-textarea[data-v-7502b31f]{width:100%;height:%?200?%;border:1px solid #acacac;font-size:%?32?%;color:#333}.img-bx[data-v-7502b31f]{width:100%;height:%?400?%;border:1px solid #acacac;margin-bottom:%?10?%}.img[data-v-7502b31f]{width:100%;height:%?400?%}.btn-choose[data-v-7502b31f]{width:%?200?%;height:%?60?%;border-radius:%?10?%;background:#fff;font-size:%?30?%;line-height:2;color:#333;border:1px solid #acacac}.show-title[data-v-7502b31f]{height:%?90?%;background:#f2f2f2;padding-left:%?40?%;line-height:2}.title[data-v-7502b31f]{font-size:%?32?%;color:#333;font-weight:700}.radio-bx[data-v-7502b31f]{padding:%?0?% %?20?%}.radio-bx uni-label[data-v-7502b31f]{font-size:%?32?%;color:#333;margin-right:%?20?%}.choose-title[data-v-7502b31f]{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?%}.choose-title uni-text[data-v-7502b31f]{font-size:%?32?%;color:#333;font-weight:700;display:block;margin-bottom:%?10?%}.choose-title uni-input[data-v-7502b31f]{width:%?410?%;height:%?50?%;border:1px solid #acacac;font-size:%?32?%;color:#333}.choose-bx[data-v-7502b31f]{height:%?400?%;width:100%}.detail-bx[data-v-7502b31f]{padding:%?0?% %?20?%;border:1px solid #acacac}.li-item[data-v-7502b31f]{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;margin:%?10?% %?30?%;line-height:1.8;vertical-align:bottom}.li-title[data-v-7502b31f]{font-size:%?30?%;color:#666;width:%?440?%}.li-date[data-v-7502b31f]{font-size:%?30?%;color:#666}.detail-li1[data-v-7502b31f]{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}.detail-li2[data-v-7502b31f]{width:100%;height:%?380?%;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}.detail-li[data-v-7502b31f]{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-7502b31f]{font-size:%?30?%;color:#666;margin-left:%?20?%;display:block;width:100%;height:%?60?%}.ipt-input[data-v-7502b31f]{width:%?200?%;height:%?50?%;border:1px solid #acacac;font-size:%?30?%;color:#666;margin-top:%?20?%;display:inline-block}.btn-del[data-v-7502b31f]{width:%?120?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff;position:absolute;right:0;bottom:%?10?%}.btn-bx[data-v-7502b31f]{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-7502b31f]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#169bd5;font-size:%?32?%;color:#fff}.btn-res[data-v-7502b31f]{width:%?290?%;height:%?86?%;border-radius:%?10?%;background:#f60;font-size:%?32?%;color:#fff}.demo-msg[data-v-7502b31f]{width:100%;padding:%?40?%;background:#fff}.close-btn[data-v-7502b31f]{width:%?80?%;height:%?80?%;line-height:%?80?%;text-align:center;font-size:%?40?%;z-index:7}",""]),t.exports=a},f79d:function(t,a,e){"use strict";e.r(a);var i=e("8fd1"),s=e.n(i);for(var c in i)"default"!==c&&function(t){e.d(a,t,(function(){return i[t]}))}(c);a["default"]=s.a}}]);