shaogen1995 1 月之前
父節點
當前提交
e9031887e7

+ 2 - 2
public/index.html

@@ -12,8 +12,8 @@
 
     <script>
       // 域名地址
-      const baseUrlTempOne = 'https://sit-yiwubwg.4dage.com'
-      // const baseUrlTempOne = 'http://192.168.20.61:8096'
+      // const baseUrlTempOne = 'https://sit-yiwubwg.4dage.com'
+      const baseUrlTempOne = 'http://192.168.20.61:8096'
 
       // 钉钉模式
       const isDingTemp = false

+ 1 - 1
src/components/Zexport/index.tsx

@@ -34,7 +34,7 @@ function Zexport() {
 
     const resData = exInfo.data.map(v => ({
       ...v,
-      date: v.date ? v.date.replace('00:00:00', '') : ''
+      date: v.date ? dayjs(v.date).format('YYYY-MM-DD') : ''
     }))
 
     // if (1 + 1 === 2) {

+ 3 - 1
src/pages/D_storeManage/D1storage/D1goods/index.tsx

@@ -184,7 +184,9 @@ function D1goods({ lookData, TreeDom, tableId }: Props) {
           <span className='D1GtRowTxt'>库存状态:</span>
           <Select
             allowClear={true}
-            options={selectObj['库存状态']}
+            options={selectObj['库存状态'].filter(v =>
+              ['已入库', '待出库', '盘点中'].includes(v.label)
+            )}
             style={{ width: 160 }}
             value={formData.statusStorage}
             placeholder='全部'

+ 3 - 1
src/pages/D_storeManage/D4impStor/D4edit/index.tsx

@@ -621,7 +621,9 @@ function D4edit() {
 
                   return txt.toLowerCase().includes(input.toLowerCase())
                 }}
-                options={relatedOrderNumArr.map(v => ({ label: v.num, value: v.num }))}
+                options={relatedOrderNumArr
+                  .filter(c => c.status === 4)
+                  .map(v => ({ label: v.num, value: v.num }))}
                 // fieldNames={{ label: 'num', value: 'num' }}
                 allowClear={true}
                 value={topInfo.relatedOrderNum || null}