| | |
| | | </div>
|
| | | </u-swipe-action-item>
|
| | | </u-swipe-action> |
| | | <SelectMaterial ref="selectMaterial" @selectAction="getValue"/>
|
| | | <SelectMaterial ref="selectMaterial" @selectAction="getValue"/> |
| | | <SelectMultipleMaterial ref="selectMultipleMaterial"/>
|
| | | </view>
|
| | | </template>
|
| | |
|
| | | <script>
|
| | | import workOrderInfo from '@/components/workOrderInfo.vue' |
| | | import SelectMaterial from '@/components/selectMaterial.vue' |
| | | import SelectMultipleMaterial from '@/components/SelectMultipleMaterial.vue' |
| | |
|
| | | import {
|
| | | positiveInteger,
|
| | |
| | | export default {
|
| | | components: {
|
| | | workOrderInfo, |
| | | SelectMaterial
|
| | | SelectMaterial, |
| | | SelectMultipleMaterial
|
| | | },
|
| | | data() {
|
| | | return {
|
| | |
| | | }, |
| | | methods: {
|
| | | open1(index) { |
| | | this.$refs.selectMaterial.open({}) |
| | | // this.$refs.selectMaterial.open({}) |
| | | this.$refs.selectMultipleMaterial.open({}) |
| | | },
|
| | | deleItem(index) {
|
| | | if (this.materialList.length === 1) {
|