|
@@ -118,6 +118,7 @@
|
|
|
import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue';
|
|
|
import { JDictSelectTag} from '/@/components/Form';
|
|
|
import { Form, message } from 'ant-design-vue';
|
|
|
+ import { useUserStore } from '/@/store/modules/user';
|
|
|
import moment from 'moment';
|
|
|
const useForm = Form.useForm;
|
|
|
export default defineComponent({
|
|
@@ -140,6 +141,7 @@
|
|
|
},
|
|
|
emits:['success'],
|
|
|
setup(props, {emit}) {
|
|
|
+ const userStore = useUserStore();
|
|
|
const loading = ref(false);
|
|
|
const formRef = ref();
|
|
|
const purInShipTableRef = ref();
|
|
@@ -206,6 +208,8 @@
|
|
|
purInShipTable.dataSource = [];
|
|
|
stockOutTable.dataSource = [];
|
|
|
activeKey.value = 'stockOut'
|
|
|
+ formData.salesman=userStore.getUserInfo.username;
|
|
|
+ formData.saleDepartment = userStore.getUserInfo.orgCode
|
|
|
}
|
|
|
async function edit(row) {
|
|
|
//主表数据
|