futian.liu
2023-12-20 854cbc47742ee83eb30062a12b9f3ed7c8ed0941
admin-web/src/views/departmentitem/itemret/returnNote/index.vue
@@ -34,13 +34,13 @@
                        </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>
@@ -72,7 +72,6 @@
</template>
<script>
import {outputList} from '@/api/stock/accessStock';
import MyButton from '@/components/myButton/myButton';
import myImport from '@/views/components/myImport';
import edit from './edit';
@@ -80,6 +79,7 @@
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',
@@ -99,7 +99,7 @@
        },
        {
          type: 'select',
          dataIndex: 'inAgencyId',
          dataIndex: 'departmentId',
          label: '分发部门',
          placeholder: '请选择',
          optionsConfig: {
@@ -125,7 +125,7 @@
        },
        {
          type: 'text',
          dataIndex: 'operatorName',
          dataIndex: 'createName',
          label: '创建人',
          placeholder: '请输入',
          defaultValue: '',
@@ -145,10 +145,13 @@
      ],
    };
  },
  created() {
    this.fetchData()
  },
  methods: {
    fetchData() {
      this.loading = true;
      outputList({
      returnList({
        pageNum: this.pageNum,
        pageSize: this.pageSize,
        ...this.filterFrom,
@@ -156,6 +159,8 @@
        this.list = res.datas;
        this.total = res.totalRows;
        this.loading = false;
      }).catch(()=>{
        this.loading = false;
      });
    },
  },