Compare commits

...

2 Commits

Author SHA1 Message Date
雷欧(林平凡)
645eac253c 1 2025-09-18 17:05:36 +08:00
雷欧(林平凡)
63d523566d 1 2025-09-18 17:05:33 +08:00
2 changed files with 30 additions and 5 deletions

View File

@@ -11,8 +11,10 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="run" :loading="loading">执行</el-button> <el-button type="primary" @click="run" :loading="loading">执行</el-button>
<el-button @click="fillMenu"></el-button> <el-button @click="fillMan"></el-button>
<el-button @click="clearAll">清空</el-button> <el-button @click="fillTF">TF</el-button>
<el-button @click="fillSheng"></el-button>
<el-button type="danger" @click="clearAll">清空</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
@@ -97,9 +99,16 @@ export default {
this.$modal.msgError('执行失败,请稍后重试') this.$modal.msgError('执行失败,请稍后重试')
}) })
}, },
fillMenu() { fillTF() {
this.form.command = '京菜单' this.form.command = 'TF'
}, },
fillSheng() {
this.form.command = '生'
},
fillMan() {
this.form.command = '慢单'
},
clearAll() { clearAll() {
this.form.command = '' this.form.command = ''
this.resultList = [] this.resultList = []

View File

@@ -45,7 +45,22 @@
<el-table-column label="ID" prop="id" width="80" /> <el-table-column label="ID" prop="id" width="80" />
<el-table-column label="内部单号" prop="remark" width="160" sortable/> <el-table-column label="内部单号" prop="remark" width="160" sortable/>
<el-table-column label="订单号" prop="orderId" width="160"/> <el-table-column label="订单号" prop="orderId" width="200">
<template slot-scope="scope">
<div>
<span style="margin-right: 8px;">{{ scope.row.orderId }}</span>
<el-button
type="text"
size="mini"
icon="el-icon-copy-document"
@click="copyToClipboard(scope.row.orderId)"
title="复制订单号"
>
复制
</el-button>
</div>
</template>
</el-table-column>
<el-table-column label="标记" prop="distributionMark" width="80"/> <el-table-column label="标记" prop="distributionMark" width="80"/>
<el-table-column label="型号" prop="modelNumber" width="180"/> <el-table-column label="型号" prop="modelNumber" width="180"/>
<el-table-column label="地址" prop="address" min-width="280" show-overflow-tooltip/> <el-table-column label="地址" prop="address" min-width="280" show-overflow-tooltip/>
@@ -234,6 +249,7 @@ export default {
document.body.removeChild(textArea) document.body.removeChild(textArea)
} }
} }
} }
</script> </script>