@ -97,7 +97,7 @@
/ >
/ >
<!-- 导入 -- >
<!-- 导入 -- >
< ImportForm ref = "importFormRef" url = "/wms/purchase-plan-main/import" :importTemplateData ="importTemplateData"
< ImportForm ref = "importFormRef" url = "/wms/purchase-plan-main/import" :importTemplateData ="importTemplateData" : announcements = "announcements"
@ success = "importSuccess" : updateIsDisable = "false" : appendIsDisable = "true" : coverIsDisable = "true" : mode = "1" : coverIsShow = "false" : appendIsShow = "false" / >
@ success = "importSuccess" : updateIsDisable = "false" : appendIsDisable = "true" : coverIsDisable = "true" : mode = "1" : coverIsShow = "false" : appendIsShow = "false" / >
<!-- 创建供应商发货申请 -- >
<!-- 创建供应商发货申请 -- >
< supplierdeliverBasicForm ref = "supplierdeliverFormRef" @getList ="getList" > < / supplierdeliverBasicForm >
< supplierdeliverBasicForm ref = "supplierdeliverFormRef" @getList ="getList" > < / supplierdeliverBasicForm >
@ -117,6 +117,15 @@
import * as PurchaseMainApi from '@/api/wms/purchaseMain'
import * as PurchaseMainApi from '@/api/wms/purchaseMain'
import { PurchaseMain } from '../purchaseMain/purchaseMain.data'
import { PurchaseMain } from '../purchaseMain/purchaseMain.data'
import { DICT_TYPE , getStrDictOptions } from '@/utils/dict'
import { DICT_TYPE , getStrDictOptions } from '@/utils/dict'
const { wsCache } = useCache ( )
const language = wsCache . get ( 'lang' )
const announcements = ref < any > ( [ ] )
if ( 'en-US' == language ) {
announcements . value = [ "1. The total number of data items of the quantity of goods in the template does not exceed 1000 data (row × column)." , "2. All data content in the template is in text format, and formula content cannot be used as import data" , "3. The delivery date is in YYYY-MM-DD format, no hours, minutes and seconds are required" ]
} else {
announcements . value = [ "1. 模板中要货数量数据项总数不超过1000个数据(行×列)" , "2. 模板中全部数据内容格式为文本格式,不能使用公式内容作为导入数据" , "3. 要货日期为YYYY-MM-DD格式,不需填写时分秒" ]
}
/ / 要 货 计 划
/ / 要 货 计 划
defineOptions ( { name : 'PurchasePlanMain' } )
defineOptions ( { name : 'PurchasePlanMain' } )
@ -479,7 +488,6 @@ const getSearchTableData = async (number,formField,searchField)=>{
}
}
}
}
/ / 获 取 部 门 用 于 详 情 部 门 回 显
/ / 获 取 部 门 用 于 详 情 部 门 回 显
const { wsCache } = useCache ( )
/** 详情操作 */
/** 详情操作 */
const detailRef = ref ( )
const detailRef = ref ( )
const openDetail = ( row : any , titleName : any , titleValue : any ) => {
const openDetail = ( row : any , titleName : any , titleValue : any ) => {