Browse Source

first commit

liuhairui 9 months ago
parent
commit
a68d2643a8
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/view/performance/chukubaogong.vue

+ 4 - 4
src/view/performance/chukubaogong.vue

@@ -258,7 +258,7 @@ export default {
 // 全量引入格式化工具 请按需保留
 import { Layout, LayoutSider, LayoutContent } from '@arco-design/web-vue';
 import {ref, reactive} from 'vue'
-import {getSpotList,getSpotTab,orderSearch,outReport,orderBomList,FabricDetail,gitReceiptNumber,FabricDetaillist,FabricDetaildel} from '@/api/mes/job'
+import {getSpotList,getSpotTab,InputOrderSearch,outReport,orderBomList,FabricDetail,gitReceiptNumber,FabricDetaillist,FabricDetaildel} from '@/api/mes/job'
 import { ElMessage, ElMessageBox,ElUpload, ElButton } from 'element-plus';
 // import { get } from 'scriptjs';
 import { useUserStore } from '@/pinia/modules/user'
@@ -303,7 +303,7 @@ const _kh = ref('')//生产款号
 const handleInput = async ()=>{
 	restableData.splice(0, restableData.length);//清空表格
 	//订单信息数据查询【接口】
-	const orderSearchdata = await orderSearch({search:add_searchInfo.value});
+	const orderSearchdata = await InputOrderSearch({search:add_searchInfo.value});
 	if(orderSearchdata.data.length === 1){
 		_orderid.value = orderSearchdata.data[0]['订单编号']
 		add_searchInfo.value = orderSearchdata.data[0]['订单编号']
@@ -329,7 +329,7 @@ const handleInput = async ()=>{
 const add_onSubmit = async ()=>{
 	restableData.splice(0, restableData.length);//清空表格
 	//订单信息数据查询【接口】
-	const orderSearchdata = await orderSearch({search:add_searchInfo.value});
+	const orderSearchdata = await InputOrderSearch({search:add_searchInfo.value});
 	if(orderSearchdata.data.length === 1){
 		res_bomdialogFormVisible.value = true
 		_orderid.value = orderSearchdata.data[0]['订单编号']
@@ -369,7 +369,7 @@ const tableRowClick = async (row)=>{
 
 //查询
 const add_lyonSubmit = async ()=>{
-	const orderSearchdata = await orderSearch({search:add_lysearchInfo.value});
+	const orderSearchdata = await InputOrderSearch({search:add_lysearchInfo.value});
 	if(orderSearchdata.data.length === 1){
 		add_lysearchInfo.value = orderSearchdata.data[0]['订单编号']
 		ddhformData.ddh = orderSearchdata.data[0]['订单编号']