Compare commits
2 Commits
207c68c121
...
645eac253c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
645eac253c | ||
|
|
63d523566d |
@@ -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 = []
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user