| | |
| | | </div> |
| | | </div> |
| | | <div class="card-end"> |
| | | <div v-for="(just, index) in item.goods" :key="index" class="item"> |
| | | <div v-for="(just, index) in item.goodsTemplateInfoList" :key="index" class="item"> |
| | | <div class="name">{{ just.baseGoodsTemplateName }}</div> |
| | | <div class="value-box"> |
| | | <div class="value-box-item"> |
| | | <span class="label">数量:</span> |
| | | <span class="value">{{ just.totalCount }}</span> |
| | | <span class="unit">{{ just.unit }}</span> |
| | | <span class="value">{{ just.count }}</span> |
| | | <span class="unit">{{ just.unit||'' }}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {outputList} from '@/api/stock/accessStock'; |
| | | import MyButton from '@/components/myButton/myButton'; |
| | | import myImport from '@/views/components/myImport'; |
| | | import edit from './edit'; |
| | |
| | | import listPage from '@/views/mixins/listPage' |
| | | import {getUserDetail} from "@/utils/auth"; |
| | | import SettingIplatform from "@/utils/settingIplatform"; |
| | | import {returnList} from "@/api/deptGoods/itemret"; |
| | | |
| | | export default { |
| | | name: 'index', |
| | |
| | | }, |
| | | { |
| | | type: 'select', |
| | | dataIndex: 'inAgencyId', |
| | | dataIndex: 'departmentId', |
| | | label: '分发部门', |
| | | placeholder: '请选择', |
| | | optionsConfig: { |
| | |
| | | }, |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'operatorName', |
| | | dataIndex: 'createName', |
| | | label: '创建人', |
| | | placeholder: '请输入', |
| | | defaultValue: '', |
| | |
| | | ], |
| | | }; |
| | | }, |
| | | created() { |
| | | this.fetchData() |
| | | }, |
| | | methods: { |
| | | fetchData() { |
| | | this.loading = true; |
| | | outputList({ |
| | | returnList({ |
| | | pageNum: this.pageNum, |
| | | pageSize: this.pageSize, |
| | | ...this.filterFrom, |
| | |
| | | this.list = res.datas; |
| | | this.total = res.totalRows; |
| | | this.loading = false; |
| | | }).catch(()=>{ |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | }, |