@@ -2,7 +2,7 @@ import request from '@/router/axios';
export const getList = (current, size, params) => {
return request({
- url: '/api/finance/ordergoods/list',
+ url: '/api/finance/ordergoods/page',
method: 'get',
params: {
...params,
@@ -119,23 +119,12 @@
trigger: "blur"
}]
},
- {
- label: "设备型号",
- prop: "facilityType",
- editDisplay: false,
- addDisplay: false,
- rules: [{
- required: true,
- message: "请输入设备型号",
- trigger: "blur"
- }]
- },
{
label: "设备型号",
prop: "facilityType",
type: "select",
- all:true,
- hide: true,
+ // all:true,
+ // hide: true,
dicUrl: "/api/facility/facilitymodel/list?current=1&size=100",
dicFormatter: function (res) {
return res.data.records;
@@ -37,7 +37,7 @@
</template>
<script>
- import {getList, getDetail, add, update, remove, refund} from "@/api/finance/order";
+ import {getList, getDetail, add, update, remove, refund} from "@/api/finance/ordergoods";
import {mapGetters} from "vuex";
export default {