Browse Source

生成标签修改

hella_online_20241011
zhaoxuebing 2 months ago
parent
commit
f365930f4b
  1. 6
      src/api/wms/purchasereceiptRequestDetail/index.ts
  2. 13
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

6
src/api/wms/purchasereceiptRequestDetail/index.ts

@ -46,6 +46,12 @@ export const getPurchasereceiptRequestDetailPage = async (params) => {
} }
} }
// 查询采购收货申请子标签列表
export const getPurchasereceiptRequestDetailLabelList = async (params) => {
return await request.get({ url: `/wms/purchasereceipt-request-detail/pageLabel`, params })
}
// 查询备件收货申请子列表 // 查询备件收货申请子列表
export const getPurchasereceiptRequestDetailPageSpare = async (params) => { export const getPurchasereceiptRequestDetailPageSpare = async (params) => {
if (params.isSearch) { if (params.isSearch) {

13
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

@ -106,7 +106,7 @@
@success="getList" @success="getList"
:tableAllSchemas="PurchasereceiptRequestDetailLabel.allSchemas" :tableAllSchemas="PurchasereceiptRequestDetailLabel.allSchemas"
:tableFormRules="PurchasereceiptRequestDetailRules" :tableFormRules="PurchasereceiptRequestDetailRules"
:tableData="detatableData.tableList" :tableData="detatableDataLabel.tableList"
:isBusiness="true" :isBusiness="true"
:isShowButton="false" :isShowButton="false"
:isShowReduceButton="false" :isShowReduceButton="false"
@ -437,7 +437,7 @@ const buttonTableClick = async (val, row) => {
openForm('update', row) openForm('update', row)
} else if(val == 'ssbq'){ // } else if(val == 'ssbq'){ //
// //
detatableData.params = { detatableDataLabel.params = {
masterId:row.masterId masterId:row.masterId
} }
genLabelId.value = row.masterId genLabelId.value = row.masterId
@ -455,7 +455,7 @@ const buttonTableClick = async (val, row) => {
} }
}) })
} }
await getDetailList() await getDetailListList()
formLabelRef.value.open('create', row, null,'createLabel')// createLabel formLabelRef.value.open('create', row, null,'createLabel')// createLabel
}else if (val == 'point') { }else if (val == 'point') {
// //
@ -488,6 +488,13 @@ const { tableObject: detatableData, tableMethods: detatableMethods } =useTable({
}) })
const { getList:getDetailList } = detatableMethods const { getList:getDetailList } = detatableMethods
const { tableObject: detatableDataLabel, tableMethods: detatableMethodLabels } =useTable({
getListApi: PurchasereceiptRequestDetailApi.getPurchasereceiptRequestDetailLabelList
})
const { getList:getDetailListList } = detatableMethodLabels
// //
const submitFormLabel = async (formType, submitData) => { const submitFormLabel = async (formType, submitData) => {
let data = {...submitData} let data = {...submitData}

Loading…
Cancel
Save