|
@@ -128,7 +128,7 @@
|
|
|
import { filterObj, getFileAccessHttpUrl } from '/@/utils/common/compUtils';
|
|
|
import { JDictSelectTag} from '/@/components/Form';
|
|
|
import JSelectInput from '/@/components/Form/src/jeecg/components/JSelectInput.vue';
|
|
|
- const emit = defineEmits([ 'selectQuotation']); //定义emit
|
|
|
+ const emit = defineEmits([ 'selectSaleOrder']); //定义emit
|
|
|
let classOption = ref([])
|
|
|
var visible = ref(false)
|
|
|
var fatherProject = ref('')
|
|
@@ -319,9 +319,9 @@
|
|
|
params.pageNo = pagination.value.current;
|
|
|
params.pageSize = pagination.value.pageSize;
|
|
|
if(fatherProject.value&&fatherProject.value!==''){
|
|
|
- queryParams.value.quotationProject = fatherProject.value
|
|
|
+ queryParams.value.project = fatherProject.value
|
|
|
}else {
|
|
|
- queryParams.value.quotationProject = ''
|
|
|
+ queryParams.value.project = params.project
|
|
|
}
|
|
|
return filterObj(params);
|
|
|
}
|
|
@@ -399,9 +399,27 @@
|
|
|
}
|
|
|
}
|
|
|
function handleCancel(){
|
|
|
- visible.value = false
|
|
|
- selectedRowKeys.value = []
|
|
|
- selectedRows.value=[]
|
|
|
+ visible.value = false
|
|
|
+ selectedRowKeys.value = []
|
|
|
+ selectedRows.value=[]
|
|
|
+ billDate.value = []
|
|
|
+ queryParams.value = {
|
|
|
+ billCode:'',
|
|
|
+ project:'',
|
|
|
+ projectName:'',
|
|
|
+ productionClass:'',
|
|
|
+ priority:'',
|
|
|
+ customer:'',
|
|
|
+ customerName:'',
|
|
|
+ headModel:'',
|
|
|
+ englishName:'',
|
|
|
+ productCode:'',
|
|
|
+ childModel:'',
|
|
|
+ billDate_begin:'',
|
|
|
+ billDate_end:'',
|
|
|
+ saleDepartment:'',
|
|
|
+ salesman:'',
|
|
|
+ }
|
|
|
}
|
|
|
function getTable(formData){
|
|
|
visible.value = true
|