zck 9 月之前
父節點
當前提交
a7dbe146c8
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/view/performance/chukubaogong.vue

+ 7 - 1
src/view/performance/chukubaogong.vue

@@ -95,7 +95,7 @@
   				  :row-style="{ height: '0px' }"  :header-cell-style="{ padding: '0px' }"
   				  :cell-style="{ padding: '0px' }" :header-row-style="{ height: '0px' }"
     		          style="width: 100%;height: 25vh" border tooltip-effect="dark"
-    		          :data="resbomtableData" row-key="ID"
+    		          :data="FabriccollartableData" row-key="ID"
     		          :cell-class-name="scfjfpxsCellClass">
     		  <template v-for="(item, idx) in resbom_tableColumns">
     		    <el-table-column #default="{ row, column, $index }" align="left" :label="item.label" :width="item.width" >
@@ -246,6 +246,7 @@ const add_onSubmit = async ()=>{
 //===========报工==========
 const res_bomdialogFormVisible = ref(false)
 const resbomtableData = ref([]);
+const FabriccollartableData = ref([]);
 const ddhformData = reactive({
   ddh: '',
   kh:'',
@@ -376,6 +377,11 @@ const res_bomcloseDialog = () => {
 	res_bomdialogFormVisible.value = false;
 }
 
+// 增加至领用页
+const print_lingyong = async () => {
+	FabriccollartableData.value.push(...resbomtableData.value)
+}
+
 
 //=============出库退还记录==================
 const cktableData = reactive([])