liuhairui 1 år sedan
förälder
incheckning
cf775bcef6

+ 12 - 2
src/view/performance/12-orderAccounting/componets/hjfpfb.vue

@@ -44,6 +44,14 @@
               >刷新
               </el-button>
             </el-form-item>
+			
+			<el-form-item label="印件名称">
+			  <el-input
+			    v-model="form.jjcp_yjno"
+			    readonly
+			    style="width: 100px;"
+			  />
+			</el-form-item>
 
             <el-form-item label="印件名称">
               <el-input
@@ -139,10 +147,11 @@ export const getWasteDistribution = (params) => {
 import * as echarts from 'echarts'
 import { nextTick, onMounted, onUnmounted, ref, shallowRef, defineProps, defineEmits } from 'vue'
 
-const props = defineProps(['modelValue', 'val'])
+const props = defineProps(['modelValue', 'val','jjcp_yjno'])
 const emits = defineEmits(['update:modelValue'])
 const form = ref({
   gdbh: props['val'],
+  jjcp_yjno: props['jjcp_yjno'],
 })
 
 const tableColumns = ref([
@@ -159,7 +168,8 @@ const handleExcel = () => {
 
 const handleSearch = async() => {
   const order = form.value['gdbh']
-  const res = await getWasteDistribution({ order })
+  const jjcp_yjno = props.jjcp_yjno;
+  const res = await getWasteDistribution({ order,jjcp_yjno })
   if (res['code'] === 0) {
     console.log(res['data'])
     form.value = {

+ 1 - 0
src/view/performance/12-orderAccounting/index.vue

@@ -77,6 +77,7 @@
               v-if="dialogHjfpfb"
               v-model="dialogHjfpfb"
               :val="gdbh"
+			   :jjcp_yjno="jjcp_yjno"
             />
 
             <!-- 工单打印 -->