| 1 |
- {"code":"/*!\n * build: vue-admin-beautiful \n * copyright: chuzhixin 1204505056@qq.com \n * time: 2022-12-12 09:51:32\n */\n(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-5b068b68\"],{4616:function(t,e,o){},\"478b\":function(t,e,o){\"use strict\";o.r(e),o.d(e,\"getWarehouseInfo\",(function(){return r})),o.d(e,\"getAllWarehouse\",(function(){return a})),o.d(e,\"enableWarehouse\",(function(){return u})),o.d(e,\"updateWarehouse\",(function(){return d})),o.d(e,\"deleteWarehouse\",(function(){return i})),o.d(e,\"addWarehouse\",(function(){return c})),o.d(e,\"addWarehouseBeginning\",(function(){return s})),o.d(e,\"stockaddLogistics\",(function(){return l})),o.d(e,\"getAllSaleOut\",(function(){return f})),o.d(e,\"exportGetAllSaleOut\",(function(){return m})),o.d(e,\"getSaleOutInfo\",(function(){return h})),o.d(e,\"getSaleOutInfoT\",(function(){return g})),o.d(e,\"searchAllSaleOut\",(function(){return p})),o.d(e,\"updateSaleOutStatus\",(function(){return b})),o.d(e,\"saveOutInventory\",(function(){return _})),o.d(e,\"statisticsAllSaleOut\",(function(){return v})),o.d(e,\"rejectInventory\",(function(){return k})),o.d(e,\"deleteDetailByInventoryInId\",(function(){return I})),o.d(e,\"searchAllPurchaseIn\",(function(){return S})),o.d(e,\"getPurchaseInInfo\",(function(){return O})),o.d(e,\"getPurchaseInInfoT\",(function(){return j})),o.d(e,\"getAllPurchaseIn\",(function(){return y})),o.d(e,\"exportsGetAllPurchaseIn\",(function(){return A})),o.d(e,\"updatePurchaseInStatus\",(function(){return x})),o.d(e,\"statisticsAllPurchaseIn\",(function(){return N})),o.d(e,\"getInventoryAll\",(function(){return D})),o.d(e,\"exportGetInventoryAll\",(function(){return P})),o.d(e,\"getInventoryDetailsAll\",(function(){return L})),o.d(e,\"exportGetInventoryDetailsAll\",(function(){return R})),o.d(e,\"searchAllInventoryDetails\",(function(){return W})),o.d(e,\"exportSearchAllInventoryDetails\",(function(){return w})),o.d(e,\"getAllBatch\",(function(){return C})),o.d(e,\"searchAllInventoryBatch\",(function(){return T})),o.d(e,\"getStocktakingInfo\",(function(){return $})),o.d(e,\"updateStocktaking\",(function(){return B})),o.d(e,\"auditStocktaking\",(function(){return M})),o.d(e,\"getAllStocktaking\",(function(){return G})),o.d(e,\"exportGetAllStocktaking\",(function(){return E})),o.d(e,\"searchAllStocktaking\",(function(){return z})),o.d(e,\"exportSearchAllStocktaking\",(function(){return J})),o.d(e,\"addStocktaking\",(function(){return q})),o.d(e,\"inventoryStatistics\",(function(){return U})),o.d(e,\"exportsInventoryStatistics\",(function(){return F})),o.d(e,\"searchInventoryStatistics\",(function(){return H})),o.d(e,\"StockGetAllPurchase\",(function(){return K})),o.d(e,\"PurchaseInGetAllPurchaseOut\",(function(){return Q})),o.d(e,\"getWarehouseInventory\",(function(){return V})),o.d(e,\"addAllocate\",(function(){return X})),o.d(e,\"getInventoryByWarehouseId\",(function(){return Y})),o.d(e,\"getAllAllocate\",(function(){return Z})),o.d(e,\"deleteAllocate\",(function(){return tt})),o.d(e,\"getAllocateInfo\",(function(){return et})),o.d(e,\"updateAllocate\",(function(){return ot})),o.d(e,\"auditAllocate\",(function(){return nt})),o.d(e,\"searchAllocate\",(function(){return rt})),o.d(e,\"getBatchByIds\",(function(){return at})),o.d(e,\"getSkuNum\",(function(){return ut})),o.d(e,\"getMasterSkuNum\",(function(){return dt})),o.d(e,\"addReservoir\",(function(){return it})),o.d(e,\"getReservoirInfo\",(function(){return ct})),o.d(e,\"getAllReservoir\",(function(){return st})),o.d(e,\"getListReservoir\",(function(){return lt})),o.d(e,\"enableReservoir\",(function(){return ft})),o.d(e,\"updateReservoir\",(function(){return mt})),o.d(e,\"deleteReservoir\",(function(){return ht})),o.d(e,\"getAllStorageLocation\",(function(){return gt})),o.d(e,\"addStorageLocation\",(function(){return pt})),o.d(e,\"getStorageLocationInfo\",(function(){return bt})),o.d(e,\"enableStorageLocation\",(function(){return _t})),o.d(e,\"updateStorageLocation\",(function(){return vt})),o.d(e,\"getAreaDateBySkuId\",(function(){return kt})),o.d(e,\"addReportLoss\",(function(){return It})),o.d(e,\"getAllReportLoss\",(function(){return St})),o.d(e,\"getReportLossInfo\",(function(){return Ot})),o.d(e,\"auditReportLoss\",(function(){return jt})),o.d(e,\"deleteReportLoss\",(function(){return yt})),o.d(e,\"countPurchaseCost\",(function(){return At})),o.d(e,\"exportgetInventoryByWarehouseId\",(function(){return xt})),o.d(e,\"exportgetAllAllocate\",(function(){return Nt})),o.d(e,\"getPickingInfo\",(function(){return Dt})),o.d(e,\"addPicking\",(function(){return Pt})),o.d(e,\"getAllPicking\",(function(){return Lt})),o.d(e,\"getAllPickingGoodsDetail\",(function(){return Rt}));var n=o(\"b775\");function r(t,e){return Object(n[\"default\"])({url:\"/Stock/Warehouse/getWarehouseInfo/\"+t,method:\"get\",data:e})}function a(t){return Object(n[\"default\"])({url:\"/Stock/Warehouse/getAllWarehouse\",method:\"post\",data:t})}function u(t){return Object(n[\"default\"])({url:\"/Stock/Warehouse/enableWarehouse\",method:\"post\",data:t})}function d(t,e){return Object(n[\"default\"])({url:\"/Stock/Warehouse/updateWarehouse/\"+t,method:\"put\",data:e})}function i(t,e){return Object(n[\"default\"])({url:\"/Stock/Warehouse/deleteWarehouse/\"+t,method:\"delete\",data:e})}function c(t){return Object(n[\"default\"])({url:\"/Stock/Warehouse/addWarehouse\",method:\"post\",data:t})}function s(t){return Object(n[\"default\"])({url:\"/Stock/Warehouse/addWarehouseBeginning\",method:\"post\",data:t})}function l(t){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/addLogistics\",method:\"post\",data:t})}function f(t){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/getAllInventoryOut\",method:\"post\",data:t})}function m(t){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/getAllInventoryOut\",method:\"post\",responseType:\"blob\",data:t})}function h(t,e){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/getInventoryOutInfo/\"+t,method:\"get\",data:e})}function g(t){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/getInventoryOutInfo\",method:\"post\",data:t})}function p(t){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/searchAllInventoryOut\",method:\"post\",data:t})}function b(t){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/updateInventoryOutStatus\",method:\"post\",data:t})}function _(t,e){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/saveOutInventory/\"+t,method:\"put\",data:e})}function v(t){return Object(n[\"default\"])({url:\"/Stock/InventoryOut/statisticsAllInventoryOut\",method:\"post\",data:t})}function k(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/rejectInventory\",method:\"post\",data:t})}function I(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/deleteDetailByInventoryInId\",method:\"post\",data:t})}function S(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/searchAllInventoryIn\",method:\"post\",data:t})}function O(t,e){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/getInventoryInInfo/\"+t,method:\"put\",data:e})}function j(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/getInventoryInInfo\",method:\"put\",data:t})}function y(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/getAllInventoryIn\",method:\"post\",data:t})}function A(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/getAllInventoryIn\",method:\"post\",responseType:\"blob\",data:t})}function x(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/updateInventoryInStatus\",method:\"post\",data:t})}function N(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/statisticsAllInventoryIn\",method:\"post\",data:t})}function D(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getInventoryAll\",method:\"post\",data:t})}function P(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getInventoryAll\",responseType:\"blob\",method:\"post\",data:t})}function L(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getInventoryDetailsAll\",method:\"post\",data:t})}function R(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getInventoryDetailsAll\",responseType:\"blob\",method:\"post\",data:t})}function W(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/searchAllInventoryDetails\",method:\"post\",data:t})}function w(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/searchAllInventoryDetails\",responseType:\"blob\",method:\"post\",data:t})}function C(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getAllBatch\",method:\"post\",data:t})}function T(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/searchAllInventoryBatch\",method:\"post\",data:t})}function $(t,e){return Object(n[\"default\"])({url:\"/Stock/Stocktaking/getStocktakingInfo/\"+t,method:\"get\",data:e})}function B(t,e){return Object(n[\"default\"])({url:\"/Stock/Stocktaking/updateStocktaking/\"+t,method:\"put\",data:e})}function M(t,e){return Object(n[\"default\"])({url:\"/Stock/Stocktaking/auditStocktaking/\"+t,method:\"put\",data:e})}function G(t){return Object(n[\"default\"])({url:\"/Stock/Stocktaking/getAllStocktaking\",method:\"post\",data:t})}function E(t){return Object(n[\"default\"])({url:\"/Stock/Stocktaking/getAllStocktaking\",responseType:\"blob\",method:\"post\",data:t})}function z(t){return Object(n[\"default\"])({url:\"/Stock/Stocktaking/searchAllStocktaking\",method:\"post\",data:t})}function J(t){return Object(n[\"default\"])({url:\"/Stock/Stocktaking/searchAllStocktaking\",method:\"post\",responseType:\"blob\",data:t})}function q(t){return Object(n[\"default\"])({url:\"/Stock/Stocktaking/addStocktaking\",method:\"post\",data:t})}function U(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/inventoryStatistics\",method:\"post\",data:t})}function F(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/inventoryStatistics\",method:\"post\",responseType:\"blob\",data:t})}function H(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/searchInventoryStatistics\",method:\"post\",data:t})}function K(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/getAllPurchaseIn\",method:\"post\",data:t})}function Q(t){return Object(n[\"default\"])({url:\"/Stock/InventoryIn/getAllInventoryInByAudit\",method:\"post\",data:t})}function V(t,e){return Object(n[\"default\"])({url:\"/Stock/Inventory/getWarehouseInventory/\"+t,method:\"get\",data:e})}function X(t){return Object(n[\"default\"])({url:\"/Stock/Allocate/addAllocate\",method:\"post\",data:t})}function Y(t){return Object(n[\"default\"])({url:\"/stock/Inventory/getInventoryByWarehouseId\",method:\"post\",data:t})}function Z(t){return Object(n[\"default\"])({url:\"/Stock/Allocate/getAllAllocate\",method:\"post\",data:t})}function tt(t,e){return Object(n[\"default\"])({url:\"/Stock/Allocate/deleteAllocate/\"+t,method:\"delete\",data:e})}function et(t,e){return Object(n[\"default\"])({url:\"/Stock/Allocate/getAllocateInfo/\"+t,method:\"get\",data:e})}function ot(t,e){return Object(n[\"default\"])({url:\"/Stock/Allocate/updateAllocate/\"+t,method:\"post\",data:e})}function nt(t,e){return Object(n[\"default\"])({url:\"/Stock/Allocate/auditAllocate/\"+t,method:\"put\",data:e})}function rt(t){return Object(n[\"default\"])({url:\"/Stock/Allocate/searchAllocate\",method:\"post\",data:t})}function at(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getBatchByIds\",method:\"post\",data:t})}function ut(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getSkuNum\",method:\"post\",data:t})}function dt(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getMasterSkuNum\",method:\"post\",data:t})}function it(t){return Object(n[\"default\"])({url:\"/Stock/ReservoirArea/addReservoir\",method:\"post\",data:t})}function ct(t,e){return Object(n[\"default\"])({url:\"/Stock/ReservoirArea/getReservoirInfo/\"+t,method:\"get\",data:e})}function st(t){return Object(n[\"default\"])({url:\"/Stock/ReservoirArea/getAllReservoir\",method:\"post\",data:t})}function lt(t){return Object(n[\"default\"])({url:\"/Stock/ReservoirArea/getListReservoir\",method:\"post\",data:t})}function ft(t,e){return Object(n[\"default\"])({url:\"/Stock/ReservoirArea/enableReservoir/\"+t,method:\"put\",data:e})}function mt(t,e){return Object(n[\"default\"])({url:\"/Stock/ReservoirArea/updateReservoir/\"+t,method:\"put\",data:e})}function ht(t,e){return Object(n[\"default\"])({url:\"/Stock/ReservoirArea/deleteReservoir/\"+t,method:\"get\",data:e})}function gt(t){return Object(n[\"default\"])({url:\"/Stock/StorageLocation/getAllStorageLocation\",method:\"post\",data:t})}function pt(t){return Object(n[\"default\"])({url:\"/Stock/StorageLocation/addStorageLocation\",method:\"post\",data:t})}function bt(t,e){return Object(n[\"default\"])({url:\"/Stock/StorageLocation/getStorageLocationInfo/\"+t,method:\"post\",data:e})}function _t(t,e){return Object(n[\"default\"])({url:\"/Stock/StorageLocation/enableStorageLocation/\"+t,method:\"post\",data:e})}function vt(t,e){return Object(n[\"default\"])({url:\"/Stock/StorageLocation/updateStorageLocation/\"+t,method:\"post\",data:e})}function kt(t){return Object(n[\"default\"])({url:\"/Stock/Inventory/getAreaDateBySkuId\",method:\"post\",data:t})}function It(t){return Object(n[\"default\"])({url:\"/Stock/ReportLoss/addReportLoss\",method:\"post\",data:t})}function St(t){return Object(n[\"default\"])({url:\"/Stock/ReportLoss/getAllReportLoss\",method:\"post\",data:t})}function Ot(t,e){return Object(n[\"default\"])({url:\"/Stock/ReportLoss/getReportLossInfo/\"+t,method:\"get\",data:e})}function jt(t,e){return Object(n[\"default\"])({url:\"/Stock/ReportLoss/auditReportLoss/\"+t,method:\"put\",data:e})}function yt(t,e){return Object(n[\"default\"])({url:\"/Stock/ReportLoss/deleteReportLoss/\"+t,method:\"delete\",data:e})}function At(t){return Object(n[\"default\"])({url:\"Stock/InventoryIn/countPurchaseCost\",method:\"post\",data:t})}function xt(t){return Object(n[\"default\"])({url:\"stock/Inventory/getInventoryByWarehouseId\",responseType:\"blob\",method:\"post\",data:t})}function Nt(t){return Object(n[\"default\"])({url:\"Stock/Allocate/getAllAllocate\",responseType:\"blob\",method:\"post\",data:t})}function Dt(t,e){return Object(n[\"default\"])({url:\"Stock/Picking/getPickingInfo/\"+t,method:\"post\",data:e})}function Pt(t){return Object(n[\"default\"])({url:\"Stock/Picking/addPicking\",method:\"post\",data:t})}function Lt(t){return Object(n[\"default\"])({url:\"Stock/Picking/getAllPicking\",method:\"post\",data:t})}function Rt(t){return Object(n[\"default\"])({url:\"Stock/Picking/getAllPickingGoodsDetail\",method:\"post\",data:t})}},8204:function(t,e,o){t.exports=o.p+\"static/img/print-tag.0e953afe.png\"},\"8e79\":function(t,e,o){\"use strict\";o(\"4616\")},e39a:function(t,e,o){\"use strict\";o.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(\"div\",{staticClass:\"print-box\"},[n(\"el-row\",{staticClass:\"tem-row\"},[n(\"el-col\",{attrs:{span:24}},[n(\"div\",{staticClass:\"tem-img\",attrs:{id:\"printTest\"}},[n(\"div\",{staticClass:\"clearfix\",staticStyle:{\"font-size\":\"12px\"}},[n(\"div\",{staticClass:\"float_left\"},[n(\"span\",[t._v(\"打印时间:\"+t._s(t.no_time))]),t.orderDetail.printNum?n(\"span\",{staticStyle:{\"margin-left\":\"10px\"}},[t._v(\" 第\"+t._s(t.orderDetail.printNum+1)+\"次打印 \")]):t._e()]),n(\"div\",{staticClass:\"float_right\"},[t.orderDetail.serialNum?n(\"p\",{staticStyle:{\"padding-bottom\":\"3px\",\"font-weight\":\"bold\"}},[t._v(\" \"+t._s(t.orderDetail.serialNum)+\" \")]):t._e(),n(\"p\",[t._v(t._s(t.enterprise_title)+\"技术支持\")])])]),t.orderDetail.printingNum>0?n(\"div\",{staticClass:\"print-tag\"},[n(\"img\",{attrs:{src:o(\"8204\"),alt:\"\"}})]):t._e(),n(\"p\",{staticStyle:{\"font-size\":\"20px\",\"text-align\":\"center\"}},[t.form_obj.basic.indexOf(\"enterprise\")>-1?n(\"span\",[t._v(\" \"+t._s(t.orderDetail.shopName)+\" \")]):t._e(),t._v(\" \"+t._s(t.orderDetail.typeName)+\" \")]),n(\"div\",{staticClass:\"infomation\"},[t.form_obj.basic.indexOf(\"createTime\")>-1?n(\"span\",[t._v(\" 制单日期:\"+t._s(t.$_common.formatDate(t.orderDetail.createTime))+\" \")]):t._e(),t.form_obj.basic.indexOf(\"orderNo\")>-1?n(\"span\",{staticStyle:{\"padding-left\":\"20px\"}},[t._v(\" 单据号:\"+t._s(t.orderDetail.no)+\" \")]):t._e(),n(\"br\")]),n(\"div\",{attrs:{id:\"second\"}},[n(\"table\",{staticClass:\"goods-table\",staticStyle:{width:\"100%\",\"margin-top\":\"10px\"},attrs:{border:\"1\"}},[n(\"tr\",[t.form_obj.goods.indexOf(\"goodsId\")>-1?n(\"th\",[t._v(\"序号\")]):t._e(),t.form_obj.goods.indexOf(\"goodsName\")>-1?n(\"th\",[t._v(\" 商品名称 \")]):t._e(),t.form_obj.goods.indexOf(\"unitName\")>-1?n(\"th\",[t._v(\"单位\")]):t._e(),t.form_obj.goods.indexOf(\"specName\")>-1?n(\"th\",[t._v(\"属性\")]):t._e(),t.form_obj.goods.indexOf(\"purchaseNum\")>-1?n(\"th\",[t._v(\" 采购数量 \")]):t._e(),t.form_obj.goods.indexOf(\"WarehousingNum\")>-1?n(\"th\",[t._v(\" 入库数量 \")]):t._e(),t.form_obj.goods.indexOf(\"unitPrice\")>-1&&t.$accessCheck(t.$Access.moneyshowstockInMoenyShow)?n(\"th\",[t._v(\" 单价 \")]):t._e(),t.form_obj.goods.indexOf(\"totalPrice\")>-1&&t.$accessCheck(t.$Access.moneyshowstockInMoenyShow)?n(\"th\",[t._v(\" 总价 \")]):t._e(),t.form_obj.goods.indexOf(\"reservoirArea\")>-1&&\"5\"===t.enableLocationManagement?n(\"th\",[t._v(\" 库区 \")]):t._e(),t.form_obj.goods.indexOf(\"location\")>-1&&\"5\"===t.enableLocationManagement?n(\"th\",[t._v(\" 库位 \")]):t._e(),t.form_obj.goods.indexOf(\"strageCode\")>-1?n(\"th\",[t._v(\" 货架编码 \")]):t._e(),t.form_obj.goods.indexOf(\"barCode\")>-1?n(\"th\",[t._v(\"商品条码\")]):t._e()]),t._l(t.orderDetail.details,(function(e,o){return n(\"tr\",{key:o},[t.form_obj.goods.indexOf(\"goodsId\")>-1?n(\"td\",[t._v(\" \"+t._s(o+1)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"goodsName\")>-1?n(\"td\",[t._v(\" \"+t._s(e.materielName)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"unitName\")>-1?n(\"td\",[t._v(\" \"+t._s(e.unitName)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"specName\")>-1?n(\"td\",[t._v(\" \"+t._s(e.skuName)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"purchaseNum\")>-1?n(\"td\",[t._v(\" \"+t._s(t.$_common.formatNub(e.num))+\" \")]):t._e(),t.form_obj.goods.indexOf(\"WarehousingNum\")>-1?n(\"td\",[t._v(\" \"+t._s(t.$_common.formatNub(e.inNum))+\" \"),5===e.isEq?n(\"span\",[t._v(\" ( 其他单位:\"+t._s(t.$_common.formatNub(e.otherNum))+\") \")]):t._e()]):t._e(),t.form_obj.goods.indexOf(\"unitPrice\")>-1&&t.$accessCheck(t.$Access.moneyshowstockInMoenyShow)?n(\"td\",[t._v(\" \"+t._s(t.$_common.formattedNumber(e.unitPrice))+\" \")]):t._e(),t.form_obj.goods.indexOf(\"totalPrice\")>-1&&t.$accessCheck(t.$Access.moneyshowstockInMoenyShow)?n(\"td\",[t._v(\" \"+t._s(t.$_common.formattedNumber(e.totalPrice))+\" \")]):t._e(),t.form_obj.goods.indexOf(\"reservoirArea\")>-1&&\"5\"===t.enableLocationManagement?n(\"td\",[t._v(\" \"+t._s(e.areaName)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"location\")>-1&&\"5\"===t.enableLocationManagement?n(\"td\",[t._v(\" \"+t._s(e.storageLocationName)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"strageCode\")>-1?n(\"td\",[t._v(\" \"+t._s(e.skuStorage)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"barCode\")>-1?n(\"td\",[t._v(\" \"+t._s(e.skuBarCode)+\" \")]):t._e()])})),n(\"tr\",[t.form_obj.goods.indexOf(\"goodsId\")>-1?n(\"td\",{staticStyle:{\"text-align\":\"center\"},attrs:{colspan:\"1\"}},[t._v(\" 合计: \")]):t._e(),t.form_obj.goods.indexOf(\"goodsName\")>-1?n(\"td\",[t._v(\"--\")]):t._e(),t.form_obj.goods.indexOf(\"unitName\")>-1?n(\"td\",[t._v(\"--\")]):t._e(),t.form_obj.goods.indexOf(\"specName\")>-1?n(\"td\",[t._v(\"--\")]):t._e(),t.form_obj.goods.indexOf(\"purchaseNum\")>-1?n(\"td\",[t._v(\" \"+t._s(t.totalNum)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"WarehousingNum\")>-1?n(\"td\",[t._v(\" \"+t._s(t.totalWarehousingNum)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"unitPrice\")>-1?n(\"td\",[t._v(\"--\")]):t._e(),t.form_obj.goods.indexOf(\"totalPrice\")>-1?n(\"td\",[t._v(\" \"+t._s(t.totalMoney)+\" \")]):t._e(),t.form_obj.goods.indexOf(\"reservoirArea\")>-1&&\"5\"===t.enableLocationManagement?n(\"td\",[t._v(\" -- \")]):t._e(),t.form_obj.goods.indexOf(\"location\")>-1&&\"5\"===t.enableLocationManagement?n(\"td\",[t._v(\" -- \")]):t._e(),t.form_obj.goods.indexOf(\"strageCode\")>-1?n(\"td\",[t._v(\"--\")]):t._e(),t.form_obj.goods.indexOf(\"barCode\")>-1?n(\"td\",[t._v(\"--\")]):t._e()]),t.form_obj.other.indexOf(\"remark\")>-1&&t.$accessCheck(t.$Access.moneyshowstockInMoenyShow)?n(\"tr\",[n(\"td\",{staticClass:\"remarks\",attrs:{colspan:t.form_obj.goods.length}},[n(\"pre\",[t._v(\"备注:\"+t._s(t.orderDetail.remark))])])]):n(\"tr\",[n(\"td\",{staticClass:\"remarks\",attrs:{colspan:\"10\"}},[n(\"pre\",[t._v(\"备注:\"+t._s(t.orderDetail.remark))])])])],2)]),n(\"div\",{staticClass:\"sign clearfix\"},[t.form_obj.other.indexOf(\"signature\")>-1?n(\"span\",{staticClass:\"float_left\"},[t._v(\" 签字确认: \")]):t._e(),n(\"span\",{staticClass:\"float_right\"},[t._v(\"经手人:\"+t._s(t.userName))])])])]),n(\"div\",{staticStyle:{\"text-align\":\"center\"}},[n(\"el-button\",{directives:[{name:\"print\",rawName:\"v-print\",value:\"#printTest\",expression:\"'#printTest'\"}],attrs:{type:\"primary\"},on:{click:t.PrintNumPrintIncr}},[t._v(\" 确认打印(已打印\"+t._s(t.orderDetail.printNum||0)+\"次) \")])],1)],1)],1)},r=[],a=o(\"e9df\"),u=o(\"478b\"),d=o(\"d8dd\"),i=o(\"2934\"),c=o(\"2f62\"),s={name:\"StoragePrinting\",data(){return{no_time:\"\",tableData:[],add_form:{},form_obj:{basic:[],goods:[],other:[]},meal_id:3,EnToken:Object(a[\"getEnToken\"])(),info_list:[],orderDetail:{details:[]}}},computed:{...Object(c[\"c\"])({enableLocationManagement:\"MUser/enableLocationManagement\"}),totalNum(){if(this.orderDetail.details.length){if(1===this.orderDetail.details.length)return this.orderDetail.details[0].num-0;{let t=0;for(let e in this.orderDetail.details){const o=this.orderDetail.details[e];t=this.$NP.plus(t,o.num-0)}return t}}return 0},totalWarehousingNum(){if(this.orderDetail.details.length){if(1===this.orderDetail.details.length)return this.orderDetail.details[0].inNum-0;{let t=0;for(let e in this.orderDetail.details){const o=this.orderDetail.details[e];t=this.$NP.plus(t,o.inNum-0)}return t}}return 0},totalMoney(){if(this.orderDetail.details.length){if(1===this.orderDetail.details.length)return this.orderDetail.details[0].totalPrice-0;{let t=0;for(let e in this.orderDetail.details){const o=this.orderDetail.details[e];t=this.$NP.plus(t,o.totalPrice-0)}return t}}return 0}},created(){this.no_time=this.$_common.formatDate((new Date).getTime()),this.getTemplateInfo(),this.getPurchaseInInfo()},methods:{async PrintNumPrintIncr(){await Object(i[\"PrintNumPrintIncr\"])({objectNo:this.orderDetail.no,objectType:this.orderDetail.type});this.orderDetail.printNum+=1,setTimeout(()=>{window.close()},1e3)},async getTemplateInfo(){const{data:t}=await Object(d[\"getTemplateInfo\"])(this.meal_id);this.info_list=t.fieldsData,this.add_form=t.fieldsData.templateInfo,this.form_obj.basic=this.add_form.basic.filter(t=>5===t.isShow).map(t=>t.alias),this.form_obj.goods=this.add_form.goods.filter(t=>5===t.isShow).map(t=>t.alias),this.form_obj.other=this.add_form.other.filter(t=>5===t.isShow).map(t=>t.alias)},async getPurchaseInInfo(){const t=await Object(u[\"getPurchaseInInfo\"])(this.$route.params.id);this.orderDetail=t.data}}},l=s,f=(o(\"8e79\"),o(\"2877\")),m=Object(f[\"a\"])(l,n,r,!1,null,\"37a89675\",null);e[\"default\"]=m.exports}}]);","extractedComments":[]}
|