Commit 814bb5c4 by linjinhong

Merge remote-tracking branch 'origin/master' into test

parents 37efd092 2d7fbf18
{
"apiApiHost":"http://10.168.31.142:8060/api",
"fileApiUrl":"http://10.168.31.142:80/upload/factory",
"visionUrl":"https://console.jomalls.com"
"apiApiHost":"http://10.168.31.142:8060/api",
"fileApiUrl":"http://10.168.31.142:80/upload/factory",
"visionUrl":"https://console.jomalls.com"
}
......@@ -2,7 +2,7 @@
"name": "JomallProductionAssistant",
"productName": "JomallProductionAssistant",
"description": "",
"version": "1.0.7",
"version": "1.0.8",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
......
......@@ -672,6 +672,11 @@ export default {
});
break;
case "sendFile":
if (size.width && size.height) {
this.hasSize = true;
} else {
this.hasSize = false;
}
this.imgList = [];
this.selectIndex = -1;
if (value.length > 0) {
......@@ -779,6 +784,12 @@ export default {
</div>
</div>
<img class="template-img" draggable="false" :src="img" alt="" />
<div class="print-tip" v-if="imgList.length">
<b style="color: green" v-if="hasSize"
>该生产单无需拖动设计,直接打印</b
>
<b style="color: red" v-else>该生产单需要拖动设计打印</b>
</div>
</div>
<print-dialog
......@@ -840,6 +851,12 @@ export default {
</template>
<style lang="less" scoped>
.print-tip {
position: absolute;
bottom: 130px;
font-size: 24px;
left: 35%;
}
.page-main {
flex: 1;
flex-shrink: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment