feat(钢卷发货): 新增钢卷发货功能并优化相关界面
- 新增钢卷发货API接口及前端调用 - 将发货操作从状态更新改为专用发货接口 - 移除状态选择列并添加发货按钮 - 更新后端控制器注释和方法类型
This commit is contained in:
@@ -185,7 +185,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { updateMaterialCoilSimple, getMaterialCoil } from '@/api/wms/coil'
|
||||
import { exportCoil, getMaterialCoil } from '@/api/wms/coil'
|
||||
import { listPendingAction, addPendingAction } from '@/api/wms/pendingAction'
|
||||
import MaterialSelect from "@/components/KLPService/MaterialSelect";
|
||||
import ActualWarehouseSelect from "@/components/KLPService/ActualWarehouseSelect";
|
||||
@@ -305,11 +305,7 @@ export default {
|
||||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
this.buttonLoading = true;
|
||||
updateMaterialCoilSimple({
|
||||
...this.form,
|
||||
coilId: this.form.coilId,
|
||||
status: 1
|
||||
}).then(response => {
|
||||
exportCoil(this.form.coilId).then(response => {
|
||||
addPendingAction({
|
||||
actionType: 402,
|
||||
currentCoilNo: this.form.currentCoilNo,
|
||||
|
||||
Reference in New Issue
Block a user