Browse Source

2023-4-19

codeMan 2 years ago
parent
commit
6288014c51

File diff suppressed because it is too large
+ 1 - 15618
package-lock.json


+ 14 - 0
src/HDrpManagement/serveWorkBill/modules/checkBill/index.vue

@@ -22,6 +22,7 @@
         </template>
         <template v-slot:opreation="scope">
           <slot name="download" :data="scope.data"></slot>
+          <el-button type="text" size="mini" @click="compile(scope.data)">单据生成</el-button>
         </template>
       </tableLayout>
     </div>
@@ -64,6 +65,8 @@ export default {
       options:[
       ],
       productList:'',
+      visible:false,
+      tableData:''
     }
   },
   methods:{
@@ -74,6 +77,17 @@ export default {
       this.total = res.total
       console.log(this.list)
     },
+    async compile (data) {
+      this.visible = true
+      let res = await this.$api.requested({
+        "accesstoken": "47c8f0fc1e89bf9c9977e36bd7f73351",
+        "id": "20230211105803",
+        "version":1,
+        "content": {
+            "sa_workorder_confirmationid":1
+        }
+      })
+    },
     handleSizeChange(val) {
       // console.log(`每页 ${val} 条`);
       this.params.content.pageSize = val

+ 0 - 0
src/HDrpManagement/serveWorkBill/modules/checkBill/printTable.vue


+ 2 - 10
src/views/printmodel/design/index.vue

@@ -825,8 +825,7 @@ export default {
 }
 </script>
 
-<style lang="less" scoped>
-// 拖拽
+<style scoped>
 .drag_item_box {
   height: 100%;
   padding: 6px;
@@ -860,14 +859,8 @@ export default {
   font-weight: bold;
 }
 
-// 默认图片
-/deep/ .hiprint-printElement-image-content {
-  img {
-    // content: url("~@/assets/logo.png");
-  }
-}
 
-// 辅助线样式
+
 /deep/ .toplineOfPosition {
   border: 0;
   border-top: 1px dashed purple;
@@ -888,7 +881,6 @@ export default {
   border-left: 1px dashed purple;
 }
 
-// 设计容器
 .card-design {
   overflow: hidden;
   overflow-x: auto;

Some files were not shown because too many files changed in this diff