Browse Source

发货申请调用itembasicApi错误

master
chenfang 10 months ago
parent
commit
da931d1a66
  1. 2
      src/api/wms/itembasic/index.ts
  2. 2
      src/views/wms/basicDataManage/supplierManage/purchaseprice/index.vue
  3. 16
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  4. 17
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue

2
src/api/wms/itembasic/index.ts

@ -85,6 +85,6 @@ export const selectItembasicPageToFgAndSemibasicPage = async (params) => {
const data = {...params}
return request.post({ url: '/wms/itembasic/itembasicPageToFgAndSemiSenior', data })
} else {
return await request.get({ url: `/wms/itembasic/ItembasicPageToFgAndSemi`, params })
return await request.get({ url: `/wms/itembasic/itembasicPageToFgAndSemi`, params })
}
}

2
src/views/wms/basicDataManage/supplierManage/purchaseprice/index.vue

@ -55,8 +55,6 @@
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/purchaseprice/import" :importTemplateData="importTemplateData" @success="importSuccess"
:updateIsDisable="true"
:coverIsDisable="true"
:mode="2"
/>
</template>

16
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -5,6 +5,9 @@ import * as getRequestsettingApi from '@/api/wms/requestsetting/index'
import * as DeliverRecordMainApi from '@/api/wms/deliverRecordMain'
import { DeliverRecordMain } from '../../deliver/deliverRecordMain/deliverRecordMain.data'
import * as CustomerApi from '@/api/wms/customer'
import { Customer } from '../../../basicDataManage/customerManage/customer/customer.data'
import * as CustomerdockApi from '@/api/wms/customerdock'
import { Customerdock } from '../../../basicDataManage/customerManage/customerdock/customerdock.data'
@ -110,8 +113,19 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isSearch: true,
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
disabled: true
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择客户代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '客户月台信息', // 查询弹窗标题
searchAllSchemas: Customer.allSchemas, // 查询弹窗所需类
searchPage: CustomerApi.getCustomerPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
},

17
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue

@ -40,8 +40,15 @@
@searchTableSuccessDetail="searchTableSuccessDetail" />
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/purchase-main/import" :importTemplateData="importTemplateData"
@success="importSuccess" :isShowOut="true" :updateIsDisable="true" :coverIsDisable="true" :mode="2" />
<ImportForm
ref="importFormRef"
url="/wms/purchase-main/import"
:importTemplateData="importTemplateData"
@success="importSuccess"
:isShowOut="true"
:updateIsDisable="true"
:coverIsDisable="true"
:mode="2" />
</template>
<script setup lang="ts">
@ -172,16 +179,22 @@
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
openForm('update', row)
} else if (val == 'delete') { //
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
handleDelete(row.id)
} else if (val == 'mainOrderClo') { //
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
handleClose(row.id)
} else if (val == 'mainOrderOpe') { //
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
handleOpen(row.id)
} else if (val == 'mainOrderPub') { //
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
handlePublish(row.id)
} else if (val == 'mainOrderWit') { //
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
handleWit(row.id)
}
}

Loading…
Cancel
Save