zx/public/static/js/pages-product-addGoods-modi...

1 line
30 KiB
JavaScript
Raw Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-addGoods-modifyPrice"],{"0d1c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return c})),i.d(e,"a",(function(){return a}));var a={uniPopup:i("8d5d").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[t._l(t.multiSpecificationList,(function(e,n){return a("v-uni-view",{key:n,staticClass:"multiSpecifica_container"},[a("v-uni-view",{staticStyle:{background:"#fff"}},[a("v-uni-view",{staticClass:"multiSpecifica_container_imageItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clk(n)}}},[a("v-uni-view",{staticClass:"multiSpecifica_container_imageItem_label"},[t.isBatchOperation?a("v-uni-view",{staticClass:"batchOperation",class:{selectEd:e.select},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.selectGoods(e)}}},[a("v-uni-view",[e.select?a("span",{staticClass:"iconfont"},[t._v("")]):t._e()])],1):t._e(),a("v-uni-view",[t._v("商品图")])],1),a("v-uni-view",{staticClass:"multiSpecifica_container_imageItem_value"},[e.image?a("v-uni-image",{staticClass:"myimg2",attrs:{src:e.image}}):a("v-uni-view",{staticClass:"hanlerImage"},[a("v-uni-view",[a("v-uni-image",{attrs:{src:i("1c9f"),mode:"widthFix"}})],1),a("v-uni-view",[t._v("添加图片")])],1)],1)],1),a("v-uni-view",{staticClass:"multiSpecifica_container_item"},[a("v-uni-view",{staticClass:"multiSpecifica_container_item_label flex-start"},[t._v("规格信息")]),a("v-uni-view",{staticClass:"multiSpecifica_container_item_value"},t._l(Object.values(e.detail),(function(e,i){return a("v-uni-text",{key:i,staticClass:"attributes"},[t._v(t._s(e))])})),1)],1),a("v-uni-view",{staticClass:"multiSpecifica_container_item"},[a("v-uni-view",{staticClass:"multiSpecifica_container_item_label flex-start"},[t._v("售价")]),a("v-uni-view",{staticClass:"multiSpecifica_container_item_value"},[a("v-uni-input",{attrs:{type:"number",placeholder:"请填写商品售价"},model:{value:e.price,callback:function(i){t.$set(e,"price",i)},expression:"item.price"}})],1)],1),a("v-uni-view",{staticClass:"multiSpecifica_container_item"},[a("v-uni-view",{staticClass:"multiSpecifica_container_item_label flex-start"},[t._v("成本价")]),a("v-uni-view",{staticClass:"multiSpecifica_container_item_value"},[a("v-uni-input",{attrs:{type:"number",placeholder:"请填写商品成本价"},model:{value:e.cost,callback:function(i){t.$set(e,"cost",i)},expression:"item.cost"}})],1)],1),a("v-uni-view",{staticClass:"multiSpecifica_container_item"},[a("v-uni-view",{staticClass:"multiSpecifica_container_item_label flex-start"},[t._v("原价")]),a("v-uni-view",{staticClass:"multiSpecifica_container_item_value"},[a("v-uni-input",{attrs:{type:"number",placeholder:"请填写商品原价"},model:{value:e.ot_price,callback:function(i){t.$set(e,"ot_price",i)},expression:"item.ot_price"}})],1)],1),e.more_thanFlag?a("v-uni-view",[a("v-uni-view",{staticClass:"multiSpecifica_container_item"},[a("v-uni-view",{staticClass:"multiSpecifica_container_item_label flex-start"},[t._v("库存")]),a("v-uni-view",{staticClass:"multiSpecifica_container_item_value"},[a("v-uni-input",{attrs:{type:"number",placeholder:"请填写商品库存"},model:{value:e.stock,callback:function(i){t.$set(e,"stock",i)},expression:"item.stock"}})],1)],1),a("v-uni-view",{staticClass:"multiSpecifica_container_item"},[a("v-uni-view",{staticClass:"multiSpecifica_container_item_label flex-start"},[t._v("商品编号")]),a("v-uni-view",{staticClass:"multiSpecifica_container_item_value"},[a("v-uni-input",{attrs:{type:"text",placeholder:"请填写商品编号"},model:{value:e.bar_code,callback:function(i){t.$set(e,"bar_code",i)},expression:"item.bar_code"}})],1)],1),a("v-uni-view",{staticClass:"multiSpecifica_container_item"},[a("v-uni-view",{staticClass:"multiSpecifica_container_item_label flex-start"},[t._v("重量")]),a("v-uni-view",{staticClass:"multiSpecifica_container_item_value"},[a("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请填写商品<EFBFBD><EFBFBD>