haoyahui
2023-11-22 9834dbff448908d2008d8c52a2544aad00c099b1
admin-web/src/views/stock/accessStock/outbound/index.vue
@@ -83,6 +83,7 @@
import edit from './edit';
import detail from './detail';
import listPage from '../../../mixins/listPage'
import SettingIplatform from '@/utils/settingIplatform';
export default {
  name: 'index',
@@ -101,11 +102,17 @@
          defaultValue: '',
        },
        {
          type: 'text',
          dataIndex: 'goodsName',
          type: 'select',
          dataIndex: 'goodsTemplateId',
          label: '物品名称',
          placeholder: '可模糊搜索',
          placeholder: '请输入',
          defaultValue: '',
          options: [],
          optionsConfig: {
            label: 'goodsName',
            value: 'id',
            url: SettingIplatform.apiBaseURL + '/pc/base/goods/template/query/goodsTemplate',
          },
        },
        {
          type: 'cascader',
@@ -138,6 +145,9 @@
      ],
    };
  },
  created(){
    this.fetchData()
  },
  methods: {
    fetchData() {
      this.loading = true;