1. add express fill
This commit is contained in:
2026-03-14 13:19:37 +08:00
parent bd9fa0f0f3
commit 5b0152b83c
2 changed files with 4 additions and 3 deletions

View File

@@ -42,6 +42,7 @@ export default {
label: "订单类型", label: "订单类型",
prop: "orderType", prop: "orderType",
type: "input", type: "input",
hide: true,
}, },
{ {
label: "商品编号", label: "商品编号",

View File

@@ -290,8 +290,8 @@ import {getList, getDetail, add, update, remove, confirmPayment, fillExpress} fr
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
inputPlaceholder: '例如:SF123456789CN', inputPlaceholder: '例如:SF123456789CN',
inputPattern: /SF\d{10,}/, // 可选:正则校验 // inputPattern: /^[a-zA-Z0-9]{8,20}$/, // 可选:正则校验
inputErrorMessage: '快递单号格式不正确' // inputErrorMessage: '快递单号格式不正确'
}).then(({ value }) => { }).then(({ value }) => {
fillExpress(row.id, value) fillExpress(row.id, value)
// 用户点击“确定” // 用户点击“确定”
@@ -355,7 +355,7 @@ import {getList, getDetail, add, update, remove, confirmPayment, fillExpress} fr
exportOrderSubmit(form, done){ exportOrderSubmit(form, done){
NProgress.start(); NProgress.start();
exportBlob( exportBlob(
`/common/order/exportOrderToExcel?${ `/common/order/export-order-to-excel?${
this.website.tokenHeader this.website.tokenHeader
}=${getToken()}&account=${form.account}&searchDateRange=${form.searchDateRange}` }=${getToken()}&account=${form.account}&searchDateRange=${form.searchDateRange}`
).then(res => { ).then(res => {