Commit 7c858866 authored by dragondean@qq.com's avatar dragondean@qq.com

打包添加新品

parent 855f489c
This diff is collapsed.
...@@ -242,7 +242,6 @@ import ImageAndVideoUpload from "@/components/ImageAndVideoUpload/index.vue"; ...@@ -242,7 +242,6 @@ import ImageAndVideoUpload from "@/components/ImageAndVideoUpload/index.vue";
export default { export default {
name: "Package", name: "Package",
components: { components: {
ImageAndVideoUpload, ImageAndVideoUpload,
WarehouseRecordDetail, WarehouseRecordDetail,
......
...@@ -5,7 +5,11 @@ ...@@ -5,7 +5,11 @@
<order-base-info :order="order" stocking></order-base-info> <order-base-info :order="order" stocking></order-base-info>
<h2>{{$t('货物信息')}}</h2> <div class="flex items-center">
<div class="flex-1 page-title">{{$t('货物信息')}}</div>
<el-button type="primary" @click="showNewProductDialog=true">{{$t('添加新品名')}}</el-button>
</div>
<!-- <!--
未入仓的不显示 https://zentao.test.jdshangmen.com/bug-view-5292.html 未入仓的不显示 https://zentao.test.jdshangmen.com/bug-view-5292.html
--> -->
...@@ -234,6 +238,11 @@ ...@@ -234,6 +238,11 @@
v-if="!!packageOrderItem" v-if="!!packageOrderItem"
@close="onPackageClose" @close="onPackageClose"
></package> ></package>
<new-product
:order="order"
v-if="showNewProductDialog"
@close="onPackageClose"
></new-product>
<media-dialog v-if="curPictrues" :value="curPictrues" @close="curPictrues=null"></media-dialog> <media-dialog v-if="curPictrues" :value="curPictrues" @close="curPictrues=null"></media-dialog>
</div> </div>
</template> </template>
...@@ -277,7 +286,8 @@ export default { ...@@ -277,7 +286,8 @@ export default {
PrintWarehouseReceipt, PrintWarehouseReceipt,
imageUpload, imageUpload,
ImageAndVideoUpload, ImageAndVideoUpload,
Package Package,
NewProduct: () => import('@/views/ecw/order/stocking/components/NewProduct.vue')
}, },
mounted() { mounted() {
...@@ -346,7 +356,9 @@ export default { ...@@ -346,7 +356,9 @@ export default {
packageWarehouseItem: null, packageWarehouseItem: null,
productAttrList: [], productAttrList: [],
// 当前查看的影像 // 当前查看的影像
curPictrues: null curPictrues: null,
// 是否显示添加新品弹窗
showNewProductDialog: false
} }
}, },
...@@ -437,6 +449,7 @@ export default { ...@@ -437,6 +449,7 @@ export default {
onPackageClose(){ onPackageClose(){
this.packageOrderItem=null; this.packageOrderItem=null;
this.packageOrderItem=null; this.packageOrderItem=null;
this.showNewProductDialog = false
this.getList() this.getList()
}, },
showMedia(orderItem){ showMedia(orderItem){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment