举手免责页面调整

dev-scheduling
zhangdi 1 month ago
parent fffbafcc62
commit 899352e8e5
  1. 6
      src/api/productionManagement/sjKitPreparation.js
  2. 2
      src/api/workRate/index.js
  3. 3
      src/views/productionManagement/sinTerWorkOrder/index.vue
  4. 15
      src/views/productionManagement/sjKitPreparation/index.vue
  5. 14
      src/views/workRate/index.vue
  6. 4
      vite.config.mjs

@ -31,11 +31,11 @@ export const sendKit = (params) => {
}; };
// 生成车间订单 pdaLoad/loadBigWmsSend // 生成车间订单
export const loadBigWmsSend = (params) => { export const loadBigWmsSend = (params) => {
return request({ return request({
url: '/blade-desk/pdaLoad/loadBigWmsSend', url: '/blade-desk/workOrder/generateWorkOrder',
method: 'post', method: 'post',
data: params, params: params,
}); });
}; };

@ -1,7 +1,7 @@
import request from '@/axios'; import request from '@/axios';
export const getOrderDetail = (params) => { export const getOrderDetail = (params) => {
return request({ return request({
url: '/blade-desk//workOrder/getOrderDetail', url: '/blade-desk/workOrder/getOrderDetail',
method: 'get', method: 'get',
params: params, params: params,
}); });

@ -52,7 +52,8 @@
> >
</template> </template>
</avue-crud> </avue-crud>
<el-dialog append-to-body v-model="printDialog" title="打印标签"> <!-- 打印标签 -->
<el-dialog append-to-body v-model="printDialog" title="打印标签" width="20%">
<el-form ref="printForm" :model="printForm" :rules="printRules"> <el-form ref="printForm" :model="printForm" :rules="printRules">
<el-form-item label="数量" prop="quantity"> <el-form-item label="数量" prop="quantity">
<el-input <el-input

@ -38,7 +38,7 @@
>发送</el-button >发送</el-button
> >
<!-- 车间订单生成 --> <!-- 车间订单生成 -->
<el-button v-if="scope.row.sjKitPreparation == 2" type="text" @click="orderGen(scope.row.id)" <el-button v-if="scope.row.sjKitPreparation == 2" type="text" @click="orderGen(scope.row)"
>车间订单生成</el-button >车间订单生成</el-button
> >
</template> </template>
@ -91,7 +91,7 @@ export default {
delBtn: false, delBtn: false,
editBtnText: '修改', editBtnText: '修改',
labelWidth: 120, labelWidth: 120,
menuWidth: 120, menuWidth: 140,
dialogWidth: 900, dialogWidth: 900,
dialogClickModal: false, dialogClickModal: false,
searchEnter: true, searchEnter: true,
@ -298,7 +298,7 @@ export default {
}); });
}, },
// //
orderGen(cardNo) { orderGen(row) {
this.$confirm('生成车间订单?', '提示', { this.$confirm('生成车间订单?', '提示', {
confirmButtonText: '确认', confirmButtonText: '确认',
cancelButtonText: '取消', cancelButtonText: '取消',
@ -306,14 +306,15 @@ export default {
}) })
.then(() => { .then(() => {
this.loading = true; this.loading = true;
loadBigWmsSend({ yoId: yoId }).then(res => { loadBigWmsSend({ id: row.id }).then(res => {
this.$message.success('操作成功'); this.$message.success('操作成功');
this.onLoad(this.page, this.query); this.onLoad(this.page, this.query);
}); });
}) })
.catch(() => { // .catch(() => {
this.$message.info('已取消'); // // this.$message.info('');
}); // this.onLoad(this.page, this.query);
// });
}, },
searchReset() { searchReset() {

@ -290,16 +290,16 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
// rowItem: { rowItem: {
// type: Object, type: Object,
// default: () => {}, default: () => {},
// }, },
}, },
components: { contentView }, components: { contentView },
data() { data() {
return { return {
selectedItemId: null, selectedItemId: null,
rowItem: {}, // rowItem: {},
activeName: '1', activeName: '1',
openShow: false, openShow: false,
dsPart: {}, dsPart: {},
@ -320,7 +320,9 @@ export default {
mounted() { mounted() {
this.openShow = this.showDialog; this.openShow = this.showDialog;
this.height = document.body.clientHeight - 100; this.height = document.body.clientHeight - 100;
// new MoveElement(this.$refs.pointView); console.log(this.rowItem,'rowItem');
this.getOrderDetail();
this.$nextTick(() => { this.$nextTick(() => {
const el = this.$refs.pointView; const el = this.$refs.pointView;
if (el) { if (el) {

@ -64,12 +64,12 @@ export default ({ mode, command }) => {
// target: 'http://192.168.1.5:82', // target: 'http://192.168.1.5:82',
// target: "http://192.168.1.4:82", // target: "http://192.168.1.4:82",
// target:'http://49.232.74.228:82', // target:'http://49.232.74.228:82',
// target: "http://192.168.0.103", target: "http://192.168.0.7",
//target: 'https://saber3.bladex.cn/api', //target: 'https://saber3.bladex.cn/api',
// target: 'http://49.232.74.228:82', // target: 'http://49.232.74.228:82',
// target: "http:192.168.0.220:80", // target: "http:192.168.0.220:80",
// target: 'http:49.232.74.228:49', // target: 'http:49.232.74.228:49',
target: 'http://49.232.74.228:80', //测试环境的地址 // target: 'http://49.232.74.228:80', //测试环境的地址
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''), rewrite: path => path.replace(/^\/api/, ''),
}, },

Loading…
Cancel
Save