Jelajahi Sumber

生产管理

liuhairui 1 tahun lalu
induk
melakukan
328c282ac0

+ 6 - 6
src/view/performance/jjgzzhys.vue

@@ -111,12 +111,12 @@ const jjgzzhysclick = async () => {
   };
   console.log(formattedData)
   //目前没有接口,先不用调用
-  // const staffSalaryCount_add = await staffSalaryCount(formattedData);
-  // if (staffSalaryCount_add.code === 0) {
-  //   ElMessage({type: 'success',message: '更新成功'})
-  // } else {
-  //   ElMessage({type: 'error',message: '更新失败'})
-  // }
+  const staffSalaryCount_add = await staffSalaryCount(formattedData);
+  if (staffSalaryCount_add.code === 0) {
+    ElMessage({type: 'success',message: '更新成功'})
+  } else {
+    ElMessage({type: 'error',message: '更新失败'})
+  }
 };
 </script>
 <style scoped>

+ 7 - 2
src/view/yunyin/shengchanguanli/gongdanziliao.vue

@@ -1891,7 +1891,9 @@ const cpdh_ProductValue = async (v) => {
 const _gClientList = async (v = '')=>{
   try {
       const ClientListdata = await ClientList({search: v});
-      khdhDataList.value = ClientListdata.data
+    console.log("客户列表数据↓↓↓↓↓↓↓↓")
+    console.log(ClientListdata)
+    khdhDataList.value = ClientListdata.data
   } catch (error) {
     console.error(error);
   }
@@ -1900,7 +1902,9 @@ const _gClientList = async (v = '')=>{
 const _ProductCodeList = async (v = '')=>{
   try {
       const ProductCodeListdata = await ProductCodeList({cilent: v});
-      cpdhDataList.value = ProductCodeListdata.data
+    console.log("产品代号列表数据↓↓↓↓↓↓↓↓")
+    console.log(ProductCodeListdata)
+    cpdhDataList.value = ProductCodeListdata.data
   } catch (error) {
     console.error(error);
   }
@@ -1966,6 +1970,7 @@ const add_gdzlent = async (event,id1,id2,id3) => {
   }
 
   if (id2 === '客户代号' && event.key==='Tab' || id2 === '客户代号' && event.key=== 'Enter') {
+    khdhModal.value = true
     await _gClientList(add_gdscgdformData['客户代号'])
     if (khdhDataList.value != null) {
       const row = khdhDataList.value.find(item => item.客户编号 === add_gdscgdformData['客户代号'])