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";
export default {
name: "Package",
components: {
ImageAndVideoUpload,
WarehouseRecordDetail,
......
......@@ -5,7 +5,11 @@
<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
-->
......@@ -234,6 +238,11 @@
v-if="!!packageOrderItem"
@close="onPackageClose"
></package>
<new-product
:order="order"
v-if="showNewProductDialog"
@close="onPackageClose"
></new-product>
<media-dialog v-if="curPictrues" :value="curPictrues" @close="curPictrues=null"></media-dialog>
</div>
</template>
......@@ -277,7 +286,8 @@ export default {
PrintWarehouseReceipt,
imageUpload,
ImageAndVideoUpload,
Package
Package,
NewProduct: () => import('@/views/ecw/order/stocking/components/NewProduct.vue')
},
mounted() {
......@@ -346,7 +356,9 @@ export default {
packageWarehouseItem: null,
productAttrList: [],
// 当前查看的影像
curPictrues: null
curPictrues: null,
// 是否显示添加新品弹窗
showNewProductDialog: false
}
},
......@@ -437,6 +449,7 @@ export default {
onPackageClose(){
this.packageOrderItem=null;
this.packageOrderItem=null;
this.showNewProductDialog = false
this.getList()
},
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