Commit 41208115 by qinjianhui

fix: 问题修改

parent 703fa4a0
...@@ -971,7 +971,7 @@ ...@@ -971,7 +971,7 @@
</el-dialog> </el-dialog>
<right-menu <right-menu
ref="rightMenuRef" ref="rightMenuRef"
:show_copy_shop_number=" :show-copy-shop-number="
['IN_PRODUCTION', 'TO_BE_CONFIRMED', 'WAIT_SHIPMENT'].includes(status) ['IN_PRODUCTION', 'TO_BE_CONFIRMED', 'WAIT_SHIPMENT'].includes(status)
" "
@change="rightChange" @change="rightChange"
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<button @click="$emit('change', 'clear_check')">取消选择</button> <button @click="$emit('change', 'clear_check')">取消选择</button>
<button @click="$emit('change', 'copy_code')">复制选中生产单号</button> <button @click="$emit('change', 'copy_code')">复制选中生产单号</button>
<button v-if="show_copy_shop_number" @click="$emit('change', 'copy_shopNumber')">复制选中店铺单号</button> <button v-if="showCopyShopNumber" @click="$emit('change', 'copy_shopNumber')">复制选中店铺单号</button>
<button v-if="show_copy_shop_number" @click="$emit('change', 'count')">统计数量</button> <button v-if="showCopyShopNumber" @click="$emit('change', 'count')">统计数量</button>
</div> </div>
<!-- </div> --> <!-- </div> -->
</template> </template>
...@@ -20,7 +20,7 @@ interface E{ ...@@ -20,7 +20,7 @@ interface E{
y:number y:number
} }
defineProps({ defineProps({
show_copy_shop_number:{ showCopyShopNumber:{
type:Boolean, type:Boolean,
default:true default:true
} }
......
...@@ -725,7 +725,11 @@ ...@@ -725,7 +725,11 @@
></ElPagination> ></ElPagination>
</div> </div>
</div> </div>
<right-menu ref="rightMenuRef" @change="rightChange" /> <right-menu
ref="rightMenuRef"
:show-copy-shop-number="false"
@change="rightChange"
/>
<el-dialog <el-dialog
v-model="confirmDialogShow" v-model="confirmDialogShow"
:close-on-click-modal="false" :close-on-click-modal="false"
...@@ -916,6 +920,7 @@ import PodMakeOrder from './PodMakeOrder.vue' ...@@ -916,6 +920,7 @@ import PodMakeOrder from './PodMakeOrder.vue'
import { OrderData } from '@/types/api/podMakeOrder' import { OrderData } from '@/types/api/podMakeOrder'
import useLodop, { LODOPObject } from '@/utils/hooks/useLodop' import useLodop, { LODOPObject } from '@/utils/hooks/useLodop'
import dayjs from 'dayjs' import dayjs from 'dayjs'
import rightMenu from '../pod/rightMenu.vue'
declare global { declare global {
interface Window { interface Window {
......
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