|
@@ -589,7 +589,7 @@ export default {
|
|
|
let dataURL = CANVAS.toDataURL("image/jpg")
|
|
|
node.src = dataURL
|
|
|
|
|
|
- if (that.detail.status == '新建') {
|
|
|
+ if (that.detail.status == '新建' || this.$route.query.action == 1) {
|
|
|
that.submit()
|
|
|
} else {
|
|
|
domtoimage.toJpeg(that.$refs.container,{
|
|
@@ -662,7 +662,7 @@ export default {
|
|
|
"content": {
|
|
|
"ownertable": "sa_workorder_confirmation",
|
|
|
"ownerid": this.$route.query.ownerid,
|
|
|
- "usetype": "default",
|
|
|
+ "usetype": "comfirmbill",
|
|
|
"attachmentids": [
|
|
|
res.data.attachmentids[0]
|
|
|
]
|