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

1 line
7.1 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-ingoods-receipt-detail"],{"03663":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return n}));var n={uIcon:a("f86b").default,uRow:a("d67a").default,uCol:a("b408").default,uInput:a("d5da").default,uButton:a("d9ad").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page-receipt-detail"},[a("v-uni-view",{staticClass:"header"},[a("v-uni-view",{staticClass:"left"},[a("u-icon",{staticClass:"icon",attrs:{name:"arrow-left"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uni.navigateBack()}}})],1),a("v-uni-view",{staticClass:"title"},[e._v("看单明细")]),a("v-uni-view",{staticClass:"right"})],1),a("v-uni-view",{staticClass:"table-wrapper"},[a("wyb-table",{ref:"table",staticClass:"table",attrs:{width:"100%","enable-check":"multiple","show-left-and-right-border":!0,headers:e.headers,contents:e.model.orderInInfoList,"show-vert-border":!1}})],1),a("v-uni-view",{staticClass:"bottom-bar"},[a("div",{staticClass:"extra"},[a("u-row",{staticClass:"bottom-info"},[a("u-col",{attrs:{span:3}},[e._v("共"+e._s(e.model.orderInInfoList.length)+"条")]),a("u-col",{attrs:{span:2}},[e._v("库位")]),a("u-col",{attrs:{span:4}},[a("u-input",{model:{value:e.locationCode,callback:function(t){e.locationCode=t},expression:"locationCode"}})],1),a("u-col",{attrs:{span:3}},[a("u-button",{attrs:{size:"mini",type:"warning",loading:e.$wait.is("*changeOrderInLocation")},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeLocation.apply(void 0,arguments)}}},[e._v("逐条修改")])],1)],1)],1),a("div",{staticClass:"container"},[a("u-row",[a("u-col",{attrs:{span:3}},[a("u-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.model.checkAllOrderInInfoList(!e.model.isCheckedAll)}}},[e._v(e._s(e.model.isCheckedAll?"取消全选":"全选"))])],1),a("u-col",{attrs:{span:3}},[a("u-button",{attrs:{type:"success",loading:e.$wait.is("*submitOrderInEnter")},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onSubmit.apply(void 0,arguments)}}},[e._v("提交")])],1),a("u-col",{attrs:{span:3}},[a("u-button",{attrs:{type:"error"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toPage(e.page.raw.ingoods.receipt.detailEx)}}},[e._v("异常")])],1),a("u-col",{attrs:{span:3}},[a("u-button",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uni.navigateBack()}}},[e._v("返回")])],1)],1)],1)])],1)},o=[]},"25be":function(e,t,a){"use strict";var n=a("36d1"),i=a.n(n);i.a},"2a27":function(e,t,a){"use strict";var n=a("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("96cf");var i=n(a("1da1")),o=n(a("d4ec")),r=n(a("bee2")),d=n(a("262e")),c=n(a("2caf")),s=a("9ab4"),l=a("60a32"),u=a("22da"),f=n(a("fc4c")),p=a("8d08"),b=function(e){(0,d.default)(a,e);var t=(0,c.default)(a);function a(){var e;return(0,o.default)(this,a),e=t.apply(this,arguments),e.model=f.default,e.locationCode="",e.headers=p.headers,e}return(0,r.default)(a,[{key:"changeLocation",value:function(){this.model.hasChecked?this.model.changeOrderInLocation(this.locationCode):uni.showToast({icon:"none",title:"请选择要修改的行"})}},{key:"onSubmit",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.model.submitOrderInEnter();case 2:this.locationCode="";case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),a}(u.BasePage);b=(0,s.__decorate)([l.Component],b);var v=b;t.default=v},"36d1":function(e,t,a){var n=a("5705");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("4f06").default;i("54af6f12",n,!0,{sourceMap:!1,shadowMode:!1})},5705:function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn