|
|
|
@ -66,6 +66,7 @@
|
|
|
|
|
prefix-icon="Calendar" |
|
|
|
|
type="datetime" |
|
|
|
|
placeholder="创建时间" |
|
|
|
|
value-format="YYYY-MM-DD HH:mm:ss" |
|
|
|
|
:clearable="false" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
@ -2353,7 +2354,7 @@ const onEditLoad = async () => {
|
|
|
|
|
|
|
|
|
|
details.query.openOrderUserName = details.query.agent; |
|
|
|
|
details.query.queryDestinationWarehouseName = details.query.destinationWarehouseName; |
|
|
|
|
details.query.openOrderDate = data.warehouseWaybill.createTime; |
|
|
|
|
details.query.openOrderDate = data.warehouseWaybill.documentMakingTime; |
|
|
|
|
details.query.orderCode = data.warehouseWaybill.orderNo; |
|
|
|
|
details.query.transportType = details.query.transportType ? details.query.transportType : '1'; |
|
|
|
|
details.query.receipt = data.warehouseWaybill.receipt |
|
|
|
@ -3774,6 +3775,7 @@ const getTranslationArr = codeArr => {
|
|
|
|
|
|
|
|
|
|
/** 提交 */ |
|
|
|
|
const handleSubmit = (formEl: FormInstance | undefined) => { |
|
|
|
|
console.log('details.form :>> ', details.query.openOrderDate); |
|
|
|
|
if (!formEl) return; |
|
|
|
|
formEl.validate(async valid => { |
|
|
|
|
if (!valid) return false; |
|
|
|
@ -3782,6 +3784,8 @@ const handleSubmit = (formEl: FormInstance | undefined) => {
|
|
|
|
|
|
|
|
|
|
const timer = setTimeout(async () => { |
|
|
|
|
try { |
|
|
|
|
if (!details.query.openOrderDate) return ElMessage.warning('请选择制单时间'); |
|
|
|
|
|
|
|
|
|
// if (!details.query.shipperId) |
|
|
|
|
// return ElMessage.warning('未选择系统内维护的发货单位,请选择或维护'); |
|
|
|
|
// if (!details.query.consigneeId) |
|
|
|
|