物流配送调整

dev-scheduling
zhangdi 1 month ago
parent 576d06075c
commit ad99b9671e
  1. 3
      src/views/logisticsManagement/components/returnDialog.vue
  2. 14
      src/views/logisticsManagement/components/unbindDialog.vue
  3. 2
      src/views/processManagement/components/processMainte/dsPartBasicInfo.vue

@ -99,8 +99,7 @@ export default {
this.submitLoading = true; this.submitLoading = true;
let params = { let params = {
boxBarcode: this.form.boxBarcode, boxBarcode: this.form.boxBarcode,
stationCode: this.form.stationCode, startStationCode: this.form.stationCode,
endWcId: this.form.endLocationId, endWcId: this.form.endLocationId,
}; };

@ -26,7 +26,7 @@
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import { boxBinding, getOrderInfo } from '@/api/logisticsManagement/materialPacking'; import { boxBinding, getOrderInfo,boxUnbind } from '@/api/logisticsManagement/materialPacking';
export default { export default {
props: { props: {
showDialog: { showDialog: {
@ -92,18 +92,18 @@ export default {
submit() { submit() {
this.$refs.form.validate(async valid => { this.$refs.form.validate(async valid => {
if (valid) { if (valid) {
if (this.orderIdList.length === 0) { // if (this.orderIdList.length === 0) {
this.$message.warning('请至少添加一个流程卡号'); // this.$message.warning('');
return; // return;
} // }
this.submitLoading = true; this.submitLoading = true;
let params = { let params = {
boxBarcode: this.form.boxBarcode, boxBarcode: this.form.boxBarcode,
orderList: this.orderIdList, // orderList: this.orderIdList,
}; };
boxBinding(params) boxUnbind(params)
.then(res => { .then(res => {
this.$message.success('操作成功'); this.$message.success('操作成功');
this.submitLoading = false; this.submitLoading = false;

@ -320,7 +320,7 @@
>喷码</el-checkbox >喷码</el-checkbox
> >
</div> </div>
<div style="width: 100%" v-if="formData.goldMark"> <div style="width: 100%" v-if="formData.goldMark&&partType == '热表'">
<el-text class="mx-1" type="danger">本零件需要编制一级和二级工艺</el-text> <el-text class="mx-1" type="danger">本零件需要编制一级和二级工艺</el-text>
</div> </div>
</el-form-item> </el-form-item>

Loading…
Cancel
Save