|
@ -29,7 +29,7 @@ |
|
|
<view v-for="(record,index) in batch.Records"> |
|
|
<view v-for="(record,index) in batch.Records"> |
|
|
<uni-swipe-action ref="swipeAction"> |
|
|
<uni-swipe-action ref="swipeAction"> |
|
|
<uni-swipe-action-item @click="swipeClick($event,batch,record,index)" |
|
|
<uni-swipe-action-item @click="swipeClick($event,batch,record,index)" |
|
|
:right-options="scanOptions"> |
|
|
:right-options="settingParam.allowModifyQty=='TRUE'?scanOptions:removeOptions"> |
|
|
<!-- <view class="card_view" v-if="record.parentPackingNumber" > |
|
|
<!-- <view class="card_view" v-if="record.parentPackingNumber" > |
|
|
<text class="card_packing_code card_content ">外包装</text> |
|
|
<text class="card_packing_code card_content ">外包装</text> |
|
|
<text class="card_content ">{{record.parentPackingNumber}}</text> |
|
|
<text class="card_content ">{{record.parentPackingNumber}}</text> |
|
@ -70,7 +70,8 @@ |
|
|
|
|
|
|
|
|
import { |
|
|
import { |
|
|
getDetailOption, |
|
|
getDetailOption, |
|
|
getEditRemoveOption |
|
|
getEditRemoveOption, |
|
|
|
|
|
getRemoveOption |
|
|
} from '@/common/array.js'; |
|
|
} from '@/common/array.js'; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
@ -107,13 +108,15 @@ |
|
|
editItem: {}, |
|
|
editItem: {}, |
|
|
batchItem: {}, |
|
|
batchItem: {}, |
|
|
detailOptions: [], |
|
|
detailOptions: [], |
|
|
scanOptions: [] |
|
|
scanOptions: [], |
|
|
|
|
|
removeOptions:[] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
mounted() { |
|
|
mounted() { |
|
|
this.detailOptions = getDetailOption(); |
|
|
this.detailOptions = getDetailOption(); |
|
|
this.scanOptions = getEditRemoveOption(); |
|
|
this.scanOptions = getEditRemoveOption(); |
|
|
|
|
|
this.removeOptions = getRemoveOption() |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|